summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-10-02 22:07:42 +0000
committerMamoru Komachi <usata@gentoo.org>2003-10-02 22:07:42 +0000
commit632809310f9c7cdd0734915807d457f48e7d52d7 (patch)
treedcc3889f2f954e391c81585e50d328d2a1d3d037 /media-fonts
parentNew ebuild. See #27700 (It blocks fbiterm ebuild) (diff)
downloadgentoo-2-632809310f9c7cdd0734915807d457f48e7d52d7.tar.gz
gentoo-2-632809310f9c7cdd0734915807d457f48e7d52d7.tar.bz2
gentoo-2-632809310f9c7cdd0734915807d457f48e7d52d7.zip
New ebuild. See #27700 (It blocks fbiterm ebuild)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/unifont/ChangeLog10
-rw-r--r--media-fonts/unifont/Manifest4
-rw-r--r--media-fonts/unifont/files/digest-unifont-1.02
-rw-r--r--media-fonts/unifont/metadata.xml6
-rw-r--r--media-fonts/unifont/unifont-1.0.ebuild53
5 files changed, 74 insertions, 1 deletions
diff --git a/media-fonts/unifont/ChangeLog b/media-fonts/unifont/ChangeLog
new file mode 100644
index 000000000000..1494dd419c2f
--- /dev/null
+++ b/media-fonts/unifont/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-fonts/unifont
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.1 2003/10/02 22:07:38 usata Exp $
+
+*unifont-1.0 (03 Oct 2003)
+
+ 03 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> unifont-1.0.ebuild:
+ Initial import. Ebuild submitted by Zhen Lin <lowzl@hotmail.com>
+ See Bug #27700
+
diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest
index d87bfbf321a9..53e1816a407c 100644
--- a/media-fonts/unifont/Manifest
+++ b/media-fonts/unifont/Manifest
@@ -1,2 +1,4 @@
-MD5 73506a109e389835883b58d366b6c03d unifont-1.0.ebuild 918
+MD5 41be5c5589aba07d06c2381cfd39f6b0 unifont-1.0.ebuild 1048
+MD5 91430ff0f5b3aff72f760f0119d772dc metadata.xml 175
+MD5 4eacb0fe6e2bd3c1e975c5367ebfab70 ChangeLog 401
MD5 e311237fdbe3e6f0c2d3aba7de2dafd3 files/digest-unifont-1.0 132
diff --git a/media-fonts/unifont/files/digest-unifont-1.0 b/media-fonts/unifont/files/digest-unifont-1.0
new file mode 100644
index 000000000000..9c7d6c7bcf20
--- /dev/null
+++ b/media-fonts/unifont/files/digest-unifont-1.0
@@ -0,0 +1,2 @@
+MD5 e29392d03301f463802db1a310413bf9 unifont_1.0.orig.tar.gz 628220
+MD5 74eab69c16c9965ff923e141f7ebb2e9 unifont_1.0-1.diff.gz 4850
diff --git a/media-fonts/unifont/metadata.xml b/media-fonts/unifont/metadata.xml
new file mode 100644
index 000000000000..ec569246e723
--- /dev/null
+++ b/media-fonts/unifont/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>xfree</herd>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/media-fonts/unifont/unifont-1.0.ebuild b/media-fonts/unifont/unifont-1.0.ebuild
new file mode 100644
index 000000000000..e5346b1bfcf5
--- /dev/null
+++ b/media-fonts/unifont/unifont-1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/unifont-1.0.ebuild,v 1.1 2003/10/02 22:07:38 usata Exp $
+
+IUSE="X"
+
+DESCRIPTION="X11 dual-width GNU unicode font"
+HOMEPAGE="http://czyborra.com/"
+SRC_URI="http://ftp.debian.org/debian/pool/main/u/unifont/${P/-/_}.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/u/unifont/${P/-/_}-1.diff.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="dev-lang/perl
+ virtual/x11
+ X? ( media-fonts/chkfontpath )"
+RDEPEND="X? ( media-fonts/chkfontpath )"
+
+FONTPATH="/usr/share/fonts/unifont"
+S=${WORKDIR}/${PN}-dvdeug-${PV}
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+ epatch ${WORKDIR}/${P/-/_}-1.diff
+}
+
+src_compile() {
+
+ make || die
+}
+
+src_install() {
+
+ insinto ${FONTPATH}
+
+ doins unifont.pcf.gz
+ use X && mkfontdir ${D}${FONTPATH}
+}
+
+pkg_postinst() {
+
+ use X && chkfontpath -qa ${FONTPATH} >/dev/null 2>&1
+}
+
+pkg_postrm() {
+
+ use X && chkfontpath -qr ${FONTPATH} >/dev/null 2>&1
+}