diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2006-12-04 22:25:20 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2006-12-04 22:25:20 +0000 |
commit | 1007b3852708cac2cfb50beb6c61870b570bcb65 (patch) | |
tree | a6a744e09ca2b5a2333b48a139f7a45a3d43a6a8 /media-gfx/tgif/tgif-4.1.45.ebuild | |
parent | Fix --protect, thanks to Andy Lutomirski for the patch, bug 114218 (diff) | |
download | historical-1007b3852708cac2cfb50beb6c61870b570bcb65.tar.gz historical-1007b3852708cac2cfb50beb6c61870b570bcb65.tar.bz2 historical-1007b3852708cac2cfb50beb6c61870b570bcb65.zip |
Version bump. Dropped old version. Using make instead of imake (solves bug #151947). Included patches from bug #91227, thanks to Thomas Fischer.
Package-Manager: portage-2.1.2_rc2
Diffstat (limited to 'media-gfx/tgif/tgif-4.1.45.ebuild')
-rw-r--r-- | media-gfx/tgif/tgif-4.1.45.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/media-gfx/tgif/tgif-4.1.45.ebuild b/media-gfx/tgif/tgif-4.1.45.ebuild new file mode 100644 index 000000000000..62a2af215d27 --- /dev/null +++ b/media-gfx/tgif/tgif-4.1.45.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/tgif-4.1.45.ebuild,v 1.1 2006/12/04 22:25:20 dev-zero Exp $ + +inherit eutils toolchain-funcs + +MY_P="${PN}-QPL-${PV}" + +DESCRIPTION="Tgif is an Xlib base 2-D drawing facility under X11." +HOMEPAGE="http://bourbon.usc.edu/tgif/index.html" +SRC_URI="ftp://bourbon.usc.edu/pub/tgif/${MY_P}.tar.gz" + +LICENSE="QPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +IUSE="kde" + +DEPEND="x11-libs/libX11 + x11-proto/xproto" +RDEPEND="${DEPEND} + kde? ( || ( kde-base/kdeprint kde-base/kdebase ) )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gentoo.patch" + use kde && epatch "${FILESDIR}/${P}-kprinter.patch" + sed -i \ + -e '/^INSTPGMFLAGS/d' \ + -e 's/#prtgif /prtgif #/' \ + Makefile.noimake || die "sed failed" +} + +src_compile() { + emake -f Makefile.noimake \ + CC=$(tc-getCC) CPPFLAGS="${CFLAGS}" \ + || die "emake failed" +} + +src_install() { + emake -f Makefile.noimake DESTDIR="${D}" install || die "emake install failed" + + ## example-files + dodoc tgif.Xdefaults tgificon.eps tgificon.obj \ + tgificon.xbm tgificon.xpm tangram.sym eq4.sym eq4-2x.sym \ + eq4-ps2epsi.sym eq4-epstool.sym eq4xpm.sym \ + eq4-lyx-ps2epsi.sym keys.obj + + dodoc README HISTORY +} |