summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-09-02 20:09:08 +0000
committerMamoru Komachi <usata@gentoo.org>2003-09-02 20:09:08 +0000
commit6e3841d0af9d9376f855b2acfdd2fd6adfaf633e (patch)
tree7807c5fd9a9e7e47cd0246349a1e5a71f9b94e85 /media-fonts
parentnew ebuild (diff)
downloadgentoo-2-6e3841d0af9d9376f855b2acfdd2fd6adfaf633e.tar.gz
gentoo-2-6e3841d0af9d9376f855b2acfdd2fd6adfaf633e.tar.bz2
gentoo-2-6e3841d0af9d9376f855b2acfdd2fd6adfaf633e.zip
new ebuild
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/efont-unicode/ChangeLog9
-rw-r--r--media-fonts/efont-unicode/Manifest4
-rw-r--r--media-fonts/efont-unicode/efont-unicode-0.4.1.ebuild66
-rw-r--r--media-fonts/efont-unicode/files/digest-efont-unicode-0.4.11
-rw-r--r--media-fonts/efont-unicode/metadata.xml6
5 files changed, 85 insertions, 1 deletions
diff --git a/media-fonts/efont-unicode/ChangeLog b/media-fonts/efont-unicode/ChangeLog
new file mode 100644
index 000000000000..e1e7fb7e5ae7
--- /dev/null
+++ b/media-fonts/efont-unicode/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-fonts/efont-unicode
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/efont-unicode/ChangeLog,v 1.1 2003/09/02 20:09:04 usata Exp $
+
+*efont-unicode-0.4.1 (03 Sep 2003)
+
+ 03 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> efont-unicode-0.4.1.ebuild:
+ Initial import
+
diff --git a/media-fonts/efont-unicode/Manifest b/media-fonts/efont-unicode/Manifest
index 388a0bbffdbf..771ebc42261c 100644
--- a/media-fonts/efont-unicode/Manifest
+++ b/media-fonts/efont-unicode/Manifest
@@ -1,2 +1,4 @@
-MD5 1bf82211ce03e2e3f2c53c13a74389f2 efont-unicode-0.4.1.ebuild 1427
+MD5 df9980bfb754dce62cc5c692f8833f6a efont-unicode-0.4.1.ebuild 1541
+MD5 d0834b7b6190029d939053300eeff082 metadata.xml 175
+MD5 bacbdfed990993fa34be6422ea69f16e ChangeLog 362
MD5 917281c740effe94d62162986e216da6 files/digest-efont-unicode-0.4.1 78
diff --git a/media-fonts/efont-unicode/efont-unicode-0.4.1.ebuild b/media-fonts/efont-unicode/efont-unicode-0.4.1.ebuild
new file mode 100644
index 000000000000..76ed844fbb0c
--- /dev/null
+++ b/media-fonts/efont-unicode/efont-unicode-0.4.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/efont-unicode/efont-unicode-0.4.1.ebuild,v 1.1 2003/09/02 20:09:04 usata Exp $
+
+IUSE="X"
+
+MY_P="${PN}-bdf-${PV}"
+
+DESCRIPTION="The /efont/ Unicode Bitmap Fonts"
+HOMEPAGE="http://openlab.jp/efont/unicode/"
+SRC_URI="http://openlab.jp/efont/dist/unicode-bdf/${MY_P}.tar.bz2"
+
+# naga10 has free-noncomm license
+LICENSE="public-domain BAEKMUK X11 as-is"
+SLOT="0"
+KEYWORDS="~x86 ~alpha ~sparc ~ppc"
+
+DEPEND="virtual/glibc
+ X? ( virtual/x11 )"
+
+S="${WORKDIR}/${MY_P}"
+FONTDIR="/usr/share/fonts/efont-unicode"
+
+src_compile () {
+
+ if [ -n "`use X`" ] ; then
+ for i in *.bdf ; do
+ echo "Converting $i into ${i/bdf/pcf} ..."
+ /usr/X11R6/bin/bdftopcf -o ${i/bdf/pcf} ${i} || die
+ echo "Compressing ${i/bdf/pcf} ..."
+ gzip -9 ${i/bdf/pcf} || die
+ done
+ fi
+}
+
+src_install () {
+
+ insinto ${FONTDIR}
+ doins *.bdf || die
+ use X && doins *.pcf.gz || die
+
+ dodoc README* COPYRIGHT ChangeLog INSTALL
+ dohtml List.html
+
+ use X && /usr/X11R6/bin/mkfontdir ${D}${FONTDIR}
+}
+
+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 "\t FontPath \"${FONTDIR}\""
+ einfo
+}
+
+pkg_postrm(){
+
+ einfo
+ einfo "You need to remove following line from 'Section \"Files\"' in"
+ einfo "XF86Config, to unmerge this package completely."
+ einfo
+ einfo "\t FontPath \"${FONTDIR}\""
+ einfo
+}
diff --git a/media-fonts/efont-unicode/files/digest-efont-unicode-0.4.1 b/media-fonts/efont-unicode/files/digest-efont-unicode-0.4.1
new file mode 100644
index 000000000000..62325461ed14
--- /dev/null
+++ b/media-fonts/efont-unicode/files/digest-efont-unicode-0.4.1
@@ -0,0 +1 @@
+MD5 654bc0f6bef3016c712a6a499138c799 efont-unicode-bdf-0.4.1.tar.bz2 23894541
diff --git a/media-fonts/efont-unicode/metadata.xml b/media-fonts/efont-unicode/metadata.xml
new file mode 100644
index 000000000000..232184cf3003
--- /dev/null
+++ b/media-fonts/efont-unicode/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>xfree</herd>
+</pkgmetadata>