1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update plugger to depend/work with acroread5 instead of acroread4

PR:		41991
Submitted by:	maintainer
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-08-25 16:02:39 +00:00
parent 38fe55b653
commit ee2f77eb44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64983
2 changed files with 7 additions and 3 deletions

View File

@ -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} \

View File

@ -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"