aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice
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
parentf5d74f643b247d49a4fe53f96c350f187c4b66be (diff)
downloadports-b54c4bed13c22878bfb14343b01b5cf197ed1088.tar.gz
ports-b54c4bed13c22878bfb14343b01b5cf197ed1088.zip
Notes
Diffstat (limited to 'editors/openoffice')
-rw-r--r--editors/openoffice/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile
index 6bd28fccbf48..1a2d187b5bd9 100644
--- a/editors/openoffice/Makefile
+++ b/editors/openoffice/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