Fix default $PATH settings for user-installation.

PR:		23775
Submitted by:	Martin Blapp <mb@imp.ch> (maintainer)
This commit is contained in:
Alexander Langer 2000-12-24 14:26:17 +00:00
parent 81088c4cbb
commit 060c9dbb73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36309

View file

@ -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