summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-08-19 19:11:28 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-08-19 19:11:28 +0000
commitce57dbfea7b94f2b09621befd2b420c75f03aa3c (patch)
tree6cc271c3c8a7e46b93e6ab68d79f6bd96751f300 /print
parentPatch to fix the build when doing USE_GNOMELIBS. (diff)
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.
Notes
Notes: svn path=/head/; revision=64667
Diffstat (limited to 'print')
-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