Changeset View
Changeset View
Standalone View
Standalone View
math/py-pycosat/Makefile
Show All 21 Lines | |||||
PYDISTUTILS_BUILDARGS= build_ext \ | PYDISTUTILS_BUILDARGS= build_ext \ | ||||
-I${LOCALBASE}/include -L${LOCALBASE}/lib \ | -I${LOCALBASE}/include -L${LOCALBASE}/lib \ | ||||
-DDONT_INCLUDE_PICOSAT \ | -DDONT_INCLUDE_PICOSAT \ | ||||
-lpicosat | -lpicosat | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/pycosat.so | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/pycosat.so | ||||
regression-test: build | |||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |