aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-05-15 04:08:55 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-05-15 04:08:55 +0000
commit298d7ced8e43133b0e021ec36e3226a13d409cdc (patch)
tree7bba741e596de2d94c42d966c9b4999c2be1d2b5 /editors/openoffice.org-3
parentac5f66e54e11db9b38d26e877aede6868308da00 (diff)
downloadports-298d7ced8e43133b0e021ec36e3226a13d409cdc.tar.gz
ports-298d7ced8e43133b0e021ec36e3226a13d409cdc.zip
Notes
Diffstat (limited to 'editors/openoffice.org-3')
-rw-r--r--editors/openoffice.org-3/Makefile1
-rw-r--r--editors/openoffice.org-3/files/openoffice-wrapper4
2 files changed, 3 insertions, 2 deletions
diff --git a/editors/openoffice.org-3/Makefile b/editors/openoffice.org-3/Makefile
index d4a65773b3c8..15fe526efb13 100644
--- a/editors/openoffice.org-3/Makefile
+++ b/editors/openoffice.org-3/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.org-3/files/openoffice-wrapper b/editors/openoffice.org-3/files/openoffice-wrapper
index 6b2037d8040b..f7c5bb8917a3 100644
--- a/editors/openoffice.org-3/files/openoffice-wrapper
+++ b/editors/openoffice.org-3/files/openoffice-wrapper
@@ -1,9 +1,9 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.14 2005-01-10 12:28:19 maho Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.15 2005-05-15 04:08:55 maho Exp $
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)