/[gentoo-x86]/x11-wm/ion/ion-20020207-r1.ebuild
Gentoo

Contents of /x11-wm/ion/ion-20020207-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat May 24 00:10:53 2003 UTC (17 years, 2 months ago) by hanno
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.5: +5 -5 lines
fixed ion license var

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/x11-wm/ion/ion-20020207-r1.ebuild,v 1.5 2003/02/13 17:49:55 vapier Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="A keyboard-based window manager"
7 SRC_URI="http://www.students.tut.fi/~tuomov/dl/${P}.tar.gz"
8 HOMEPAGE="http://www.students.tut.fi/~tuomov/ion/"
9 IUSE=""
10 SLOT="0"
11 LICENSE="Clarified-Artistic"
12 KEYWORDS="x86 ~ppc sparc"
13
14 DEPEND="virtual/x11"
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S}
19 patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die
20 }
21
22
23 src_compile() {
24 # Edit system.mk
25 cp system.mk system.mk.new
26 sed -e 's:PREFIX=/usr/local:PREFIX=/usr:' \
27 -e 's:ETCDIR=$(PREFIX)/etc:ETCDIR=/etc/X11:' \
28 -e 's:$(PREFIX)/man:$(PREFIX)/share/man:' \
29 -e 's:$(PREFIX)/doc:$(PREFIX)/share/doc:' \
30 -e 's:#HAS_SYSTEM_ASPRINTF=1:HAS_SYSTEM_ASPRINTF=1:' \
31 -e 's:#INSTALL=install -c:INSTALL=install -c:' \
32 -e 's:INSTALL=install *$:#INSTALL=install:' \
33 system.mk.new > system.mk
34
35 cp Makefile Makefile.new
36 sed -e 's:$(DOCDIR)/ion:$(DOCDIR)/${P}:g' Makefile.new > Makefile
37
38 make depend || die
39 emake || die
40 }
41
42 src_install () {
43 make PREFIX=${D}/usr ETCDIR=${D}/etc/X11 install || die
44 }
45
46 pkg_postinst () {
47 einfo "Configuration documentation can be found in these places:"
48 einfo "/usr/share/doc/${P}/config.txt"
49 einfo "http://www.students.tut.fi/~tuomov/ion/resources.html"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20