diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-07-31 07:59:10 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-07-31 07:59:10 +0000 |
commit | 0c4e82eb94c8607266c7b222690609a887934cbf (patch) | |
tree | cb7373bb147fe9550a1fa8e0c6a732971db40c6f /x11-wm/ctwm/ctwm-3.7.ebuild | |
parent | ppc stable (diff) | |
download | gentoo-2-0c4e82eb94c8607266c7b222690609a887934cbf.tar.gz gentoo-2-0c4e82eb94c8607266c7b222690609a887934cbf.tar.bz2 gentoo-2-0c4e82eb94c8607266c7b222690609a887934cbf.zip |
Version bumped. Thanks to J. O. Aho <hanssen_dk@hotmail.com>; bug #99980.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-wm/ctwm/ctwm-3.7.ebuild')
-rw-r--r-- | x11-wm/ctwm/ctwm-3.7.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-wm/ctwm/ctwm-3.7.ebuild b/x11-wm/ctwm/ctwm-3.7.ebuild new file mode 100644 index 000000000000..2af123832f05 --- /dev/null +++ b/x11-wm/ctwm/ctwm-3.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 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.1 2005/07/31 07:59:10 usata 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/" + +SLOT="0" +KEYWORDS="~x86 ~ppc" +LICENSE="MIT" + +DEPEND="virtual/x11 + media-libs/jpeg" + +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 +} + +src_install() { + make BINDIR=/usr/bin \ + MANPATH=/usr/share/man \ + TWMDIR=/usr/share/${PN} \ + DESTDIR=${D} install || die + + make MANPATH=/usr/share/man \ + DOCHTMLDIR=/usr/share/doc/${PF}/html \ + DESTDIR=${D} install.man || die + + echo "#!/bin/sh" > ${T}/ctwm + echo "/usr/bin/ctwm" >> ${T}/ctwm + + exeinto /etc/X11/Sessions + doexe ${T}/ctwm + + dodoc CHANGES README* TODO* PROBLEMS + dodoc *.ctwmrc* +} |