freebsd-ports/security/py-pydeep/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

29 lines
670 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= pydeep
PORTVERSION= 0.2
CATEGORIES= security devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python bindings for ssdeep
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libfuzzy.so:security/ssdeep
USES= python:2
USE_PYTHON= distutils autoplist
post-patch:
${REINPLACE_CMD} 's|libraries = \["fuzzy"],|libraries = ["fuzzy"], \
include_dirs = ["${LOCALBASE}/include"], \
library_dirs = ["${LOCALBASE}/lib"],|' \
${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pydeep.so
.include <bsd.port.mk>