summaryrefslogtreecommitdiff
path: root/editors
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
parentUpdate 2.07 -> 2.15. (diff)
Fix the sed scripts and use -i orig in the post-install step.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/Makefile7
-rw-r--r--editors/openoffice.org-1.0/Makefile7
-rw-r--r--editors/openoffice/Makefile7
3 files changed, 9 insertions, 12 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
diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile
index 6bd28fccbf48..1a2d187b5bd9 100644
--- a/editors/openoffice.org-1.0/Makefile
+++ b/editors/openoffice.org-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
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