Changeset View
Changeset View
Standalone View
Standalone View
head/devel/py-pymtbl/Makefile
Show All 11 Lines | |||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT | LICENSE_FILE= ${WRKSRC}/COPYRIGHT | ||||
LIB_DEPENDS= libmtbl.so:${PORTSDIR}/devel/mtbl | LIB_DEPENDS= libmtbl.so:${PORTSDIR}/devel/mtbl | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
USES= python shebangfix uniquefiles:dirs | USES= python shebangfix uniquefiles:dirs | ||||
python_CMD= ${PYTHON_CMD} | |||||
python_OLD_CMD= /usr/bin/env python | python_OLD_CMD= /usr/bin/env python | ||||
SHEBANG_FILES= examples/*.py examples/*/*.py | SHEBANG_FILES= examples/*.py examples/*/*.py | ||||
PORTEXAMPLES= * | PORTEXAMPLES= * | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/mtbl.so | ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/mtbl.so | ||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | ||||
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) | (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |