freebsd-ports/dns/dnsrecon/Makefile
Tobias Kortkamp 5000111fb7 Add missing databases/py-sqlite3 dependency
PR:		218227
Submitted by:	Rihaz Jerrin <rihaz.jerrin@gmail.com> (maintainer)
Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D10204
2017-03-30 20:21:58 +00:00

42 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= dnsrecon
PORTVERSION= 0.8.9
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= dns
MAINTAINER= rihaz.jerrin@gmail.com
COMMENT= DNS enumeration tool
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython \
${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3
USE_GITHUB= yes
GH_ACCOUNT= darkoperator
USES= python:2.7+ shebangfix
NO_BUILD= yes
NO_ARCH= yes
SHEBANG_FILES= ${WRKSRC}/dnsrecon.py
FILELIST= namelist.txt subdomains-top1mil-20000.txt \
subdomains-top1mil-5000.txt subdomains-top1mil.txt
post-patch:
@${REINPLACE_CMD} -e 's|from lib|from dnsrecon|g' ${WRKSRC}/${PORTNAME}.py
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dnsrecon
(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dnsrecon)
${INSTALL_SCRIPT} ${WRKSRC}/dnsrecon.py ${STAGEDIR}${PREFIX}/bin/dnsrecon
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README
${INSTALL_DATA} ${FILELIST:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>