123456789101112131415161718192021222324252627282930 |
- # $OpenBSD: Makefile,v 1.3 2017/05/31 04:27:51 rpointel Exp $
- COMMENT = Python extension that gives access to YARA
- GH_PROJECT = yara-python
- MODPY_EGG_VERSION = ${VERSION}
- PKGNAME = py-yara-${VERSION}
- WANTLIB += pthread ${MODPY_WANTLIB} yara
- MODULES = lang/python
- MODPY_SETUPTOOLS = Yes
- MODPY_DISTUTILS_BUILDARGS = --dynamic-linking
- MAKE_FLAG += CPPFLAGS="-I${LOCALBASE}/include/yara/"
- pre-configure:
- ${SUBST_CMD} ${WRKSRC}/setup.py
- BUILD_DEPENDS = security/yara/main=${VERSION}
- RUN_DEPENDS = security/yara/main=${VERSION}
- TEST_DEPENDS = security/yara/python
- do-test:
- cd ${WRKSRC} && ${MODPY_BIN} ./tests.py
- .include <bsd.port.mk>
|