summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-09-10 10:20:40 +0000
committerMamoru Komachi <usata@gentoo.org>2003-09-10 10:20:40 +0000
commita6a6c2de3172cc04a3bd52d2e1cbbbf3b3c28836 (patch)
tree5e7300617c3e391286b6d3793a763bbf3d5197c8 /media-fonts/monafont
parentVersion bumped. (diff)
downloadhistorical-a6a6c2de3172cc04a3bd52d2e1cbbbf3b3c28836.tar.gz
historical-a6a6c2de3172cc04a3bd52d2e1cbbbf3b3c28836.tar.bz2
historical-a6a6c2de3172cc04a3bd52d2e1cbbbf3b3c28836.zip
Version bumped.
Diffstat (limited to 'media-fonts/monafont')
-rw-r--r--media-fonts/monafont/Manifest5
-rw-r--r--media-fonts/monafont/files/digest-monafont-2.902
-rw-r--r--media-fonts/monafont/monafont-2.90.ebuild68
3 files changed, 72 insertions, 3 deletions
diff --git a/media-fonts/monafont/Manifest b/media-fonts/monafont/Manifest
index 00338037954a..19d8fa8eaf6f 100644
--- a/media-fonts/monafont/Manifest
+++ b/media-fonts/monafont/Manifest
@@ -1,9 +1,8 @@
MD5 d4c44c01857145caa611cc15e74f0fac monafont-2.22.ebuild 1182
MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
-MD5 32184f9886b89a6342b21fe60b0436b9 ChangeLog 966
+MD5 c67c405da9674ac531a50bfde8adf08a ChangeLog 1142
MD5 a0e285a2a813e4016ea75c52c4e54929 monafont-2.30_pre2.ebuild 1211
-MD5 7cacfa1613eedd876089508b402d8f6d monafont-2.90.ebuild 1437
-MD5 390de3993d449eff51ed6783c25d896e monafont-2.90.ebuild.bak 1339
+MD5 0dc4835ef75bac12a08be116bcff080d monafont-2.90.ebuild 1564
MD5 ebf85e0cc13fcb1be0732fd10f837d05 files/digest-monafont-2.22 66
MD5 98d41587bf7a924b644dfd89410fe446 files/digest-monafont-2.30_pre2 70
MD5 c1926f59cc6919e487e3b1a8cbdbe3b9 files/digest-monafont-2.90 133
diff --git a/media-fonts/monafont/files/digest-monafont-2.90 b/media-fonts/monafont/files/digest-monafont-2.90
new file mode 100644
index 000000000000..03214edf0d9c
--- /dev/null
+++ b/media-fonts/monafont/files/digest-monafont-2.90
@@ -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.ebuild b/media-fonts/monafont/monafont-2.90.ebuild
new file mode 100644
index 000000000000..0104921942bc
--- /dev/null
+++ b/media-fonts/monafont/monafont-2.90.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2003 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.ebuild,v 1.1 2003/09/10 10:20:36 usata Exp $
+
+IUSE="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"
+IUSE=""
+DEPEND="virtual/x11
+ dev-lang/perl
+ sys-apps/sed"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+FONTDIR=/usr/share/fonts/${PN}
+TTFONTDIR=/usr/share/fonts/ttf/ja/${PN}
+
+src_compile(){
+
+ emake || die
+}
+
+src_install(){
+
+ make install X11FONTDIR=${D}/${FONTDIR} || die
+ mkfontdir ${D}/${FONTDIR}
+ insinto ${FONTDIR}
+ newins fonts.alias.mona fonts.alias
+ dodoc README*
+
+ if [ -n "`use truetype`" ] ; then
+ cd ${WORKDIR}
+ insinto ${TTFONTDIR}
+ doins mona.ttf
+ mkfontscale ${D}/${TTFONTDIR}
+ newins ${D}/${TTFONTDIR}/fonts.scale fonts.dir
+ fc-cache ${D}/${TTFONTDIR}
+ dodoc README-ttf.txt
+ 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
+}