aboutsummaryrefslogtreecommitdiff
path: root/print/acroread
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /print/acroread
parent3ff37e385bb15e608586b24278ba3dde9ea57151 (diff)
downloadports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz
ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip
Notes
Diffstat (limited to 'print/acroread')
-rw-r--r--print/acroread/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile
index dc399c479efe..bf595a7404a5 100644
--- a/print/acroread/Makefile
+++ b/print/acroread/Makefile
@@ -30,6 +30,7 @@ RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
ONLY_FOR_ARCHS= i386 alpha
NO_FILTER_SHLIBS= yes
+USE_REINPLACE= yes
.if ${ARCH} == "i386"
WRKSRC= ${WRKDIR}/ILINXR.install
@@ -41,9 +42,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
.endif
do-build:
@@ -55,10 +56,10 @@ do-install:
post-install:
.if ${ARCH} == "i386"
- @${PERL} -pi -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat3/bin/acroread
+ @${REINPLACE_CMD} -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat3/bin/acroread
@brandelf -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread
.elif ${ARCH} == "alpha"
- @${PERL} -pi -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat3/bin/acroread
+ @${REINPLACE_CMD} -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat3/bin/acroread
.endif
@cd ${PREFIX}/Acrobat3/bin && \
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \