1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/security/py-yara/Makefile
Wesley Shields 95142eca70 Update to 2.0.0.
The port has moved to github and py-yara is no longer a separate tarball
for distribution. It is now bundled with the yara code. At some point I
want to make py-yara not depend directly upon yara. This way you can get
just the python bindings without needing to install yara itself.
2013-12-29 05:59:02 +00:00

32 lines
646 B
Makefile

# $FreeBSD$
PORTNAME= yara
PORTVERSION= 2.0.0
CATEGORIES= security
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wxs@FreeBSD.org
COMMENT= Python bindings for yara
USE_GITHUB= yes
GH_ACCOUNT= plusvic
GH_TAGNAME= v2.0.0
GH_COMMIT= d5dbefb
LIB_DEPENDS= yara:${PORTSDIR}/security/yara
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_EGGINFO= yara_python-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
BUILD_WRKSRC= ${WRKSRC}/yara-python
INSTALL_WRKSRC= ${WRKSRC}/yara-python
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${BUILD_WRKSRC}/setup.py
.include <bsd.port.mk>