aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.0
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-05-20 04:24:05 +0800
committermbr <mbr@FreeBSD.org>2002-05-20 04:24:05 +0800
commitc614ac1cf45267564baa9773e695c556fba17736 (patch)
tree6b45674a763cf8c31b00bff0ad3b904a9ce348b6 /editors/openoffice-1.0
parente5cb424acceb807c59039a9a1fdbd841f4d126ac (diff)
downloadfreebsd-ports-gnome-c614ac1cf45267564baa9773e695c556fba17736.tar.gz
freebsd-ports-gnome-c614ac1cf45267564baa9773e695c556fba17736.tar.zst
freebsd-ports-gnome-c614ac1cf45267564baa9773e695c556fba17736.zip
Change SO version in oo_setup.resp. Call sed directly.
Diffstat (limited to 'editors/openoffice-1.0')
-rw-r--r--editors/openoffice-1.0/Makefile5
-rw-r--r--editors/openoffice-1.0/files/oo_setup.resp2
2 files changed, 3 insertions, 4 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index 11158a972fda..4a492937eab7 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -139,9 +139,8 @@ do-build:
tcsh -c 'source FreeBSDEnv.Set && dmake'
pre-install:
- ${SH} -c "cd ${WRKSRC}/../instsetoo/*.pro/01/normal && \
- ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
- < ${FILESDIR}/oo_setup.resp > oo_setup.resp"
+ @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/oo_setup.resp \
+ > ${WRKSRC}/../instsetoo/unxfbsd.pro/01/normal/oo_setup.resp
do-install:
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
diff --git a/editors/openoffice-1.0/files/oo_setup.resp b/editors/openoffice-1.0/files/oo_setup.resp
index 83b51d7f0253..364169bdd695 100644
--- a/editors/openoffice-1.0/files/oo_setup.resp
+++ b/editors/openoffice-1.0/files/oo_setup.resp
@@ -1,7 +1,7 @@
[Environment]
InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD
-DestinationPath = @@PREFIX@@/OpenOffice.org641
+DestinationPath = %%PREFIX%%/OpenOffice.org1.0
[Java]
JavaSupport = preinstalled_or_none