diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/apsfilter/Makefile | 2 | ||||
-rw-r--r-- | print/apsfilter/scripts/configure | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index 6e825186f2a8..e339695736b4 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -7,7 +7,7 @@ PORTNAME= apsfilter PORTVERSION= 7.2.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ diff --git a/print/apsfilter/scripts/configure b/print/apsfilter/scripts/configure index 4437b8ebb728..9b968ac24210 100644 --- a/print/apsfilter/scripts/configure +++ b/print/apsfilter/scripts/configure @@ -73,7 +73,15 @@ while [ "$1" ]; do ;; \"GS_NO_X11\") echo WITHOUT_X11=yes - echo RUN_DEPENDS+=gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}-nox11 + case ${GHOSTSCRIPT_PORT} in + *-nox11) + _GSSUF="" + ;; + *) + _GSSUF=-nox11 + ;; + esac + echo RUN_DEPENDS+=gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}${_GSSUF} ;; \"GS_PDF_CRYPT\") echo PDFENCRYPT=YES |