summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild')
-rw-r--r--app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild b/app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild
index 81f4d0638b4d..ad6a7da5467e 100644
--- a/app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild
+++ b/app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild,v 1.1 2006/02/18 18:28:36 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-afpl/ghostscript-afpl-8.53-r3.ebuild,v 1.2 2006/02/21 21:29:48 vanquirius Exp $
inherit eutils
@@ -13,7 +13,8 @@ PVM=${PV%.[0-9]}
SRC_URI="mirror://sourceforge/ghostscript/${MY_P}.tar.gz
cups? ( mirror://gentoo/cups-${CUPS_PV}-source.tar.bz2 )
cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz
- http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )"
+ http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )
+ mirror://gentoo/gdevhl12.c.gz"
LICENSE="Aladdin"
SLOT="0"
@@ -46,6 +47,7 @@ S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ghostscript-${PV}.tar.gz
+ unpack gdevhl12.c.gz
# cups support
if use cups; then
@@ -70,7 +72,7 @@ src_unpack() {
use amd64 || epatch "${FILESDIR}"/rinkj.patch
# http://www.linuxprinting.org/download/printing/ghostscript-8.x/drivers/hl1250
- cp ${FILESDIR}/gdevhl12.c ${S}/src/gdevhl12.c || die
+ cp ${WORKDIR}/gdevhl12.c ${S}/src/gdevhl12.c || die
cat ${FILESDIR}/gdevhl12-hl1250.mak >> ${S}/src/contrib.mak || die
sed 's#^\(DEVICE_DEVS6=.*\)$#\1 $(DD)hl1240.dev $(DD)hl1250.dev#' \
-i "${S}"/Makefile.in "${S}"/src/Makefile.in || die