summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bouyer <stubear@gentoo.org>2002-06-26 17:49:08 +0000
committerStuart Bouyer <stubear@gentoo.org>2002-06-26 17:49:08 +0000
commitb68aa2cd47d715acaf607cc54a5f29061a155bfa (patch)
tree7f00e9e906d5cac461c5dbbf6e7ee4a186f5d9f5 /x11-misc/arphicfonts
parentupdate ChangeLog to reflect added ppc patch (diff)
downloadhistorical-b68aa2cd47d715acaf607cc54a5f29061a155bfa.tar.gz
historical-b68aa2cd47d715acaf607cc54a5f29061a155bfa.tar.bz2
historical-b68aa2cd47d715acaf607cc54a5f29061a155bfa.zip
*arphicfonts-0.1 (27 June 2002)
27 June 2002; Stuart Bouyer <stubear@gentoo.org> arphicfonts-0.1.ebuild: First ebuild added
Diffstat (limited to 'x11-misc/arphicfonts')
-rw-r--r--x11-misc/arphicfonts/ChangeLog8
-rw-r--r--x11-misc/arphicfonts/arphicfonts-0.1.ebuild46
-rw-r--r--x11-misc/arphicfonts/files/digest-arphicfonts-0.14
3 files changed, 58 insertions, 0 deletions
diff --git a/x11-misc/arphicfonts/ChangeLog b/x11-misc/arphicfonts/ChangeLog
new file mode 100644
index 000000000000..fcc3eca604b8
--- /dev/null
+++ b/x11-misc/arphicfonts/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/arphicfonts/ChangeLog,v 1.1 2002/06/26 17:49:08 stubear Exp $
+
+*arphicfonts-0.1 (27 June 2002)
+
+ 27 June 2002; Stuart Bouyer <stubear@gentoo.org> arphicfonts-0.1.ebuild:
+ First ebuild added
diff --git a/x11-misc/arphicfonts/arphicfonts-0.1.ebuild b/x11-misc/arphicfonts/arphicfonts-0.1.ebuild
new file mode 100644
index 000000000000..f39d957368c9
--- /dev/null
+++ b/x11-misc/arphicfonts/arphicfonts-0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyrigth 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Joshua Pollak <josh@offthehill.org>
+#/space/gentoo/cvsroot/gentoo-x86/x11-misc/arphicfonts/arphicfonts.ebuild
+
+DESCRIPTION="Arphic Fonts"
+SRC_URI="ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz
+ ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/bkai00mp.ttf.gz
+ ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/bsmi00lp.ttf.gz
+ ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gbsn00lp.ttf.gz"
+HOMEPAGE="http://www.arphic.com.tw/"
+
+DEPEND="virtual/x11
+ x11-misc/ttmkfdir"
+
+src_unpack() {
+ mkdir ${WORKDIR}/${P}
+ gunzip -c ${DISTDIR}/gkai00mp.ttf.gz > ${WORKDIR}/${P}/gkai00mp.ttf
+ gunzip -c ${DISTDIR}/bkai00mp.ttf.gz > ${WORKDIR}/${P}/bkai00mp.ttf
+ gunzip -c ${DISTDIR}/bsmi00lp.ttf.gz > ${WORKDIR}/${P}/bsmi00lp.ttf
+ gunzip -c ${DISTDIR}/gbsn00lp.ttf.gz > ${WORKDIR}/${P}/gbsn00lp.ttf
+}
+
+src_compile() {
+ echo "Truetype fonts don't need to be compiled! ;)"
+}
+
+src_install() {
+ cd ${WORKDIR}/${P}
+ insopts -m0644
+ insinto /usr/X11R6/lib/X11/fonts/truetype
+ doins *.ttf
+
+# These don't get downloaded because there is no simple way to
+# fetch them.. ie if I included the README in SRC_URI above, it would
+# get saved as /usr/portage/distfiles/README which doesn't seem like
+# a really good idea.
+# dodoc LICENSE README
+}
+
+pkg_postinst() {
+ echo ">>> Making font dirs..."
+ cd /usr/X11R6/lib/X11/fonts/truetype/
+ /usr/X11R6/bin/ttmkfdir > fonts.scale
+ mkfontdir
+}
diff --git a/x11-misc/arphicfonts/files/digest-arphicfonts-0.1 b/x11-misc/arphicfonts/files/digest-arphicfonts-0.1
new file mode 100644
index 000000000000..8cb6db87971d
--- /dev/null
+++ b/x11-misc/arphicfonts/files/digest-arphicfonts-0.1
@@ -0,0 +1,4 @@
+MD5 5ee11417a8b42d08a33421dd6c64bed2 gkai00mp.ttf.gz 2698942
+MD5 9abc1efeaf08df5554629b10eb79b1b2 bkai00mp.ttf.gz 6013768
+MD5 42b13b73c5572d886824ee249d1ad500 bsmi00lp.ttf.gz 5653466
+MD5 757ca4959ed2325d49a64730766140ee gbsn00lp.ttf.gz 2345803