summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-06-21 16:11:44 +0000
committerMamoru Komachi <usata@gentoo.org>2004-06-21 16:11:44 +0000
commitd66938610f41812e3efdbf3b5563e9a4125d01b9 (patch)
treedc1c048db269ec788216f34799c53552fbebd639 /media-fonts/monafont
parentApplied libchewing patch. Special thanks to Palatis <palatis@gentoo.org.tw> a... (diff)
downloadhistorical-d66938610f41812e3efdbf3b5563e9a4125d01b9.tar.gz
historical-d66938610f41812e3efdbf3b5563e9a4125d01b9.tar.bz2
historical-d66938610f41812e3efdbf3b5563e9a4125d01b9.zip
font.eclassify
Diffstat (limited to 'media-fonts/monafont')
-rw-r--r--media-fonts/monafont/ChangeLog7
-rw-r--r--media-fonts/monafont/Manifest2
-rw-r--r--media-fonts/monafont/files/digest-monafont-2.90-r12
-rw-r--r--media-fonts/monafont/monafont-2.90-r1.ebuild74
4 files changed, 84 insertions, 1 deletions
diff --git a/media-fonts/monafont/ChangeLog b/media-fonts/monafont/ChangeLog
index a2a7d305072a..da6ca6a74816 100644
--- a/media-fonts/monafont/ChangeLog
+++ b/media-fonts/monafont/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/monafont
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/monafont/ChangeLog,v 1.12 2004/06/07 20:57:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/monafont/ChangeLog,v 1.13 2004/06/21 16:07:00 usata Exp $
+
+*monafont-2.90-r1 (22 Jun 2004)
+
+ 22 Jun 2004; Mamoru KOMACHI <usata@gentoo.org> +monafont-2.90-r1.ebuild:
+ font.eclassify
07 Jun 2004; Aron Griffis <agriffis@gentoo.org> monafont-2.90.ebuild:
Fix use invocation
diff --git a/media-fonts/monafont/Manifest b/media-fonts/monafont/Manifest
index 9dfc3451f3cf..8f44bfb4a117 100644
--- a/media-fonts/monafont/Manifest
+++ b/media-fonts/monafont/Manifest
@@ -2,5 +2,7 @@ MD5 3be864fc1b4b7a6a4058052891b6d4d3 monafont-2.90.ebuild 1720
MD5 5c37391e7e1e21cb48dbe5670b21cffa monafont-2.22.ebuild 1343
MD5 ce180f534c1a6b5ac8ab96b051bcee2a ChangeLog 2109
MD5 9088d4a413fe0b465560c753492acf1f metadata.xml 175
+MD5 03a72053ff82c0ebf2e8b5d90e295f8e monafont-2.90-r1.ebuild 1622
MD5 ebf85e0cc13fcb1be0732fd10f837d05 files/digest-monafont-2.22 66
MD5 c1926f59cc6919e487e3b1a8cbdbe3b9 files/digest-monafont-2.90 133
+MD5 c1926f59cc6919e487e3b1a8cbdbe3b9 files/digest-monafont-2.90-r1 133
diff --git a/media-fonts/monafont/files/digest-monafont-2.90-r1 b/media-fonts/monafont/files/digest-monafont-2.90-r1
new file mode 100644
index 000000000000..03214edf0d9c
--- /dev/null
+++ b/media-fonts/monafont/files/digest-monafont-2.90-r1
@@ -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-r1.ebuild b/media-fonts/monafont/monafont-2.90-r1.ebuild
new file mode 100644
index 000000000000..1ac71f550fe1
--- /dev/null
+++ b/media-fonts/monafont/monafont-2.90-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/monafont/monafont-2.90-r1.ebuild,v 1.1 2004/06/21 16:07:00 usata Exp $
+
+inherit font
+
+IUSE="X truetype"
+
+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="~x86 ~alpha ~ppc ~sparc ~amd64"
+IUSE=""
+DEPEND="virtual/x11
+ dev-lang/perl
+ >=sys-apps/sed-4"
+RDEPEND="X? ( virtual/x11 )"
+
+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
+}