aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/dnsmap/Makefile
blob: 2c8a456a4196fd66ac3a58bfe85778d0198fdfb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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

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>