diff options
Diffstat (limited to '')
-rw-r--r-- | print/apsfilter/Makefile | 4 | ||||
-rw-r--r-- | print/apsfilter/files/patch-bin_apsfilter.in | 13 | ||||
-rw-r--r-- | print/apsfilter/scripts/configure | 2 |
3 files changed, 16 insertions, 3 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index 151c2c82cf0b..7434aca5cc9c 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -7,7 +7,7 @@ PORTNAME= apsfilter PORTVERSION= 7.2.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ @@ -75,7 +75,7 @@ RUN_DEPENDS+= htmldoc:${PORTSDIR}/textproc/htmldoc RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter .if !defined(WITHOUT_X11) # "xxx to ps" filter utilities that require X -RUN_DEPENDS+= acroread4:${PORTSDIR}/print/acroread4 +RUN_DEPENDS+= acroread5:${PORTSDIR}/print/acroread5 RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick RUN_DEPENDS+= dvips:${PORTSDIR}/print/teTeX RUN_DEPENDS+= wmf2eps:${PORTSDIR}/graphics/libwmf diff --git a/print/apsfilter/files/patch-bin_apsfilter.in b/print/apsfilter/files/patch-bin_apsfilter.in new file mode 100644 index 000000000000..1726fe16cac2 --- /dev/null +++ b/print/apsfilter/files/patch-bin_apsfilter.in @@ -0,0 +1,13 @@ +--- bin/apsfilter.in.orig Sun May 11 09:32:08 2003 ++++ bin/apsfilter.in Sun May 11 09:32:48 2003 +@@ -1040,7 +1040,9 @@ + ${ACROREAD_OPTS:--level2 -fast}" + + cat > "$APS_TMPDIR/pdf" +- if find_filter acroread4; then ++ if find_filter acroread5; then ++ eval acroread5 $ACROREAD_OPTS -pairs "$APS_TMPDIR/pdf" /dev/stdout ++ elif find_filter acroread4; then + eval acroread4 $ACROREAD_OPTS -pairs "$APS_TMPDIR/pdf" /dev/stdout + elif find_filter acroread; then + eval acroread $ACROREAD_OPTS -pairs "$APS_TMPDIR/pdf" /dev/stdout diff --git a/print/apsfilter/scripts/configure b/print/apsfilter/scripts/configure index 611026ae1f2c..8e1c4dbf362f 100644 --- a/print/apsfilter/scripts/configure +++ b/print/apsfilter/scripts/configure @@ -101,7 +101,7 @@ while [ "$1" ]; do esac ;; \"ACROREAD4\") - echo RUN_DEPENDS+=acroread4:${PORTSDIR}/print/acroread4 + echo RUN_DEPENDS+=acroread5:${PORTSDIR}/print/acroread5 ;; \"CONVERT\") echo RUN_DEPENDS+=convert:${PORTSDIR}/graphics/ImageMagick |