diff options
author | maho <maho@FreeBSD.org> | 2005-05-15 12:08:55 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2005-05-15 12:08:55 +0800 |
commit | 2cb1fea8bd26d9aceb4588bc9cd5101fe7971d27 (patch) | |
tree | 4a7e9b9d97b019e2016ff0b8342d247faefb3494 /editors/openoffice-3-devel | |
parent | 83e78b8f32587c1130728a776ec9514f12a35600 (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | editors/openoffice-3-devel/files/openoffice-wrapper | 2 |
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) |