aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-10-16 15:25:40 +0800
committermaho <maho@FreeBSD.org>2005-10-16 15:25:40 +0800
commitcb21ccf766ef5c7312f805528d8aa0c9f52e5952 (patch)
tree01012a2ee7cfaf8f208d206a077bdaa2c4a0d143 /editors/openoffice-3
parent398b108962f8718f51696b79ad2aae34f8c45f9b (diff)
downloadfreebsd-ports-gnome-cb21ccf766ef5c7312f805528d8aa0c9f52e5952.tar.gz
freebsd-ports-gnome-cb21ccf766ef5c7312f805528d8aa0c9f52e5952.tar.zst
freebsd-ports-gnome-cb21ccf766ef5c7312f805528d8aa0c9f52e5952.zip
Add python postinstall script.
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile
index bc3dd0bad1a7..56651100a5fb 100644
--- a/editors/openoffice-3/Makefile
+++ b/editors/openoffice-3/Makefile
@@ -199,6 +199,11 @@ post-install:
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-simpress
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter
+# python post-install script start
+# consult instsetoo_native/inc_openoffice/unix/shellscripts_pyuno.txt
+ @cd ${PREFIX}/${INSTALLATION_BASEDIR}/program ; ${LN} -s python-core-2.3.4 ${PREFIX}/${INSTALLATION_BASEDIR}/program/python-core; ${LN} -s python.sh ${PREFIX}/${INSTALLATION_BASEDIR}/program/python
+ ${CHMOD} +x ${PREFIX}/${INSTALLATION_BASEDIR}/program/python-core-2.3.4/bin/python
+# python post-install script end
@${PRINTF} "bin/openoffice.org\n" > ${TMPPLIST}
@cd ${PREFIX} ; ${FIND} -s bin -type f | ${GREP} ${EXECBASE} >> ${TMPPLIST}
@cd ${PREFIX} ; ${FIND} -s bin -type l | ${GREP} ${EXECBASE} >> ${TMPPLIST}