aboutsummaryrefslogtreecommitdiff
path: root/dns/fpdns/Makefile
blob: 3d12c53941965d6b0ce5a3a0341484daa16fa68d (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
34
35
36
37
38
# New ports collection makefile for:	fpdns
# Date Created:				July 2 2004
# Whom:					Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#

PORTNAME=	fpdns
PORTVERSION=	0.9.3
CATEGORIES=	dns net perl5
MASTER_SITES=	http://www.rfc.se/fpdns/distfiles/ \
		http://dougbarton.us/Downloads/
DISTNAME=	Net-DNS-Fingerprint-${PORTVERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	DougB@FreeBSD.org
COMMENT=	FPDNS - Fingerprinting DNS servers

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS

PERL_CONFIGURE=	yes

MAN1=		fpdns.1

verify:	checksum
	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig

file=	${WRKSRC}/blib/man1/fpdns.1
post-build:
	@${SED} -e 's#\\&\\fIperl\\fR\\|(1), \\fINet::DNS\\fR\\|(1)#&, http://www.rfc.se/fpdns/#' \
		${file} > ${file}.sed
	@${MV} ${file}.sed ${file}

post-install:
	${RM} ${SITE_PERL}/${PERL_ARCH}/auto/Net/DNS/Fingerprint/.packlist

.include <bsd.port.mk>