1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/net/py-impacket/Makefile
2021-04-06 16:31:07 +02:00

35 lines
975 B
Makefile

# Created by: Marcin Jessa <yazzy@yazzy.org>
PORTNAME= impacket
PORTVERSION= 0.9.17
CATEGORIES= net python
MASTER_SITES= CHEESESHOP \
https://github.com/CoreSecurity/impacket/releases/download/impacket_${PORTVERSION:S,.,_,g}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= contato@kanazuchi.com
COMMENT= Collection of Python classes providing access to network packets
LICENSE= APACHE11 ZLIB
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pcapy>=0:net/py-pcapy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR}
USES= dos2unix python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>