aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/ghostscript-afpl/Makefile13
-rw-r--r--print/ghostscript-gpl/Makefile13
-rw-r--r--print/ghostscript6/Makefile13
-rw-r--r--print/ghostscript8/Makefile13
4 files changed, 32 insertions, 20 deletions
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile
index f77ca2dcd7ba..6fc00226b587 100644
--- a/print/ghostscript-afpl/Makefile
+++ b/print/ghostscript-afpl/Makefile
@@ -16,8 +16,8 @@ MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/ \
http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/ \
http://www.harsch.net/Download/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
- ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_DRV} ${HP970_DRV}
-EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_DRV}
+ ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_SRC} ${HP970_DRV}
+EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_SRC}
MAINTAINER= andreas@FreeBSD.org
@@ -52,7 +52,10 @@ HP8XX_DRV= gdevcd8.tar.gz
# HPDJ, additional driver for HP PCL3 Printers, by Martin Lottermoser
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
-HPDJ_DRV= hpdj-2.6.tar.gz
+HPDJ_NAME= hpdj
+HPDJ_VERS= 2.6
+HPDJ_DIR= ${HPDJ_NAME}-${HPDJ_VERS}
+HPDJ_SRC= hpdj-2.6.tar.gz
# additional driver for HP DeskJet 970, supports duplex printing
HP970_DRV= gdevdj9.c.gz
@@ -79,9 +82,9 @@ post-extract:
@${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \
${WRKSRC}/jpeg
@${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HP8XX_DRV}
- @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_DRV}
+ @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_SRC}
# additional HPDJ driver
- @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/hpdj-2.6/hpdj.tar
+ @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/${HPDJ_DIR}/${HPDJ_NAME}.tar
@${CAT} ${WRKSRC}/src/contrib.mak-5.94.add >> ${WRKSRC}/src/contrib.mak
@${PATCH} -d ${WRKSRC}/src --forward --quiet -E \
< ${WRKSRC}/src/zmedia2.c-5.50.diff
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index f77ca2dcd7ba..6fc00226b587 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -16,8 +16,8 @@ MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/ \
http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/ \
http://www.harsch.net/Download/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
- ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_DRV} ${HP970_DRV}
-EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_DRV}
+ ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_SRC} ${HP970_DRV}
+EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_SRC}
MAINTAINER= andreas@FreeBSD.org
@@ -52,7 +52,10 @@ HP8XX_DRV= gdevcd8.tar.gz
# HPDJ, additional driver for HP PCL3 Printers, by Martin Lottermoser
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
-HPDJ_DRV= hpdj-2.6.tar.gz
+HPDJ_NAME= hpdj
+HPDJ_VERS= 2.6
+HPDJ_DIR= ${HPDJ_NAME}-${HPDJ_VERS}
+HPDJ_SRC= hpdj-2.6.tar.gz
# additional driver for HP DeskJet 970, supports duplex printing
HP970_DRV= gdevdj9.c.gz
@@ -79,9 +82,9 @@ post-extract:
@${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \
${WRKSRC}/jpeg
@${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HP8XX_DRV}
- @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_DRV}
+ @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_SRC}
# additional HPDJ driver
- @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/hpdj-2.6/hpdj.tar
+ @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/${HPDJ_DIR}/${HPDJ_NAME}.tar
@${CAT} ${WRKSRC}/src/contrib.mak-5.94.add >> ${WRKSRC}/src/contrib.mak
@${PATCH} -d ${WRKSRC}/src --forward --quiet -E \
< ${WRKSRC}/src/zmedia2.c-5.50.diff
diff --git a/print/ghostscript6/Makefile b/print/ghostscript6/Makefile
index f77ca2dcd7ba..6fc00226b587 100644
--- a/print/ghostscript6/Makefile
+++ b/print/ghostscript6/Makefile
@@ -16,8 +16,8 @@ MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/ \
http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/ \
http://www.harsch.net/Download/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
- ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_DRV} ${HP970_DRV}
-EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_DRV}
+ ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_SRC} ${HP970_DRV}
+EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_SRC}
MAINTAINER= andreas@FreeBSD.org
@@ -52,7 +52,10 @@ HP8XX_DRV= gdevcd8.tar.gz
# HPDJ, additional driver for HP PCL3 Printers, by Martin Lottermoser
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
-HPDJ_DRV= hpdj-2.6.tar.gz
+HPDJ_NAME= hpdj
+HPDJ_VERS= 2.6
+HPDJ_DIR= ${HPDJ_NAME}-${HPDJ_VERS}
+HPDJ_SRC= hpdj-2.6.tar.gz
# additional driver for HP DeskJet 970, supports duplex printing
HP970_DRV= gdevdj9.c.gz
@@ -79,9 +82,9 @@ post-extract:
@${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \
${WRKSRC}/jpeg
@${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HP8XX_DRV}
- @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_DRV}
+ @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_SRC}
# additional HPDJ driver
- @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/hpdj-2.6/hpdj.tar
+ @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/${HPDJ_DIR}/${HPDJ_NAME}.tar
@${CAT} ${WRKSRC}/src/contrib.mak-5.94.add >> ${WRKSRC}/src/contrib.mak
@${PATCH} -d ${WRKSRC}/src --forward --quiet -E \
< ${WRKSRC}/src/zmedia2.c-5.50.diff
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index f77ca2dcd7ba..6fc00226b587 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -16,8 +16,8 @@ MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/ \
http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/ \
http://www.harsch.net/Download/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
- ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_DRV} ${HP970_DRV}
-EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_DRV}
+ ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_SRC} ${HP970_DRV}
+EXTRACT_ONLY= ${GS_SOURCES} ${HPDJ_SRC}
MAINTAINER= andreas@FreeBSD.org
@@ -52,7 +52,10 @@ HP8XX_DRV= gdevcd8.tar.gz
# HPDJ, additional driver for HP PCL3 Printers, by Martin Lottermoser
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
-HPDJ_DRV= hpdj-2.6.tar.gz
+HPDJ_NAME= hpdj
+HPDJ_VERS= 2.6
+HPDJ_DIR= ${HPDJ_NAME}-${HPDJ_VERS}
+HPDJ_SRC= hpdj-2.6.tar.gz
# additional driver for HP DeskJet 970, supports duplex printing
HP970_DRV= gdevdj9.c.gz
@@ -79,9 +82,9 @@ post-extract:
@${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \
${WRKSRC}/jpeg
@${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HP8XX_DRV}
- @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_DRV}
+ @${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${HPDJ_SRC}
# additional HPDJ driver
- @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/hpdj-2.6/hpdj.tar
+ @${TAR} -C ${WRKSRC}/src -xf ${WRKDIR}/${HPDJ_DIR}/${HPDJ_NAME}.tar
@${CAT} ${WRKSRC}/src/contrib.mak-5.94.add >> ${WRKSRC}/src/contrib.mak
@${PATCH} -d ${WRKSRC}/src --forward --quiet -E \
< ${WRKSRC}/src/zmedia2.c-5.50.diff