aboutsummaryrefslogtreecommitdiffstats
path: root/french/staroffice52
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-12-24 22:26:17 +0800
committeralex <alex@FreeBSD.org>2000-12-24 22:26:17 +0800
commitf7511ba97944f7bd498cff0b7f9b673306539eea (patch)
treeef53c4b327eb0c13b1898f414e84cb7207e506c7 /french/staroffice52
parent054a3e7d82fd24b47ac4ce6e853edffffe2e4d19 (diff)
downloadfreebsd-ports-gnome-f7511ba97944f7bd498cff0b7f9b673306539eea.tar.gz
freebsd-ports-gnome-f7511ba97944f7bd498cff0b7f9b673306539eea.tar.zst
freebsd-ports-gnome-f7511ba97944f7bd498cff0b7f9b673306539eea.zip
Fix default $PATH settings for user-installation.
PR: 23775 Submitted by: Martin Blapp <mb@imp.ch> (maintainer)
Diffstat (limited to 'french/staroffice52')
-rw-r--r--french/staroffice52/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/french/staroffice52/Makefile b/french/staroffice52/Makefile
index 69b04ac09398..6b7459d12eeb 100644
--- a/french/staroffice52/Makefile
+++ b/french/staroffice52/Makefile
@@ -32,6 +32,7 @@ DIST_SUBDIR= staroffice52
WRKSRC= ${WRKDIR}/office52
TMPDIR= ${WRKDIR}/tmp
LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/linux/lib:${LINUXBASE}/usr/lib
+INSTDB.INS= ${PREFIX}/office52/program/instdb.ins
.include <bsd.port.pre.mk>
@@ -120,6 +121,9 @@ do-install:
post-install:
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
+ @${CP} ${INSTDB.INS} ${INSTDB.INS}.orig
+ @${SED} -e 's%DefaultDestPath = "/usr/local/office52%DefaultDestPath = "office52%' \
+ < ${INSTDB.INS}.orig > ${INSTDB.INS}
install-user:
${PREFIX}/office52/program/setup