diff options
author | David Shakaryan <omp@gentoo.org> | 2007-07-13 11:59:37 +0000 |
---|---|---|
committer | David Shakaryan <omp@gentoo.org> | 2007-07-13 11:59:37 +0000 |
commit | ac64f7c445d990c381e785356cce62738d265c03 (patch) | |
tree | 547dc090019e0334b298fe9c4eeb95653ecfda99 /x11-wm | |
parent | Remove older version. (diff) | |
download | gentoo-2-ac64f7c445d990c381e785356cce62738d265c03.tar.gz gentoo-2-ac64f7c445d990c381e785356cce62738d265c03.tar.bz2 gentoo-2-ac64f7c445d990c381e785356cce62738d265c03.zip |
Some fixes and general cleanup.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/ctwm/ChangeLog | 5 | ||||
-rw-r--r-- | x11-wm/ctwm/ctwm-3.7.ebuild | 52 |
2 files changed, 27 insertions, 30 deletions
diff --git a/x11-wm/ctwm/ChangeLog b/x11-wm/ctwm/ChangeLog index e8cb899b31d8..51d4d629338b 100644 --- a/x11-wm/ctwm/ChangeLog +++ b/x11-wm/ctwm/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-wm/ctwm # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ChangeLog,v 1.18 2007/07/13 11:51:06 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ChangeLog,v 1.19 2007/07/13 11:59:37 omp Exp $ + + 13 Jul 2007; David Shakaryan <omp@gentoo.org> ctwm-3.7.ebuild: + Some fixes and general cleanup. 13 Jul 2007; David Shakaryan <omp@gentoo.org> -ctwm-3.6-r1.ebuild: Remove older version. diff --git a/x11-wm/ctwm/ctwm-3.7.ebuild b/x11-wm/ctwm/ctwm-3.7.ebuild index f1726a2a917b..e6771878c939 100644 --- a/x11-wm/ctwm/ctwm-3.7.ebuild +++ b/x11-wm/ctwm/ctwm-3.7.ebuild @@ -1,55 +1,49 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ctwm-3.7.ebuild,v 1.7 2007/02/22 05:45:24 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ctwm-3.7.ebuild,v 1.8 2007/07/13 11:59:37 omp Exp $ inherit eutils -IUSE="" - -MY_P="${P/_/-}" -S=${WORKDIR}/${MY_P} - DESCRIPTION="A clean, light window manager." -SRC_URI="http://ctwm.free.lp.se/dist/${MY_P}.tar.gz" -#SRC_URI="http://ctwm.free.lp.se/preview/${MY_P}.tar.gz" HOMEPAGE="http://ctwm.free.lp.se/" +SRC_URI="http://ctwm.free.lp.se/dist/${P}.tar.gz" +LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ppc x86" -LICENSE="MIT" +IUSE="" -RDEPEND="|| ( ( - x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - x11-libs/libXext - x11-libs/libXpm ) - virtual/x11 )" +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt" DEPEND="${RDEPEND} - || ( ( - x11-proto/xproto - x11-proto/xextproto - app-text/rman - x11-misc/imake ) - virtual/x11 ) - media-libs/jpeg" + app-text/rman + media-libs/jpeg + x11-misc/imake + x11-proto/xextproto + x11-proto/xproto" src_compile() { - sed -i -e "s@\(CONFDIR =\).*@\1 /etc/X11/twm@g" Imakefile || die - cp Imakefile.local-template Imakefile.local || die - xmkmf || die - make TWMDIR=/usr/share/${PN} || die + sed -i -e "s@\(CONFDIR =\).*@\1 /etc/X11/twm@g" Imakefile \ + || die "sed failed" + + cp Imakefile.local-template Imakefile.local + + xmkmf || die "xmkmf failed" + make TWMDIR=/usr/share/${PN} || die "make failed" } src_install() { make BINDIR=/usr/bin \ MANPATH=/usr/share/man \ TWMDIR=/usr/share/${PN} \ - DESTDIR=${D} install || die + DESTDIR="${D}" install || die "make install failed" make MANPATH=/usr/share/man \ DOCHTMLDIR=/usr/share/doc/${PF}/html \ - DESTDIR=${D} install.man || die + DESTDIR="${D}" install.man || die "make install.man failed" echo "#!/bin/sh" > ${T}/ctwm echo "/usr/bin/ctwm" >> ${T}/ctwm |