diff options
author | mbr <mbr@FreeBSD.org> | 2003-01-22 22:54:21 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-01-22 22:54:21 +0800 |
commit | bb3f8bd1d3aad401143ab8316108e040ca53f378 (patch) | |
tree | 567a8540f09e04cba750bf0123927a3f4e8c6f3e /editors/openoffice | |
parent | 3f0e7c661719b7948128180f100ec7e13639da37 (diff) | |
download | freebsd-ports-graphics-bb3f8bd1d3aad401143ab8316108e040ca53f378.tar.gz freebsd-ports-graphics-bb3f8bd1d3aad401143ab8316108e040ca53f378.tar.zst freebsd-ports-graphics-bb3f8bd1d3aad401143ab8316108e040ca53f378.zip |
Fix the sed scripts and use -i orig in the post-install step.
Diffstat (limited to 'editors/openoffice')
-rw-r--r-- | editors/openoffice/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile index 6bd28fccbf4..1a2d187b5bd 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 |