aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2003-05-11 15:49:18 +0800
committerandreas <andreas@FreeBSD.org>2003-05-11 15:49:18 +0800
commita3c8d4de53a014dc73cedcb700a6a7958fa23d63 (patch)
treeb8432319f4092fb2645f9bf069b154e4f5e9b207 /print
parente97170b5b600ff4a291d5230b4ddf9747233c7d7 (diff)
downloadfreebsd-ports-gnome-a3c8d4de53a014dc73cedcb700a6a7958fa23d63.tar.gz
freebsd-ports-gnome-a3c8d4de53a014dc73cedcb700a6a7958fa23d63.tar.zst
freebsd-ports-gnome-a3c8d4de53a014dc73cedcb700a6a7958fa23d63.zip
- use acroread5 port instead of old ancient acroread (v3) for port dependency,
good suggestion by: ajhar@physics.miami.edu (Dr. Edward Ajhar) - update apsfilters acroread search order to use acroread5 in the 1st place - bump PORTREVISION - tested installation and package-building
Diffstat (limited to 'print')
-rw-r--r--print/apsfilter/Makefile4
-rw-r--r--print/apsfilter/files/patch-bin_apsfilter.in13
-rw-r--r--print/apsfilter/scripts/configure2
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