summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-01-11 22:59:26 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-01-11 22:59:26 +0000
commitcfce11a2da5ca10e5d6dc60d395758461c9b9198 (patch)
tree5b5d21ef00ae440e269db7e78e969f1d5e1f2251 /media-fonts/unifont/unifont-1.0-r3.ebuild
parentVersion bump. (diff)
downloadgentoo-2-cfce11a2da5ca10e5d6dc60d395758461c9b9198.tar.gz
gentoo-2-cfce11a2da5ca10e5d6dc60d395758461c9b9198.tar.bz2
gentoo-2-cfce11a2da5ca10e5d6dc60d395758461c9b9198.zip
Fix DEPEND for modular-X.
(Portage version: 2.0.54)
Diffstat (limited to 'media-fonts/unifont/unifont-1.0-r3.ebuild')
-rw-r--r--media-fonts/unifont/unifont-1.0-r3.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/media-fonts/unifont/unifont-1.0-r3.ebuild b/media-fonts/unifont/unifont-1.0-r3.ebuild
new file mode 100644
index 000000000000..9be637437594
--- /dev/null
+++ b/media-fonts/unifont/unifont-1.0-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/unifont-1.0-r3.ebuild,v 1.1 2006/01/11 22:59:26 robbat2 Exp $
+
+inherit eutils
+
+IUSE="X"
+
+DESCRIPTION="X11 GNU unicode font"
+HOMEPAGE="http://czyborra.com/"
+SRC_URI="mirror://debian/pool/main/u/unifont/${P/-/_}.orig.tar.gz
+ mirror://debian/pool/main/u/unifont/${P/-/_}-1.diff.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="dev-lang/perl
+ || ( x11-apps/bdftopcf virtual/x11 )
+ X? ( || ( x11-apps/mkfontdir virtual/x11 ) )"
+RDEPEND=""
+
+FONTPATH="/usr/share/fonts/${PN}"
+S="${WORKDIR}/${PN}-dvdeug-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${WORKDIR}/${P/-/_}-1.diff"
+}
+
+src_compile() {
+ emake || die
+ emake -f Makefile.new || die
+}
+
+src_install() {
+ insinto ${FONTPATH}
+ doins unifont*.gz
+ use X && mkfontdir ${D}${FONTPATH}
+}