summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-25 08:24:59 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-25 08:24:59 +0000
commit3198d8b22cc33875d3b8979a9797ed79a27425d3 (patch)
tree0508ea82aab060fcdf094073a7d5612bcf278136 /app-misc/cmatrix
parentAdded qsoapman-0.4 (#201661). (diff)
downloadgentoo-2-3198d8b22cc33875d3b8979a9797ed79a27425d3.tar.gz
gentoo-2-3198d8b22cc33875d3b8979a9797ed79a27425d3.tar.bz2
gentoo-2-3198d8b22cc33875d3b8979a9797ed79a27425d3.zip
Revision bump (and amd64 stable) to stop installing /usr/X11R6 directory wrt #204773.
(Portage version: 2.1.4, RepoMan options: --force)
Diffstat (limited to 'app-misc/cmatrix')
-rw-r--r--app-misc/cmatrix/ChangeLog8
-rw-r--r--app-misc/cmatrix/cmatrix-1.2a-r1.ebuild42
-rw-r--r--app-misc/cmatrix/files/digest-cmatrix-1.2a-r13
3 files changed, 52 insertions, 1 deletions
diff --git a/app-misc/cmatrix/ChangeLog b/app-misc/cmatrix/ChangeLog
index ea3ff64cbad8..6147f62b6d1c 100644
--- a/app-misc/cmatrix/ChangeLog
+++ b/app-misc/cmatrix/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/cmatrix
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cmatrix/ChangeLog,v 1.18 2008/01/07 17:07:25 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cmatrix/ChangeLog,v 1.19 2008/01/25 08:24:58 drac Exp $
+
+*cmatrix-1.2a-r1 (25 Jan 2008)
+
+ 25 Jan 2008; Samuli Suominen <drac@gentoo.org> +cmatrix-1.2a-r1.ebuild:
+ Revision bump (and amd64 stable) to stop installing /usr/X11R6 directory wrt
+ #204773.
07 Jan 2008; Jeroen Roovers <jer@gentoo.org> cmatrix-1.2a.ebuild:
Marked ~hppa (LuckyLuke in #gentoo-hppa).
diff --git a/app-misc/cmatrix/cmatrix-1.2a-r1.ebuild b/app-misc/cmatrix/cmatrix-1.2a-r1.ebuild
new file mode 100644
index 000000000000..4480718e846f
--- /dev/null
+++ b/app-misc/cmatrix/cmatrix-1.2a-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cmatrix/cmatrix-1.2a-r1.ebuild,v 1.1 2008/01/25 08:24:58 drac Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="An ncurses based app to show a scrolling screen from the Matrix"
+HOMEPAGE="http://www.asty.org/cmatrix.html"
+SRC_URI="http://www.asty.org/${PN}/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc x86"
+IUSE="X"
+
+DEPEND="X? ( x11-apps/mkfontdir )
+ sys-libs/ncurses"
+
+src_unpack() {
+ unpack ${A}
+ # patch Makefile.am to make sure the fonts installations don't violate the
+ # sandbox.
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ eautoreconf
+}
+
+src_install() {
+ dodir /usr/share/consolefonts || die 'dodir failed'
+ dodir /usr/lib/kbd/consolefonts || die 'dodir failed'
+ use X && dodir /usr/lib/X11/fonts/misc || die 'dodir failed'
+ emake DESTDIR="${D}" install || die 'emake install failed'
+}
+
+pkg_postinst() {
+ 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 || die 'mkfontdir failed'
+ fi
+ fi
+}
diff --git a/app-misc/cmatrix/files/digest-cmatrix-1.2a-r1 b/app-misc/cmatrix/files/digest-cmatrix-1.2a-r1
new file mode 100644
index 000000000000..27f22c926bf2
--- /dev/null
+++ b/app-misc/cmatrix/files/digest-cmatrix-1.2a-r1
@@ -0,0 +1,3 @@
+MD5 ebfb5733104a258173a9ccf2669968a1 cmatrix-1.2a.tar.gz 74376
+RMD160 8a401753ca0e88c0d24b6a8c3f23b725368c13bb cmatrix-1.2a.tar.gz 74376
+SHA256 1fa6e6caea254b6fe70a492efddc1b40ad7ccb950a5adfd80df75b640577064c cmatrix-1.2a.tar.gz 74376