summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-10-25 06:57:46 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-10-25 06:57:46 +0000
commitf7a87c80546ed41b067b3356817061885cd910fa (patch)
tree53ef52238469c9f0ab676131efbb0aee4484dad1 /x11-misc/xmbdfed
parentyay fix 9188, no X needed (diff)
downloadhistorical-f7a87c80546ed41b067b3356817061885cd910fa.tar.gz
historical-f7a87c80546ed41b067b3356817061885cd910fa.tar.bz2
historical-f7a87c80546ed41b067b3356817061885cd910fa.zip
new package
Diffstat (limited to 'x11-misc/xmbdfed')
-rw-r--r--x11-misc/xmbdfed/ChangeLog16
-rw-r--r--x11-misc/xmbdfed/files/digest-xmbdfed-4.52
-rw-r--r--x11-misc/xmbdfed/xmbdfed-4.5.ebuild61
3 files changed, 79 insertions, 0 deletions
diff --git a/x11-misc/xmbdfed/ChangeLog b/x11-misc/xmbdfed/ChangeLog
new file mode 100644
index 000000000000..a6393a53ee48
--- /dev/null
+++ b/x11-misc/xmbdfed/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for x11-misc/xmbdfed
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# /space/gentoo/cvsroot/gentoo-x86/skel.ChangeLog,v 1.2 2002/02/05 00:57:47 gbevin Exp
+
+*xmbdfed-4.5 (24 Oct 2002)
+
+ 24 Oct 2002; Seemant Kulleen <seemant@gentoo.org> xmbdfed-4.5.ebuild
+ ChangeLog files/digest-xmbdfed-4.5 :
+
+ Package submission by: Rob McMullen <robm@flipturn.org> in bug #661. He
+ waited a LOOOOOOOOOOOOOOONG time for this :/
+
+ Xmbdfed is a raster based font editor for X11 non-scalable (BDF) fonts
+ and Linux console (PSF) fonts. It can import fonts from a variety of
+ sources, including True Type and Windoze fonts, by rasterizing them to
+ a specified font width.
diff --git a/x11-misc/xmbdfed/files/digest-xmbdfed-4.5 b/x11-misc/xmbdfed/files/digest-xmbdfed-4.5
new file mode 100644
index 000000000000..301c9130051e
--- /dev/null
+++ b/x11-misc/xmbdfed/files/digest-xmbdfed-4.5
@@ -0,0 +1,2 @@
+MD5 8420d39931a0674784f3fd0c0f1f9d6a xmbdfed-4.5.tar.gz 282055
+MD5 28ca1bddba99f45fbfc6e5e7e2b0d780 xmbdfed-4.5-gentoo.diff.bz2 1830
diff --git a/x11-misc/xmbdfed/xmbdfed-4.5.ebuild b/x11-misc/xmbdfed/xmbdfed-4.5.ebuild
new file mode 100644
index 000000000000..5f6a92015c95
--- /dev/null
+++ b/x11-misc/xmbdfed/xmbdfed-4.5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmbdfed/xmbdfed-4.5.ebuild,v 1.1 2002/10/25 06:57:46 seemant Exp $
+
+IUSE="truetype"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="BDF font editor for X"
+SRC_URI="http://clr.nmsu.edu/~mleisher/${P}.tar.gz
+ mirror://gentoo/${P}-gentoo.diff.bz2"
+HOMEPAGE="http://clr.nmsu.edu/~mleisher/xmbdfed.html"
+
+
+SLOT="0"
+LICNSE="as-is"
+KEYWORDS="~x86"
+
+DEPEND="virtual/x11
+ >=x11-libs/openmotif-2.1.30
+ truetype? ( =media-libs/freetype-1.3* )"
+
+# The xmbdfed-4.5-gentoo.diff includes patch 1 for version 4.5. The
+# author hasn't distributed a new numbered release yet, so I've
+# blended the patch in with a small include file fix needed for the
+# Gentoo install of freetype.
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${WORKDIR}/${P}-gentoo.diff || die
+}
+
+src_compile() {
+
+# There's no ./configure in xmbdfed, so perform the make by manually
+# specifying the correct options for Gentoo.
+
+ local flags=""
+ local incs=""
+ local libs=""
+
+ incs="-I/usr/X11R6/include"
+ libs="-L/usr/X11R6/lib -lXm -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE"
+
+ if use truetype
+ then
+ flags="FTYPE_DEFS=\"-DHAVE_FREETYPE\""
+ incs="${incs} -I/usr/include/freetype"
+ libs="${libs} -lttf"
+ fi
+
+
+ make CFLAGS="${CFLAGS}" ${flags} \
+ INCS="${incs}" \
+ LIBS="${libs}"
+}
+
+src_install () {
+ dobin xmbdfed
+ newman xmbdfed.man xmbdfed.1
+ dodoc CHANGES COPYRIGHTS INSTALL README xmbdfedrc
+}