freebsd-ports/net/py-impacket/Makefile

34 lines
801 B
Makefile
Raw Normal View History

# Created by: Marcin Jessa <yazzy@yazzy.org>
# $FreeBSD$
PORTNAME= impacket
2014-07-27 12:06:49 +02:00
PORTVERSION= 0.9.12
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of Python classes providing access to network packets
LICENSE= APACHE11
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pcapy>=0:${PORTSDIR}/net/py-pcapy \
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
USES= dos2unix
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/impacket && ${COPYTREE_SHARE} testcases ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>