diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-07-05 07:25:09 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-07-05 07:25:09 +0000 |
commit | d2df1595749e3b98c9d939a0c2c97372e03f4eac (patch) | |
tree | b50673061ba9ed88db4c3825b18076fef3ffab84 /x11-misc/xmbdfed/xmbdfed-4.7_p1.ebuild | |
parent | Marked stable on mips. (diff) | |
download | gentoo-2-d2df1595749e3b98c9d939a0c2c97372e03f4eac.tar.gz gentoo-2-d2df1595749e3b98c9d939a0c2c97372e03f4eac.tar.bz2 gentoo-2-d2df1595749e3b98c9d939a0c2c97372e03f4eac.zip |
Version bumped. Thanks to MATSUU Takuto <matsuu@gentoo.org> and Sridhar Dhanapalan <lists.sridhar@dhanapalan.com>. This closes bug #51596
Diffstat (limited to 'x11-misc/xmbdfed/xmbdfed-4.7_p1.ebuild')
-rw-r--r-- | x11-misc/xmbdfed/xmbdfed-4.7_p1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/x11-misc/xmbdfed/xmbdfed-4.7_p1.ebuild b/x11-misc/xmbdfed/xmbdfed-4.7_p1.ebuild new file mode 100644 index 000000000000..2cf261d6c90b --- /dev/null +++ b/x11-misc/xmbdfed/xmbdfed-4.7_p1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmbdfed/xmbdfed-4.7_p1.ebuild,v 1.1 2004/07/05 07:25:09 usata Exp $ + +inherit eutils +MY_P=${P/_p*} + +DESCRIPTION="BDF font editor for X" +SRC_URI="http://clr.nmsu.edu/~mleisher/${MY_P}.tar.bz2 + http://clr.nmsu.edu/~mleisher/${P/_p/-patch}" +HOMEPAGE="http://clr.nmsu.edu/~mleisher/xmbdfed.html" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86" +IUSE="truetype" + +DEPEND="virtual/x11 + >=x11-libs/openmotif-2.1.30 + truetype? ( media-libs/freetype )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${MY_P}.tar.bz2 + cd ${S} + epatch ${DISTDIR}/${P/_p/-patch} +} + +src_compile() { + # There's no ./configure in xmbdfed, so perform the make by manually + # specifying the correct options for Gentoo. + + local flags="" + local incs="-I/usr/X11R6/include" + local libs="-L/usr/X11R6/lib -lXm -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE" + + if [ `use truetype` ] ; then + flags="FTYPE_DEFS=\"-DHAVE_FREETYPE\"" + incs="${incs} `freetype-config --cflags`" + libs="${libs} `freetype-config --libs`" + fi + + make CFLAGS="${CFLAGS}" ${flags} \ + INCS="${incs}" \ + LIBS="${libs}" || die +} + +src_install() { + dobin xmbdfed + newman xmbdfed.man xmbdfed.1 + dodoc CHANGES COPYRIGHTS INSTALL README xmbdfedrc +} |