1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/dns/knock/Makefile
2021-04-17 17:16:37 -07:00

32 lines
1.0 KiB
Makefile

PORTNAME= knock
DISTVERSION= 5.1.0
CATEGORIES= dns
PKGNAMESUFFIX= py
MAINTAINER= yuri@FreeBSD.org
COMMENT= Tool designed to enumerate subdomains on a target domain
LICENSE= GPLv2
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python pyqt:5 # pyqt:5 isn't used: https://github.com/guelfoweb/knock/issues/108
USE_PYTHON= distutils noflavors autoplist
USE_PYQT= core_run
USE_GITHUB= yes
GH_ACCOUNT= guelfoweb
NO_ARCH= yes
post-install: # workaround for: pkg_resources.DistributionNotFound: The 'PyQt5' distribution was not found and is required by knockpy
@${REINPLACE_CMD} -e 's|PyQt5||' ${STAGEDIR}/${PYTHON_SITELIBDIR}/*/requires.txt
.include <bsd.port.mk>