mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
e9013eabd8
- Don't hardcode py2.7 - Respect custom LOCALBASE
32 lines
717 B
Makefile
32 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.5
|
|
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.5-${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>
|