/[gentoo-x86]/media-gfx/evoluspencil/evoluspencil-2.0.3.ebuild
Gentoo

Contents of /media-gfx/evoluspencil/evoluspencil-2.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Aug 28 11:51:58 2013 UTC (6 years, 10 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/evoluspencil/evoluspencil-2.0.3.ebuild,v 1.2 2013/02/03 02:51:03 jdhore Exp $
4
5 EAPI=5
6 MY_P="pencil-${PV}"
7
8 inherit fdo-mime
9
10 DESCRIPTION="A simple GUI prototyping tool to create mockups."
11 HOMEPAGE="http://pencil.evolus.vn/"
12 SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 RDEPEND="|| ( www-client/firefox www-client/firefox-bin )"
20
21 S=${WORKDIR}/${MY_P}
22
23 src_prepare() {
24 # avoid file collisions with media-gfx/pencil
25 mv usr/bin/{pencil,${PN}} || die
26 mv usr/share/{pencil,${PN}} || die
27 mv usr/share/applications/{pencil,${PN}}.desktop || die
28
29 sed -e "s/pencil/${PN}/" -i usr/bin/${PN} \
30 -i usr/share/applications/${PN}.desktop || die
31
32 sed -e 's/xulrunner/firefox/' -i usr/bin/${PN} || die
33 }
34
35 src_install() {
36 doins -r usr
37 fperms +x /usr/bin/${PN}
38 }
39
40 pkg_postinst() {
41 fdo-mime_desktop_database_update
42 }
43
44 pkg_postrm() {
45 fdo-mime_desktop_database_update
46 }

  ViewVC Help
Powered by ViewVC 1.1.20