aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnswalk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-17 21:30:16 +0800
committerbapt <bapt@FreeBSD.org>2014-02-17 21:30:16 +0800
commit798cb343ff4fc41e3557a803b528b18c58ff1ee0 (patch)
treedabd641ef0bfc7d429d9a2d7e93494f8f531aa4a /dns/dnswalk
parenta31f5b5f93433323e8cd1252a5fc5f626880faf8 (diff)
downloadfreebsd-ports-graphics-798cb343ff4fc41e3557a803b528b18c58ff1ee0.tar.gz
freebsd-ports-graphics-798cb343ff4fc41e3557a803b528b18c58ff1ee0.tar.zst
freebsd-ports-graphics-798cb343ff4fc41e3557a803b528b18c58ff1ee0.zip
Support stage
Fix some shebangs
Diffstat (limited to 'dns/dnswalk')
-rw-r--r--dns/dnswalk/Makefile40
-rw-r--r--dns/dnswalk/pkg-plist1
2 files changed, 18 insertions, 23 deletions
diff --git a/dns/dnswalk/Makefile b/dns/dnswalk/Makefile
index aba5210178e..b4eb6a68e3f 100644
--- a/dns/dnswalk/Makefile
+++ b/dns/dnswalk/Makefile
@@ -3,40 +3,34 @@
PORTNAME= dnswalk
PORTVERSION= 2.0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= SF
MAINTAINER= mark@foster.cc
COMMENT= DNS debugger - requests a zone transfer and analyzes the result
+OPTIONS_DEFINE= DOCS EXAMPLES
+
RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
NO_WRKSUBDIR= YES
NO_BUILD= YES
-USES= perl5
-
-MAN1= dnswalk.1
-
-NO_STAGE= yes
-pre-configure:
- ${MV} -f ${WRKDIR}/dnswalk ${WRKDIR}/dnswalk.orig
- ${SED} -e "s#/usr/contrib/bin/perl#${PERL5}#"\
- < ${WRKDIR}/dnswalk.orig > ${WRKDIR}/dnswalk
+USES= perl5 shebangfix
+perl_OLD_CMD= /usr/contrib/bin/perl
+SHEBANG_FILES= dnswalk makereports
do-install:
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/do-dnswalk ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/makereports ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/sendreports ${EXAMPLESDIR}
-.endif
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/dnswalk.errors ${DOCSDIR}
-.endif
- ${INSTALL_MAN} ${WRKDIR}/dnswalk.1 ${PREFIX}/man/man1
- ${INSTALL_SCRIPT} ${WRKDIR}/dnswalk ${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/do-dnswalk \
+ ${WRKDIR}/makereports \
+ ${WRKDIR}/sendreports \
+ ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/README \
+ ${WRKDIR}/dnswalk.errors \
+ ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKDIR}/dnswalk.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_SCRIPT} ${WRKDIR}/dnswalk ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/dns/dnswalk/pkg-plist b/dns/dnswalk/pkg-plist
index c6823c54b8d..3327debabdd 100644
--- a/dns/dnswalk/pkg-plist
+++ b/dns/dnswalk/pkg-plist
@@ -1,4 +1,5 @@
bin/dnswalk
+man/man1/dnswalk.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/do-dnswalk
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/makereports
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sendreports