freebsd-ports/security/py-yara/Makefile
2012-01-08 01:44:55 +00:00

31 lines
717 B
Makefile

# 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>