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
|
2014-07-27 12:06:49 +02:00
|
|
|
PORTVERSION= 0.9.12
|
2005-09-17 00:47:20 +02:00
|
|
|
CATEGORIES= net python
|
2014-03-28 22:58:17 +01:00
|
|
|
MASTER_SITES= CHEESESHOP
|
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
|
|
|
|
|
2013-05-09 13:07:26 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pcapy>=0:${PORTSDIR}/net/py-pcapy \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
|
2005-09-17 00:47:20 +02:00
|
|
|
|
2013-11-20 00:08:44 +01:00
|
|
|
USES= dos2unix
|
2005-09-17 00:47:20 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
2013-12-22 00:21:06 +01:00
|
|
|
PYDISTUTILS_AUTOPLIST=yes
|
|
|
|
|
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
|
|
|
|
|
2005-09-17 00:47:20 +02:00
|
|
|
post-install:
|
2013-12-22 00:21:06 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-03-28 22:58:17 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/impacket && ${COPYTREE_SHARE} testcases ${STAGEDIR}${DOCSDIR}
|
2005-09-17 00:47:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|