aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-2.0-devel/Makefile
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-09-17 04:06:28 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-09-17 04:06:28 +0000
commitf95a4f2995b7b811c30555137a7899d62b5e5de1 (patch)
tree10d0b988fbe5a6d43377088b5376b1ef000cd4e3 /editors/openoffice-2.0-devel/Makefile
parentd22c1369124f0021e699082288099ebd79c64c44 (diff)
downloadports-f95a4f2995b7b811c30555137a7899d62b5e5de1.tar.gz
ports-f95a4f2995b7b811c30555137a7899d62b5e5de1.zip
Notes
Diffstat (limited to 'editors/openoffice-2.0-devel/Makefile')
-rw-r--r--editors/openoffice-2.0-devel/Makefile26
1 files changed, 16 insertions, 10 deletions
diff --git a/editors/openoffice-2.0-devel/Makefile b/editors/openoffice-2.0-devel/Makefile
index 77741f44e526..a11269f11635 100644
--- a/editors/openoffice-2.0-devel/Makefile
+++ b/editors/openoffice-2.0-devel/Makefile
@@ -499,10 +499,10 @@ do-build:
pre-install:
@${CP} ${FILESDIR}/oo_setup.resp \
- ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/
+ ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
- -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
- ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
+ -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' \
+ ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install:
@@ -529,13 +529,19 @@ install-user:
post-install:
@${ECHO_MSG} "===> Add wrapper scripts";
- @${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
- @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
- @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
- @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
- @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
+ @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/
+ @${CP} ${FILESDIR}/freebsd-local.sh ${WRKDIR}/
+ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
+ -e 's#%%LANG%%#${USE_LANG}#g' \
+ -e 's#%%BUILD_NR%%#${BUILD_NR}#g' \
+ -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' \
+ -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' \
+ ${WRKDIR}/openoffice \
+ ${WRKDIR}/freebsd-local.sh
+ @${INSTALL_SCRIPT} ${WRKDIR}/openoffice \
+ ${PREFIX}/bin/openoffice-${RELEASE_NR}
+ @${INSTALL_SCRIPT} ${WRKDIR}/freebsd-local.sh \
+ ${PREFIX}/${INSTALLATION_BASEDIR}/freebsd-local.sh
@${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw