Changeset View
Changeset View
Standalone View
Standalone View
java/eclipse-pydev/Makefile
Show All 31 Lines | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MJYTHON} | .if ${PORT_OPTIONS:MJYTHON} | ||||
RUN_DEPENDS+= jython:${PORTSDIR}/lang/jython | RUN_DEPENDS+= jython:${PORTSDIR}/lang/jython | ||||
.endif | .endif | ||||
pre-install: | pre-install: | ||||
@${ECHO_MSG} "===> Creating bundles.info" | @${ECHO_MSG} "===> Creating bundles.info" | ||||
@PLUGINS=$$(ls -1 ${WRKDIR}/plugins); \ | @PLUGINS=$$(ls -1 ${WRKSRC}/plugins); \ | ||||
for d in $${PLUGINS}; do \ | for d in $${PLUGINS}; do \ | ||||
(${ECHO_CMD} "$${d},../../${PLUGINDIR}/$${d}/,4,false" | \ | (${ECHO_CMD} "$${d},../../${PLUGINDIR}/$${d}/,4,false" | \ | ||||
${SED} -e 's/_\([0-9]\)/,\1/1' -e '/templates/d') >> ${WRKDIR}/plugins/bundles.info; \ | ${SED} -e 's/_\([0-9]\)/,\1/1' -e '/templates/d') >> ${WRKSRC}/plugins/bundles.info; \ | ||||
done | done | ||||
@# ignore javashell.py file, because there is a syntax error | @# ignore javashell.py file, because there is a syntax error | ||||
@# see http://goo.gl/E4epH | @# see http://goo.gl/E4epH | ||||
${PYTHON_CMD} -m compileall -x javashell.py -f ${WRKSRC}/plugins | ${PYTHON_CMD} -m compileall -x javashell.py -f ${WRKSRC}/plugins | ||||
${PYTHON_CMD} -O -m compileall -x javashell.py -f ${WRKSRC} | ${PYTHON_CMD} -O -m compileall -x javashell.py -f ${WRKSRC} | ||||
add-plist-post: | add-plist-post: | ||||
@${ECHO_CMD} "@exec ${CAT} ${PYDEV_BUNDLES_INFO} >> ${BUNDLES_INFO}" >> ${TMPPLIST} | @${ECHO_CMD} "@exec ${CAT} ${PYDEV_BUNDLES_INFO} >> ${BUNDLES_INFO}" >> ${TMPPLIST} | ||||
@${ECHO_CMD} "@unexec ${SED} -i '' -E '/^((org)|(com))\.python\.pydev/d' %D/lib/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info" >> ${TMPPLIST} | @${ECHO_CMD} "@unexec ${SED} -i '' -E '/^((org)|(com))\.python\.pydev/d' %D/lib/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info" >> ${TMPPLIST} | ||||
.include "${PORTSDIR}/java/eclipse/Makefile.plugins" | .include "${PORTSDIR}/java/eclipse/Makefile.plugins" | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |