blob: 6bb0fdc54f652ad5e914d87f117aa6f29a2b64f4 (
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
28
29
30
31
|
# New ports collection makefile for: py-yara
# Date created: Mar 7 2011
# Whom: wxs@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= yara
PORTVERSION= 1.6
CATEGORIES= security
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= yara-python-${PORTVERSION}
MAINTAINER= wxs@FreeBSD.org
COMMENT= Python bindings for yara
LIB_DEPENDS= yara.0:${PORTSDIR}/security/yara
PROJECTHOST= yara-project
MAKE_JOBS_SAFE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_EGGINFO= yara_python-1.6-${PYTHON_VERSION:S/thon//}.egg-info
PLIST_FILES= %%PYTHON_SITELIBDIR%%/yara.so
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>
|