aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-26 00:02:39 +0800
committerlioux <lioux@FreeBSD.org>2002-08-26 00:02:39 +0800
commit2e4f5c59e1eee6df71e789d7ad19d7a17d29891b (patch)
treed1ff4367c48afabbeaba24ffc1f47754e2c0f625 /www
parentb8ab8cc71c0f998af1d5e1b4bc68d837e1974266 (diff)
downloadfreebsd-ports-gnome-2e4f5c59e1eee6df71e789d7ad19d7a17d29891b.tar.gz
freebsd-ports-gnome-2e4f5c59e1eee6df71e789d7ad19d7a17d29891b.tar.zst
freebsd-ports-gnome-2e4f5c59e1eee6df71e789d7ad19d7a17d29891b.zip
Update plugger to depend/work with acroread5 instead of acroread4
PR: 41991 Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/plugger/Makefile8
-rw-r--r--www/plugger/files/patch-pluggerrc2
2 files changed, 7 insertions, 3 deletions
diff --git a/www/plugger/Makefile b/www/plugger/Makefile
index a3bd9884a480..380ba2c03c20 100644
--- a/www/plugger/Makefile
+++ b/www/plugger/Makefile
@@ -7,12 +7,13 @@
PORTNAME= plugger
PORTVERSION= 4.0
+PORTREVISION= 1
CATEGORIES= www audio graphics
MASTER_SITES= http://fredrik.hubbe.net/plugger/ \
ftp://ftp.netscape.com/pub/sdk/plugin/unix/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} unix-sdk-3.0b5.tar.Z
-MAINTAINER= jmcoopr@webmail.bmi.net
+MAINTAINER= coop9211@uidaho.edu
RUN_DEPENDS= ${X11BASE}/bin/mozilla:${PORTSDIR}/www/mozilla \
${X11BASE}/bin/xanim:${PORTSDIR}/graphics/xanim \
@@ -26,9 +27,10 @@ RUN_DEPENDS= ${X11BASE}/bin/mozilla:${PORTSDIR}/www/mozilla \
${X11BASE}/bin/gv:${PORTSDIR}/print/gv \
${X11BASE}/bin/abiword:${PORTSDIR}/editors/AbiWord \
${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric \
- ${LOCALBASE}/bin/acroread4:${PORTSDIR}/print/acroread4
+ ${LOCALBASE}/bin/acroread5:${PORTSDIR}/print/acroread5
USE_X_PREFIX= yes
+USE_REINPLACE= yes
MAN7= plugger.7
MANCOMPRESSED= no
@@ -66,6 +68,8 @@ post-patch:
@${SED} \
-e 's#/usr/local/#${PREFIX}/#' \
${WRKSRC}/plugger.c.orig > ${WRKSRC}/plugger.c
+# CC safeness
+ @${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/plugger-${PORTVERSION} \
diff --git a/www/plugger/files/patch-pluggerrc b/www/plugger/files/patch-pluggerrc
index e2b0bb77c054..28715d7e1d8e 100644
--- a/www/plugger/files/patch-pluggerrc
+++ b/www/plugger/files/patch-pluggerrc
@@ -55,7 +55,7 @@
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
- repeat swallow(documentShell) fill: acroread -geometry +9000+9000 -xrm '*userFrontEndProgram: FALSE' "$file"
-+ repeat swallow(documentShell) fill: acroread4 -geometry +9000+9000 -xrm '*userFrontEndProgram: FALSE' "$file"
++ repeat swallow(documentShell) fill: acroread5 -geometry +9000+9000 -xrm '*userFrontEndProgram: FALSE' "$file"
repeat swallow(gv) fill: gv -safer -quiet -antialias -geometry +9000+9000 "$file" 2>/dev/null
repeat swallow(xpdf) fill: xpdf -g +9000+9000 -err "$file"