From a363f11433094ca0927e784b53ff2c83ce8fe7a1 Mon Sep 17 00:00:00 2001 From: downsj Date: Thu, 12 Nov 1998 12:07:32 +0000 Subject: [PATCH] Add encrypted PDF support file. --- print/ghostscript5/Makefile | 11 ++++++++--- print/ghostscript5/files/md5 | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile index 8f7d560b11c..0a485a186b0 100644 --- a/print/ghostscript5/Makefile +++ b/print/ghostscript5/Makefile @@ -3,15 +3,16 @@ # Date created: December 2, 1997 # Whom: Angelos D. Keromytis # -# $OpenBSD: Makefile,v 1.8 1998/10/20 06:08:10 marc Exp $ +# $OpenBSD: Makefile,v 1.9 1998/11/12 12:07:32 downsj Exp $ # DISTNAME= ghostscript-5.10 CATEGORIES= print MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs510/ \ - ftp://bonk.ethz.ch/gs-driver-distrib/ + ftp://bonk.ethz.ch/gs-driver-distrib/ \ + http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/ DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \ - ${HP850_DRV} + ${HP850_DRV} ${PDFENCRYPT} MAINTAINER= ports@openbsd.org @@ -38,6 +39,9 @@ GS_FONTS_OTHER= ghostscript-fonts-other-5.10.tar.gz # Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html HP850_DRV= hp850.zip +# PDF Encryption support, see http://www.ozemail.com.au/~geoffk/pdfencrypt/ +PDFENCRYPT= pdf_sec.ps + # Location of the extracted jpeg sources # .if defined(OBJMACHINE) @@ -66,6 +70,7 @@ post-extract: @${TOUCH} ${WRKSRC}/trees.o @${LN} -sf ${JPEG_DIR} ${WRKSRC}/jpeg-6b @cd ${WRKSRC} && ${SETENV} unzip -La ${DISTDIR}/${HP850_DRV} + @cp ${DISTDIR}/${PDFENCRYPT} ${WRKSRC} do-configure: .if defined(BATCH) diff --git a/print/ghostscript5/files/md5 b/print/ghostscript5/files/md5 index f3fbac0faec..9abd7d53729 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-5.10.tar.gz) = 8462a429e2672d332a510da076dca6d2 MD5 (ghostscript-fonts-other-5.10.tar.gz) = fcf3abf81a1b46da9a92942d288020f9 MD5 (hp850.zip) = e37477210305e027c45f82d04d1613d1 +MD5 (pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4