1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net-mgmt/dnsmap/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

36 lines
989 B
Makefile

# Created by: Rihaz Jerrin <rihaz.jerrin@gmail.com>
# $FreeBSD$
PORTNAME= dnsmap
PORTVERSION= 0.30
DISTVERSIONPREFIX= v
CATEGORIES= net-mgmt
MAINTAINER= rihaz.jerrin@gmail.com
COMMENT= DNS domain name brute forcing tool
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
USE_GITHUB= yes
GH_ACCOUNT= lifanov
PORTDOCS= Changelog.txt README.txt CREDITS.txt use_cases.txt
PLIST_FILES= bin/dnsmap bin/dnsmap-bulk ${DATADIR}/wordlist_TLAs.txt
OPTIONS_DEFINE= DOCS
do-build:
${CC} ${CFLAGS} ${WRKSRC}/dnsmap.c -o ${WRKSRC}/dnsmap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-bulk.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-bulk
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/wordlist_TLAs.txt ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>