mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
f7455240e3
PR: 225752 Submitted by: Yasuhiro KIMURA
31 lines
688 B
Makefile
31 lines
688 B
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pydeep
|
|
PORTVERSION= 0.2
|
|
PORTREVISION= 1
|
|
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.7
|
|
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>
|