summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-01-22 14:54:21 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-01-22 14:54:21 +0000
commitb54c4bed13c22878bfb14343b01b5cf197ed1088 (patch)
tree7c941dfad3a344a545b31038dc232d2a361efe71 /editors/openoffice-1.0
parentUpdate 2.07 -> 2.15. (diff)
Fix the sed scripts and use -i orig in the post-install step.
Notes
Notes: svn path=/head/; revision=73785
Diffstat (limited to 'editors/openoffice-1.0')
-rw-r--r--editors/openoffice-1.0/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index 6bd28fccbf48..1a2d187b5bd9 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -512,10 +512,9 @@ install-user:
post-install:
@${ECHO_MSG} "===> Add wrapper scripts";
- @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/openoffice-wrapper \
- > ${WRKDIR}/openoffice
- @${SED} -e 's#%%LANG%%#${USE_LANG}#g' < ${FILESDIR}/openoffice-wrapper \
- > ${WRKDIR}/openoffice
+ @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/openoffice
+ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
+ @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-scalc