- Stage support

This commit is contained in:
Martin Wilke 2014-02-28 03:51:05 +00:00
parent 8009561df0
commit b6b1d84ceb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346430

View file

@ -29,8 +29,6 @@ PLIST_DIRS= %%PYTHON_SITELIBDIR%%/${PORTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/Source
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e "s,gcc,${CC},g" -e "s,g++,${CXX},g" ${WRKSRC}/setup_configure.py
@ -38,13 +36,13 @@ do-build:
@cd ${WRKSRC} && ${MAKE}
pre-install:
${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} \
${WRKSRC}/${PORTNAME}/*.py \
${WRKSRC}/${PORTNAME}/*.so \
${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
.include <bsd.port.mk>