summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortron <tron>1998-06-30 21:38:49 +0000
committertron <tron>1998-06-30 21:38:49 +0000
commitff1b810cf156b815dcfc0b6bac7765ad98f38720 (patch)
treee4bead4504747952c962a49b3e97ee4d44f5e5d0 /print
parentfd9e4f5fbfaeef5106c9e878325e2d9679de4331 (diff)
downloadpkgsrc-ff1b810cf156b815dcfc0b6bac7765ad98f38720.tar.gz
Add support for encrypted PDF documents.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript5/Makefile11
-rw-r--r--print/ghostscript5/files/md51
2 files changed, 9 insertions, 3 deletions
diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile
index e5d1b7ed0bd..0b558234743 100644
--- a/print/ghostscript5/Makefile
+++ b/print/ghostscript5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 1998/06/22 13:04:38 agc Exp $
+# $NetBSD: Makefile,v 1.18 1998/06/30 21:38:49 tron Exp $
# FreeBSD Id: Makefile,v 1.14 1997/10/13 11:22:43 asami Exp
#
@@ -6,9 +6,10 @@ DISTNAME= ghostscript-5.10
CATEGORIES= print
MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs510/ \
ftp://ftp.cs.wisc.edu/ghost/aladdin/fonts/ \
- ftp://bonk.ethz.ch/gs-driver-distrib/
+ ftp://bonk.ethz.ch/gs-driver-distrib/ \
+ http://www.ozemail.com.au/~geoffk/pdfencrypt/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
- ${HP850_DRV}
+ ${HP850_DRV} ${PDF_SEC}
MAINTAINER= explorer@netbsd.org
@@ -36,6 +37,9 @@ GS_FONTS_OTHER= ghostscript-fonts-other-4.40.tar.gz
# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
HP850_DRV= hp850.zip
+# PostScript source to decode encrypted PDF files
+PDF_SEC= pdf_sec.ps
+
.include "../../mk/bsd.prefs.mk"
.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")
@@ -56,6 +60,7 @@ post-extract:
${LN} -s ${PKGSRCDIR}/graphics/jpeg/${WRKDIR:T}/jpeg-6a ${WRKSRC}/jpeg-6a
${LN} -s ${PKGSRCDIR}/graphics/png/${WRKDIR:T}/libpng-0.96 ${WRKSRC}/libpng
cd ${WRKSRC} && unzip -La ${DISTDIR}/${HP850_DRV}
+ ${CP} ${DISTDIR}/${PDF_SEC} ${WRKSRC}
do-configure:
@${SETENV} PORTSDIR=${.CURDIR}/../.. WRKSRC=${WRKSRC} \
diff --git a/print/ghostscript5/files/md5 b/print/ghostscript5/files/md5
index 4827b9cec9a..7942d2502e2 100644
--- a/print/ghostscript5/files/md5
+++ b/print/ghostscript5/files/md5
@@ -3,3 +3,4 @@ MD5 (ghostscript-5.10gnu.tar.gz) = 6706117129a5f63dff3a5a2bf4258630
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-4.40.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
MD5 (hp850.zip) = e37477210305e027c45f82d04d1613d1
+MD5 (pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4