aboutsummaryrefslogtreecommitdiffstats
path: root/german
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-12-24 22:23:54 +0800
committeralex <alex@FreeBSD.org>2000-12-24 22:23:54 +0800
commit054a3e7d82fd24b47ac4ce6e853edffffe2e4d19 (patch)
tree972882174b15aff9196570755b72c2b07c3bc636 /german
parent1b1d74bb24c333f4418813689228b1573a1573d8 (diff)
downloadfreebsd-ports-gnome-054a3e7d82fd24b47ac4ce6e853edffffe2e4d19.tar.gz
freebsd-ports-gnome-054a3e7d82fd24b47ac4ce6e853edffffe2e4d19.tar.zst
freebsd-ports-gnome-054a3e7d82fd24b47ac4ce6e853edffffe2e4d19.zip
Fix default $PATH settings for user-installation.
PR: 23774 Submitted by: Martin Blapp <mb@imp.ch> (maintainer)
Diffstat (limited to 'german')
-rw-r--r--german/staroffice52/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/german/staroffice52/Makefile b/german/staroffice52/Makefile
index 6526abb2e0f7..b6682001bfe3 100644
--- a/german/staroffice52/Makefile
+++ b/german/staroffice52/Makefile
@@ -31,6 +31,7 @@ DIST_SUBDIR= staroffice52
WRKSRC= ${WRKDIR}/office52
TMPDIR= ${WRKDIR}/tmp
LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib
+INSTDB.INS= ${PREFIX}/office52/program/instdb.ins
.include <bsd.port.pre.mk>
@@ -116,6 +117,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