diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-10 01:26:01 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-10 01:26:01 +0000 |
commit | eb5d214fa197f9218046a494ee521afd3b04f565 (patch) | |
tree | f013938415b2d07cccd90595e3097ce7cde4fcec /app-misc | |
parent | small fix in vim (diff) | |
download | gentoo-2-eb5d214fa197f9218046a494ee521afd3b04f565.tar.gz gentoo-2-eb5d214fa197f9218046a494ee521afd3b04f565.tar.bz2 gentoo-2-eb5d214fa197f9218046a494ee521afd3b04f565.zip |
new package
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/cmatrix/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/cmatrix/cmatrix-1.2a.ebuild | 60 | ||||
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch | 48 | ||||
-rw-r--r-- | app-misc/cmatrix/files/digest-cmatrix-1.2a | 1 |
4 files changed, 119 insertions, 0 deletions
diff --git a/app-misc/cmatrix/ChangeLog b/app-misc/cmatrix/ChangeLog new file mode 100644 index 000000000000..96931e835542 --- /dev/null +++ b/app-misc/cmatrix/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/cmatrix +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/cmatrix/ChangeLog,v 1.1 2002/07/10 01:26:01 seemant Exp $ + +*cmatrix-1.2a (09 Jul 2002) + + 09 Jul 2002; Seemant Kulleen <seemant@gentoo.org> cmatrix-1.2a.ebuild + ChangeLog files/digest-cmatrix-1.2a files/cmatrix-1.2a-gentoo.patch + + New package. diff --git a/app-misc/cmatrix/cmatrix-1.2a.ebuild b/app-misc/cmatrix/cmatrix-1.2a.ebuild new file mode 100644 index 000000000000..f947457920e9 --- /dev/null +++ b/app-misc/cmatrix/cmatrix-1.2a.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2002 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.1 2002/07/10 01:26:01 seemant Exp $ + +S=${WORKDIR}/${P} +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" +KEYWORDS="x86" + +DEPEND="X? ( virtual/x11 ) + sys-libs/ncurses" + +src_unpack() { + + unpack ${A} + + # patch Makefile.am to make sure the fonts installations don't violate the + # sandbox. + cd ${S} + patch -p1 < ${FILESDIR}/${P}-gentoo.patch || die + automake +} + +src_compile() { + + econf || die + emake || die +} + +src_install() { + + dodir /usr/share/consolefonts + dodir /usr/lib/kbd/consolefonts + use X && ( \ + dodir /usr/lib/X11/fonts/misc + dodir /usr/X11R6/lib/X11/fonts/misc + ) + make DESTDIR=${D} install || die + +} + +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 + 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 + fi + fi +} diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch new file mode 100644 index 000000000000..5f88cd0fa876 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch @@ -0,0 +1,48 @@ +diff -urN cmatrix-1.2a.old/Makefile.am cmatrix-1.2a/Makefile.am +--- cmatrix-1.2a.old/Makefile.am Sun Mar 31 17:17:17 2002 ++++ cmatrix-1.2a/Makefile.am Sat Jul 6 05:32:06 2002 +@@ -9,30 +9,28 @@ + + install-data-local: + @if test -d /usr/share/consolefonts; then \ +- echo " Installing matrix fonts in /usr/share/consolefonts..."; \ +- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \ +- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \ ++ echo " Installing matrix fonts in $(DESTDIR)/usr/share/consolefonts..."; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/share/consolefonts; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/share/consolefonts; \ + fi + @if test -d /usr/lib/kbd/consolefonts; then \ +- echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \ +- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \ +- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \ ++ echo " Installing matrix fonts in $(DESTDIR)/usr/lib/kbd/consolefonts..."; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \ + fi + @if test -d /usr/lib/X11/fonts/misc; then \ +- echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ +- echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \ +- $(MKFONTDIR) /usr/lib/X11/fonts/misc; \ ++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ ++ echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ + echo " Done. If this is the first time you have installed CMatrix you will"; \ + echo " probably have to restart X window in order to use the mtx.pcf font."; \ + else \ + if test -d /usr/X11R6/lib/X11/fonts/misc; then \ +- echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ +- echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \ +- $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \ ++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ ++ echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ + echo " Done. If this is the first time you have installed CMatrix you will"; \ + echo " probably have to restart X window in order to use the mtx.pcf font."; \ + fi \ diff --git a/app-misc/cmatrix/files/digest-cmatrix-1.2a b/app-misc/cmatrix/files/digest-cmatrix-1.2a new file mode 100644 index 000000000000..d5ccf4577df2 --- /dev/null +++ b/app-misc/cmatrix/files/digest-cmatrix-1.2a @@ -0,0 +1 @@ +MD5 ebfb5733104a258173a9ccf2669968a1 cmatrix-1.2a.tar.gz 74376 |