diff --git a/devel/py-pymtbl/Makefile b/devel/py-pymtbl/Makefile index 392e6810b820..6ba5714df0ff 100644 --- a/devel/py-pymtbl/Makefile +++ b/devel/py-pymtbl/Makefile @@ -1,36 +1,36 @@ PORTNAME= pymtbl PORTVERSION= 0.6.0 PORTREVISION= 0 CATEGORIES= devel python MASTER_SITES= FARSIGHT LOCAL/truckman/farsight PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= truckman@FreeBSD.org COMMENT= Python wrapper for devel/mtbl WWW= https://github.com/farsightsec/pymtbl LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libmtbl.so:devel/mtbl USES= pkgconfig python shebangfix uniquefiles:dirs USE_PYTHON= autoplist cython distutils SHEBANG_FILES= examples/*.py examples/*/*.py PORTEXAMPLES= * CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= EXAMPLES -post-patch: +pre-build: cython-${PYTHON_VER} ${WRKSRC}/mtbl.pyx post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mtbl*.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include