aboutsummaryrefslogtreecommitdiffstats
path: root/print/acroread5
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-08-20 03:11:28 +0800
committertrevor <trevor@FreeBSD.org>2002-08-20 03:11:28 +0800
commitf925737f884542a6398a41e4927a54614e7ef589 (patch)
treee3e712247c056e4a4b98a263236c385ac7a9a041 /print/acroread5
parentdbb6086063af9c21fb20e308b80137be43d21f14 (diff)
downloadfreebsd-ports-gnome-f925737f884542a6398a41e4927a54614e7ef589.tar.gz
freebsd-ports-gnome-f925737f884542a6398a41e4927a54614e7ef589.tar.zst
freebsd-ports-gnome-f925737f884542a6398a41e4927a54614e7ef589.zip
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/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile
index 988bbf531c27..aa8c36bed754 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