2013-04-29 00:11:47 +02:00
|
|
|
# Created by: Marcin Jessa <yazzy@yazzy.org>
|
2005-09-17 00:47:20 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-05-09 13:07:26 +02:00
|
|
|
PORTNAME= impacket
|
2016-01-10 07:14:31 +01:00
|
|
|
PORTVERSION= 0.9.14
|
2005-09-17 00:47:20 +02:00
|
|
|
CATEGORIES= net python
|
2015-05-05 12:49:42 +02:00
|
|
|
MASTER_SITES= CHEESESHOP \
|
|
|
|
https://github.com/CoreSecurity/impacket/releases/download/impacket_${PORTVERSION:S,.,_,g}/
|
2005-09-17 00:47:20 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2008-12-16 06:25:48 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-09-17 00:47:20 +02:00
|
|
|
COMMENT= Collection of Python classes providing access to network packets
|
|
|
|
|
2014-03-28 22:58:17 +01:00
|
|
|
LICENSE= APACHE11
|
2013-04-29 00:11:47 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2015-11-18 22:41:48 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:${PORTSDIR}/devel/py-pyasn1 \
|
2015-05-05 12:49:42 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pcapy>=0:${PORTSDIR}/net/py-pcapy \
|
2013-05-09 13:07:26 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
|
2005-09-17 00:47:20 +02:00
|
|
|
|
2014-10-24 18:21:26 +02:00
|
|
|
USES= dos2unix python
|
2015-08-01 21:21:26 +02:00
|
|
|
USE_PYTHON= autoplist distutils
|
2013-12-22 00:21:06 +01:00
|
|
|
|
2014-03-28 22:58:17 +01:00
|
|
|
PORTDOCS= *
|
2013-04-29 00:11:47 +02:00
|
|
|
|
2013-12-22 00:21:06 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2016-01-10 07:14:31 +01:00
|
|
|
post-install-DOCS-on:
|
2013-12-22 00:21:06 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2016-01-10 07:14:31 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
2014-03-28 22:58:17 +01:00
|
|
|
cd ${WRKSRC}/impacket && ${COPYTREE_SHARE} testcases ${STAGEDIR}${DOCSDIR}
|
2005-09-17 00:47:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|