diff options
author | trevor <trevor@FreeBSD.org> | 2002-08-19 19:11:28 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2002-08-19 19:11:28 +0000 |
commit | f925737f884542a6398a41e4927a54614e7ef589 (patch) | |
tree | e3e712247c056e4a4b98a263236c385ac7a9a041 /print/acroread5 | |
parent | dbb6086063af9c21fb20e308b80137be43d21f14 (diff) | |
download | FreeBSD-ports-f925737f884542a6398a41e4927a54614e7ef589.zip FreeBSD-ports-f925737f884542a6398a41e4927a54614e7ef589.tar.gz |
Make further corrections to the use of sed: the -i option had been
omitted and the -E option was, in one instance, used twice. Change
PORTREVISION because runtime errors were reported by Arjan van
Leeuwen.
Submitted by: KOMATSU Shinichiro and Niall Brady
PR: 41121 and 41605
While I'm here, make a whitespace change suggested by portlint.
Diffstat (limited to 'print/acroread5')
-rw-r--r-- | print/acroread5/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index 988bbf5..aa8c36b 100644 --- a/print/acroread5/Makefile +++ b/print/acroread5/Makefile @@ -7,6 +7,7 @@ PORTNAME= acroread PORTVERSION= 5.06 +PORTREVISION= 1 CATEGORIES= print linux MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/ .include <bsd.port.pre.mk> @@ -21,11 +22,11 @@ ONLY_FOR_ARCHS= i386 USE_LINUX= yes USE_REINPLACE= yes -REINPLACE_ARGS= -E +REINPLACE_ARGS= -i '' -E NO_FILTER_SHLIBS= yes .if ${ARCH} == "i386" -PLIST_SUB= "ARCHDIR=intellinux" +PLIST_SUB= "ARCHDIR=intellinux" .endif WRKSRC= ${WRKDIR} @@ -44,7 +45,7 @@ post-install: ${REINPLACE_CMD} 's:Linux):FreeBSD|Linux):g' ${PREFIX}/Acrobat5/bin/acroread -@/compat/linux/usr/bin/strip ${PREFIX}/Acrobat5/Reader/intellinux/bin/acroread @brandelf -t Linux ${PREFIX}/Acrobat5/Reader/intellinux/bin/acroread - ${REINPLACE_CMD} -E 's:OSF1):FreeBSD|OSF1):g' ${PREFIX}/Acrobat5/bin/acroread + ${REINPLACE_CMD} 's:OSF1):FreeBSD|OSF1):g' ${PREFIX}/Acrobat5/bin/acroread @cd ${PREFIX}/Acrobat5/bin && \ ${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \ ${PREFIX}/bin/acroread5 |