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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Jun 12 19:10:02 2003 UTC (17 years, 1 month ago) by msterret
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.9: +1 -0 lines
add Header

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
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 DEPEND="virtual/glibc"
10 RDEPEND="virtual/x11"
11 LICENSE="Clarified-Artistic"
12 SLOT="0"
13 KEYWORDS="x86 sparc "
14
15 src_compile() {
16 cd ${S}
17
18 # Edit system.mk
19 cp system.mk system.mk.new
20 sed -e 's:PREFIX=/usr/local:PREFIX=/usr:' \
21 -e 's:ETCDIR=$(PREFIX)/etc:ETCDIR=/etc/X11:' \
22 -e 's:$(PREFIX)/man:$(PREFIX)/share/man:' \
23 -e 's:$(PREFIX)/doc:$(PREFIX)/share/doc:' \
24 -e 's:#HAS_SYSTEM_ASPRINTF=1:HAS_SYSTEM_ASPRINTF=1:' \
25 -e 's:#INSTALL=install -c:INSTALL=install -c:' \
26 -e 's:INSTALL=install *$:#INSTALL=install:' \
27 system.mk.new > system.mk
28
29 cp Makefile Makefile.new
30 sed -e 's:$(DOCDIR)/ion:$(DOCDIR)/${P}:g' Makefile.new > Makefile
31
32 make depend || die
33 emake || die
34 }
35
36 src_install () {
37 make PREFIX=${D}/usr ETCDIR=${D}/etc/X11 install || die
38 }
39
40 pkg_postinst () {
41 einfo "Configuration documentation can be found in these places:"
42 einfo "/usr/share/doc/${P}/config.txt"
43 einfo "http://www.students.tut.fi/~tuomov/ion/resources.html"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20