2004-07-03 14:23:35 +00:00
|
|
|
# New ports collection makefile for: fpdns
|
|
|
|
# Date Created: July 2 2004
|
|
|
|
# Whom: Edwin Groothuis <edwin@mavetju.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fpdns
|
2005-09-12 03:18:16 +00:00
|
|
|
PORTVERSION= 0.9.3
|
|
|
|
CATEGORIES= dns net perl5
|
2005-10-29 07:13:29 +00:00
|
|
|
MASTER_SITES= http://www.rfc.se/fpdns/distfiles/ \
|
|
|
|
http://dougbarton.us/Downloads/
|
2005-09-12 03:18:16 +00:00
|
|
|
DISTNAME= Net-DNS-Fingerprint-${PORTVERSION}
|
2004-12-14 01:45:52 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2004-07-03 14:23:35 +00:00
|
|
|
|
2005-09-12 03:18:16 +00:00
|
|
|
MAINTAINER= DougB@FreeBSD.org
|
2004-07-03 14:23:35 +00:00
|
|
|
COMMENT= FPDNS - Fingerprinting DNS servers
|
|
|
|
|
2005-07-17 01:40:26 +00:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
|
2004-07-03 14:23:35 +00:00
|
|
|
|
2005-09-12 03:18:16 +00:00
|
|
|
PERL_CONFIGURE= yes
|
2004-12-14 01:45:52 +00:00
|
|
|
|
2005-09-12 03:18:16 +00:00
|
|
|
MAN1= fpdns.1
|
2004-12-14 01:45:52 +00:00
|
|
|
|
2004-07-03 14:23:35 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2005-09-12 03:18:16 +00:00
|
|
|
IGNORE= Requires at least Perl version 5.6.0
|
2004-07-03 14:23:35 +00:00
|
|
|
.endif
|
|
|
|
|
2005-10-29 07:13:29 +00:00
|
|
|
verify: checksum
|
|
|
|
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
|
|
|
|
|
2005-09-12 03:18:16 +00:00
|
|
|
file= ${WRKSRC}/blib/man1/fpdns.1
|
|
|
|
post-build:
|
2004-12-14 01:45:52 +00:00
|
|
|
@${SED} -e 's#\\&\\fIperl\\fR\\|(1), \\fINet::DNS\\fR\\|(1)#&, http://www.rfc.se/fpdns/#' \
|
2005-09-12 03:18:16 +00:00
|
|
|
${file} > ${file}.sed
|
|
|
|
@${MV} ${file}.sed ${file}
|
2004-07-03 14:23:35 +00:00
|
|
|
|
2005-09-12 03:18:16 +00:00
|
|
|
post-install:
|
|
|
|
${RM} ${SITE_PERL}/${PERL_ARCH}/auto/Net/DNS/Fingerprint/.packlist
|
2004-07-03 14:23:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|