Step two in making print/acroread and print/acroread4 working again

after change to REINPLACE.

Submitted by:	Volker Stolz <vs@foldr.org>
This commit is contained in:
Edwin Groothuis 2002-11-04 22:22:38 +00:00
parent 5e97315d79
commit 69153696b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69474
2 changed files with 8 additions and 8 deletions

View file

@ -42,9 +42,9 @@ PLIST_SUB= "ARCHDIR=alphaosf"
pre-configure:
.if ${ARCH} == "i386"
@${REINPLACE_CMD} -e 's:Linux\):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
@${REINPLACE_CMD} -e 's:Linux):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
.elif ${ARCH} == "alpha"
@${REINPLACE_CMD} -e 's:OSF1\):FreeBSD|OSF1):g' ${WRKSRC}/INSTALL
@${REINPLACE_CMD} -e 's:OSF1):FreeBSD|OSF1):g' ${WRKSRC}/INSTALL
.endif
do-build:
@ -56,10 +56,10 @@ do-install:
post-install:
.if ${ARCH} == "i386"
@${REINPLACE_CMD} -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"
@${REINPLACE_CMD} -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 && \

View file

@ -41,9 +41,9 @@ PLIST_SUB= "ARCHDIR=alphaosf"
pre-configure:
.if ${ARCH} == "i386"
@${REINPLACE_CMD} -e 's:Linux\):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
@${REINPLACE_CMD} -e 's:Linux):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
.elif ${ARCH} == "alpha"
@${REINPLACE_CMD} -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
@ -56,11 +56,11 @@ do-install:
post-install:
.if ${ARCH} == "i386"
@${REINPLACE_CMD} -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"
@${REINPLACE_CMD} -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 && \