summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-01-11 21:48:28 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-01-11 21:48:28 +0000
commit78740a70b31b86c605228fdbf90bcbadc0634dc5 (patch)
tree0e886f87b786a3b4e5fa90969a7ad0214013a1c9 /media-fonts/monafont
parentold (diff)
downloadgentoo-2-78740a70b31b86c605228fdbf90bcbadc0634dc5.tar.gz
gentoo-2-78740a70b31b86c605228fdbf90bcbadc0634dc5.tar.bz2
gentoo-2-78740a70b31b86c605228fdbf90bcbadc0634dc5.zip
Fix DEPEND/RDEPEND for modular-X.
(Portage version: 2.0.54)
Diffstat (limited to 'media-fonts/monafont')
-rw-r--r--media-fonts/monafont/ChangeLog10
-rw-r--r--media-fonts/monafont/Manifest16
-rw-r--r--media-fonts/monafont/files/digest-monafont-2.90-r22
-rw-r--r--media-fonts/monafont/monafont-2.90-r2.ebuild70
4 files changed, 84 insertions, 14 deletions
diff --git a/media-fonts/monafont/ChangeLog b/media-fonts/monafont/ChangeLog
index 00b21a0ce1f9..3416c3fa021a 100644
--- a/media-fonts/monafont/ChangeLog
+++ b/media-fonts/monafont/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/monafont
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/monafont/ChangeLog,v 1.19 2005/01/27 06:53:09 nigoro Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/monafont/ChangeLog,v 1.20 2006/01/11 21:48:28 robbat2 Exp $
+
+*monafont-2.90-r2 (11 Jan 2006)
+
+ 11 Jan 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +monafont-2.90-r2.ebuild:
+ Fix DEPEND/RDEPEND for modular-X.
27 Jan 2005; Yuta SATOH <nigoro@gentoo.org> monafont-2.90-r1.ebuild:
stable on ppc64
diff --git a/media-fonts/monafont/Manifest b/media-fonts/monafont/Manifest
index 854ddb7a1dd8..523e74000810 100644
--- a/media-fonts/monafont/Manifest
+++ b/media-fonts/monafont/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 63d53bd621e26452d17952d80e9764cb ChangeLog 2867
+MD5 40297d736f04c81cb7232b99206b0999 ChangeLog 3018
+MD5 c1926f59cc6919e487e3b1a8cbdbe3b9 files/digest-monafont-2.90-r1 133
+MD5 c1926f59cc6919e487e3b1a8cbdbe3b9 files/digest-monafont-2.90-r2 133
MD5 9088d4a413fe0b465560c753492acf1f metadata.xml 175
MD5 52d90aff271d9180497c303a6a1ddc81 monafont-2.90-r1.ebuild 1639
-MD5 c1926f59cc6919e487e3b1a8cbdbe3b9 files/digest-monafont-2.90-r1 133
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFB+JAN60LfUIagIAkRAgSXAKCOkDF354LiswRsNV4nNlYA+Rf0KQCgqY3Z
-DRl8zVynV9jokEOHZgNokLo=
-=Apit
------END PGP SIGNATURE-----
+MD5 c74b5f598dedde86c98ccc7f6568fd6b monafont-2.90-r2.ebuild 1686
diff --git a/media-fonts/monafont/files/digest-monafont-2.90-r2 b/media-fonts/monafont/files/digest-monafont-2.90-r2
new file mode 100644
index 000000000000..03214edf0d9c
--- /dev/null
+++ b/media-fonts/monafont/files/digest-monafont-2.90-r2
@@ -0,0 +1,2 @@
+MD5 2b914878b19b1550757cea5d8a771612 monafont-2.90.tar.bz2 808897
+MD5 fa952f01f0187664aaca5d3e259197d3 monafont-ttf-2.90.zip 1712768
diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild
new file mode 100644
index 000000000000..cbe9503f2140
--- /dev/null
+++ b/media-fonts/monafont/monafont-2.90-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/monafont/monafont-2.90-r2.ebuild,v 1.1 2006/01/11 21:48:28 robbat2 Exp $
+
+inherit font
+
+MY_P="${P/_/}"
+
+DESCRIPTION="Japanese bitmap and TrueType fonts suitable for browsing 2ch"
+HOMEPAGE="http://monafont.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
+ truetype? ( mirror://sourceforge/${PN}/${PN}-ttf-${PV}.zip )"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="truetype"
+
+DEPEND="|| ( ( x11-apps/bdftopcf x11-apps/mkfontdir ) virtual/x11 )
+ dev-lang/perl
+ >=sys-apps/sed-4
+ app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+FONT_S="${WORKDIR}"
+FONT_SUFFIX="ttf"
+FONTDIR="/usr/share/fonts/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e 's:$(X11BINDIR)/mkdirhier:/bin/mkdir -p:' ${S}/Makefile
+}
+
+src_compile() {
+ PERL_BADLANG=0 ; LC_CTYPE=C
+ export PERL_BADLANG LC_CTYPE
+ emake || die
+}
+
+src_install() {
+ make install X11FONTDIR="${D}/${FONTDIR}" || die
+ mkfontdir ${D}/${FONTDIR}
+ insinto ${FONTDIR}
+ newins fonts.alias.mona fonts.alias
+ dodoc README*
+
+ if use truetype ; then
+ DOCS=${WORKDIR}/README-ttf.txt
+ font_src_install
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ einfo "You need to add following line into 'Section \"Files\"' in"
+ einfo "XF86Config and reboot X Window System, to use these fonts."
+ einfo
+ einfo "\tFontPath \"${FONTDIR}\""
+ einfo
+}
+
+pkg_postrm() {
+ einfo
+ einfo "You need to remove following line in 'Section \"Files\"' in"
+ einfo "XF86Config, to unmerge this package completely."
+ einfo
+ einfo "\tFontPath \"${FONTDIR}\""
+ einfo
+}