aboutsummaryrefslogtreecommitdiff
path: root/print/acroread4
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:18:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:18:21 +0000
commita6429924fc57a145369eb5b2d3d0f45c65656b19 (patch)
treea7703a1b06cbba057e160e6f7af6e66d74cfc940 /print/acroread4
parent31bf3a3efffb2842e5c1ffda6275830a3e3c8ae5 (diff)
downloadports-a6429924fc57a145369eb5b2d3d0f45c65656b19.tar.gz
ports-a6429924fc57a145369eb5b2d3d0f45c65656b19.zip
Notes
Diffstat (limited to 'print/acroread4')
-rw-r--r--print/acroread4/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/acroread4/Makefile b/print/acroread4/Makefile
index 91c914c74434..f1bf2c42699e 100644
--- a/print/acroread4/Makefile
+++ b/print/acroread4/Makefile
@@ -26,6 +26,7 @@ RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
ONLY_FOR_ARCHS= i386 alpha
+USE_REINPLACE= yes
LATEST_LINK= acroread4
NO_FILTER_SHLIBS= yes
@@ -40,9 +41,9 @@ PLIST_SUB= "ARCHDIR=alphaosf"
pre-configure:
.if ${ARCH} == "i386"
- @${PERL} -pi.fbsd -e 's:Linux\):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
+ @${REINPLACE_CMD} -e 's:Linux\):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
.elif ${ARCH} == "alpha"
- @${PERL} -pi.fbsd -e 's:OSF1\):FreeBSD|OSF1):g' ${WRKSRC}/INSTALL
+ @${REINPLACE_CMD} -e 's:OSF1\):FreeBSD|OSF1):g' ${WRKSRC}/INSTALL
${SED} -e 's/@comment ALPHA-ONLY://g' ${PKGDIR}/pkg-plist > ${PLIST}
.endif
@@ -55,11 +56,11 @@ do-install:
post-install:
.if ${ARCH} == "i386"
- @${PERL} -pi -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat4/bin/acroread
+ @${REINPLACE_CMD} -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat4/bin/acroread
-@/compat/linux/usr/bin/strip ${PREFIX}/Acrobat4/Reader/intellinux/bin/acroread
@brandelf -t Linux ${PREFIX}/Acrobat4/Reader/intellinux/bin/acroread
.elif ${ARCH} == "alpha"
- @${PERL} -pi -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat4/bin/acroread
+ @${REINPLACE_CMD} -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat4/bin/acroread
@strip ${PREFIX}/Acrobat4/Reader/alphaosf/bin/acroread
.endif
@cd ${PREFIX}/Acrobat4/bin && \