aboutsummaryrefslogtreecommitdiff
path: root/editors/staroffice52
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-12-24 14:21:47 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-12-24 14:21:47 +0000
commit961ac0e452150f8959c2df505e02e98165156fe6 (patch)
treeb350513494fd0567c34e2e96847ada6b2d4b12ca /editors/staroffice52
parent9775928ec93b3460c6cb5640bb7a00bec5bcd789 (diff)
downloadports-961ac0e452150f8959c2df505e02e98165156fe6.tar.gz
ports-961ac0e452150f8959c2df505e02e98165156fe6.zip
Notes
Diffstat (limited to 'editors/staroffice52')
-rw-r--r--editors/staroffice52/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/staroffice52/Makefile b/editors/staroffice52/Makefile
index 4085d13df594..b081bfe47260 100644
--- a/editors/staroffice52/Makefile
+++ b/editors/staroffice52/Makefile
@@ -36,6 +36,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>
@@ -121,6 +122,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