aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3-RC
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.org-3-RC
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.org-3-RC')
-rw-r--r--editors/openoffice.org-3-RC/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile
index bc3dd0bad1a7..56651100a5fb 100644
--- a/editors/openoffice.org-3-RC/Makefile
+++ b/editors/openoffice.org-3-RC/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}