summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2003-05-11 07:49:18 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2003-05-11 07:49:18 +0000
commit55855a21d91808c0df3cf2fe9eec4c7f7025f3f5 (patch)
tree0d8f60805bff8c46e4b383576f2d15e596e429f9 /print
parent- allow build with more warnings enabled, NO_WERROR=yes (diff)
- 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
Notes
Notes: svn path=/head/; revision=80657
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