aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-05-15 12:08:55 +0800
committermaho <maho@FreeBSD.org>2005-05-15 12:08:55 +0800
commit2cb1fea8bd26d9aceb4588bc9cd5101fe7971d27 (patch)
tree4a7e9b9d97b019e2016ff0b8342d247faefb3494 /editors/openoffice-3-devel
parent83e78b8f32587c1130728a776ec9514f12a35600 (diff)
downloadfreebsd-ports-gnome-2cb1fea8bd26d9aceb4588bc9cd5101fe7971d27.tar.gz
freebsd-ports-gnome-2cb1fea8bd26d9aceb4588bc9cd5101fe7971d27.tar.zst
freebsd-ports-gnome-2cb1fea8bd26d9aceb4588bc9cd5101fe7971d27.zip
Fix wrapper
Submitted by: Mike Durian <durian@shadetreesoftware.com>
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/Makefile1
-rw-r--r--editors/openoffice-3-devel/files/openoffice-wrapper2
2 files changed, 2 insertions, 1 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index d4a65773b3c8..15fe526efb13 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -159,6 +159,7 @@ post-install:
@${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/
@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' \
+ -e 's#%%MILESTONE%%#${MILESTONE}#g' \
-e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \
${WRKDIR}/openoffice-wrapper
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \
diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper
index e0f74354ecef..08f6be3151b0 100644
--- a/editors/openoffice-3-devel/files/openoffice-wrapper
+++ b/editors/openoffice-3-devel/files/openoffice-wrapper
@@ -3,7 +3,7 @@
# $FreeBSD$
oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/program/
-program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
+program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%m%%MILESTONE%%-||'`
case $program in
$0)