summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2000-02-13 18:14:48 +0000
committerandreas <andreas@FreeBSD.org>2000-02-13 18:14:48 +0000
commit4b5425f4f26d701a5af658a1d66e7b34ed316911 (patch)
treeb596a0677fe4097718ed57a7b89cb040d1a5ad5b /print
parent2bd749c66be10716039ae41edf5aa5bda12a40f0 (diff)
downloadFreeBSD-ports-4b5425f4f26d701a5af658a1d66e7b34ed316911.zip
FreeBSD-ports-4b5425f4f26d701a5af658a1d66e7b34ed316911.tar.gz
Add option to build ghostscript55 with PDFENCRYPT support.
Diffstat (limited to 'print')
-rw-r--r--print/apsfilter/scripts/configure5
-rw-r--r--print/apsfilter6/scripts/configure5
2 files changed, 10 insertions, 0 deletions
diff --git a/print/apsfilter/scripts/configure b/print/apsfilter/scripts/configure
index 53248a0..a6c108f 100644
--- a/print/apsfilter/scripts/configure
+++ b/print/apsfilter/scripts/configure
@@ -15,6 +15,7 @@ LETTER "LETTER printing" OFF \
LETTERDJ "LETTERDJ printing" ON \
A4 "A4 printing" OFF \
PS "Postscript and PDF files" ON \
+ENCRYPTED_PDF "Encrypted PDF files" ON \
ASCII "ASCII/English Text/Scripts" ON \
MAIL "Mail/News articles" ON \
DVI "TeX DVI files" OFF \
@@ -64,6 +65,10 @@ while [ "$1" ]; do
\"PS\")
echo RUN_DEPENDS+=gs:${PORTSDIR}/print/ghostscript55
;;
+ \"ENCRYPTED_PDF\")
+ echo RUN_DEPENDS+=gs:${PORTSDIR}/print/ghostscript55
+ echo PDFENCRYPT=YES
+ ;;
\"ASCII\")
case $PAPERSIZE in
letter)
diff --git a/print/apsfilter6/scripts/configure b/print/apsfilter6/scripts/configure
index 53248a0..a6c108f 100644
--- a/print/apsfilter6/scripts/configure
+++ b/print/apsfilter6/scripts/configure
@@ -15,6 +15,7 @@ LETTER "LETTER printing" OFF \
LETTERDJ "LETTERDJ printing" ON \
A4 "A4 printing" OFF \
PS "Postscript and PDF files" ON \
+ENCRYPTED_PDF "Encrypted PDF files" ON \
ASCII "ASCII/English Text/Scripts" ON \
MAIL "Mail/News articles" ON \
DVI "TeX DVI files" OFF \
@@ -64,6 +65,10 @@ while [ "$1" ]; do
\"PS\")
echo RUN_DEPENDS+=gs:${PORTSDIR}/print/ghostscript55
;;
+ \"ENCRYPTED_PDF\")
+ echo RUN_DEPENDS+=gs:${PORTSDIR}/print/ghostscript55
+ echo PDFENCRYPT=YES
+ ;;
\"ASCII\")
case $PAPERSIZE in
letter)
OpenPOWER on IntegriCloud