diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-06 04:24:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-06 04:24:01 +0000 |
commit | cdad8cc1503508272afe435960943040cd4493a9 (patch) | |
tree | a68e1ad962d66a6856e510c06458281804738111 /app-misc/cmatrix | |
parent | Corrective patch for docbook errors. Closes bug #46692. (diff) | |
download | historical-cdad8cc1503508272afe435960943040cd4493a9.tar.gz historical-cdad8cc1503508272afe435960943040cd4493a9.tar.bz2 historical-cdad8cc1503508272afe435960943040cd4493a9.zip |
add inherit eutils
Diffstat (limited to 'app-misc/cmatrix')
-rw-r--r-- | app-misc/cmatrix/cmatrix-1.2a.ebuild | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/app-misc/cmatrix/cmatrix-1.2a.ebuild b/app-misc/cmatrix/cmatrix-1.2a.ebuild index b31b4495482a..99680cbb6ece 100644 --- a/app-misc/cmatrix/cmatrix-1.2a.ebuild +++ b/app-misc/cmatrix/cmatrix-1.2a.ebuild @@ -1,13 +1,15 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/cmatrix/cmatrix-1.2a.ebuild,v 1.9 2004/03/30 00:22:22 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/cmatrix/cmatrix-1.2a.ebuild,v 1.10 2004/04/06 04:11:16 vapier Exp $ + +inherit eutils DESCRIPTION="An ncurses based app to show a scrolling screen from the Matrix" HOMEPAGE="http://www.asty.org/cmatrix" SRC_URI="http://www.asty.org/${PN}/dist/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="x86 ~amd64 sparc" IUSE="X" @@ -24,15 +26,10 @@ src_unpack() { automake } -src_compile() { - econf - emake || die -} - src_install() { dodir /usr/share/consolefonts dodir /usr/lib/kbd/consolefonts - if [ `use X` ] ; then + if use X ; then dodir /usr/lib/X11/fonts/misc dodir /usr/X11R6/lib/X11/fonts/misc fi @@ -40,15 +37,15 @@ src_install() { } pkg_postinst() { - if [ `use X` ] ; then - if test -d /usr/lib/X11/fonts/misc; then - einfo ">>> Running mkfontdir on /usr/lib/X11/fonts/misc" - mkfontdir /usr/lib/X11/fonts/misc + if use X ; then + if [ -d ${ROOT}/usr/lib/X11/fonts/misc ] ; then + einfo ">>> Running mkfontdir on ${ROOT}/usr/lib/X11/fonts/misc" + mkfontdir ${ROOT}/usr/lib/X11/fonts/misc fi - if test -d /usr/X11R6/lib/X11/fonts/misc; then - einfo ">>> Running mkfontdir on /usr/X11R6/lib/X11/fonts/misc" - mkfontdir /usr/X11R6/lib/X11/fonts/misc + if [ -d ${ROOT}/usr/X11R6/lib/X11/fonts/misc ] ; then + einfo ">>> Running mkfontdir on ${ROOT}/usr/X11R6/lib/X11/fonts/misc" + mkfontdir ${ROOT}/usr/X11R6/lib/X11/fonts/misc fi fi } |