aboutsummaryrefslogtreecommitdiffstats
path: root/dns/fpdns/Makefile
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2004-12-14 09:45:52 +0800
committerdougb <dougb@FreeBSD.org>2004-12-14 09:45:52 +0800
commit03b42c4cc064b146ef671672c8bc2620e96cf63c (patch)
tree1cf346fd4441e8670a85a72cce39f15ed37aca84 /dns/fpdns/Makefile
parent4d1a108b10962bde861f8d39901b17ebc6f285b2 (diff)
downloadfreebsd-ports-gnome-03b42c4cc064b146ef671672c8bc2620e96cf63c.tar.gz
freebsd-ports-gnome-03b42c4cc064b146ef671672c8bc2620e96cf63c.tar.zst
freebsd-ports-gnome-03b42c4cc064b146ef671672c8bc2620e96cf63c.zip
Update to 0.9.1, the latest version, which includes a man page.
And while I'm here: 1. Download the PGP .sig file, in case the user wants to verify the package 2. Switch to PLIST_FILES for the one file this port installs 3. Replace the lone patch file with a ${SED} command For those keeping score at home, that's 3 inodes gone with one commit! :) Approved by: edwin (maintainer)
Diffstat (limited to 'dns/fpdns/Makefile')
-rw-r--r--dns/fpdns/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/dns/fpdns/Makefile b/dns/fpdns/Makefile
index fdfcef228308..d2fecd0c6fd8 100644
--- a/dns/fpdns/Makefile
+++ b/dns/fpdns/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= fpdns
-PORTVERSION= 0.9.0
+PORTVERSION= 0.9.1
CATEGORIES= dns
MASTER_SITES= http://www.rfc.se/fpdns/distfiles/
-DISTFILES= ${PORTNAME}-${PORTVERSION}.gz
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= edwin@mavetju.org
COMMENT= FPDNS - Fingerprinting DNS servers
@@ -18,17 +19,26 @@ WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_PERL5_RUN= yes
+MAN1= fpdns.1
+
+PLIST_FILES= bin/fpdns
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "Requires at least Perl version 5.6.0"
.endif
-do-extract:
- ${MKDIR} ${WRKDIR}
- ${GZCAT} ${DISTDIR}/${DISTFILES} > ${WRKDIR}/fpdns.pl
+pre-extract:
+ @${MKDIR} ${WRKDIR}
+
+post-patch:
+ @${SED} -e 's#\\&\\fIperl\\fR\\|(1), \\fINet::DNS\\fR\\|(1)#&, http://www.rfc.se/fpdns/#' \
+ ${WRKDIR}/fpdns.1 > ${WRKDIR}/fpdns.1.sed
+ @${MV} ${WRKDIR}/fpdns.1.sed ${WRKDIR}/fpdns.1
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/fpdns.pl ${PREFIX}/bin/fpdns
+ ${INSTALL_MAN} ${WRKDIR}/fpdns.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>