blob: 30a35bd4b31bf2053b4e577b759e296e970d8e67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $FreeBSD$
PORTNAME= yara
PORTVERSION= 2.1.0
CATEGORIES= security
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wxs@FreeBSD.org
COMMENT= Python bindings for yara
USE_GITHUB= yes
GH_ACCOUNT= plusvic
GH_TAGNAME= v2.1.0
GH_COMMIT= 6530e73
LIB_DEPENDS= libyara.so:${PORTSDIR}/security/yara
USES= python
USE_PYTHON= distutils autoplist
BUILD_WRKSRC= ${WRKSRC}/yara-python
INSTALL_WRKSRC= ${WRKSRC}/yara-python
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${BUILD_WRKSRC}/setup.py
.include <bsd.port.mk>
|