1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/security/py-yara/Makefile
Thierry Thomas 02c5def706 security/py-yara-python-dex: adding prebuilt dex-enabled yara-python wheels
This is needed to upgrade APKiD.

Also add a conflict with security/py-yara.
2022-04-12 19:38:09 +02:00

31 lines
708 B
Makefile

PORTNAME= yara
PORTVERSION= 4.1.0
DISTVERSIONPREFIX= v
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python bindings for yara
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}yara-python-dex
LIB_DEPENDS= libyara.so:security/yara
USE_GITHUB= yes
GH_ACCOUNT= VirusTotal
GH_PROJECT= yara-python
USES= cpe localbase python:3.6+
CPE_VENDOR= virustotal
USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= --dynamic-linking
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} tests.py
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_TARGET= # empty
.include <bsd.port.mk>