aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dlint
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-19 19:55:00 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-19 19:55:00 +0800
commitad2b88657cb837bb53c77960a3ae83e7c53eadec (patch)
treeb792973c596f9715fa0ad1b73d695682dc29d6f8 /dns/dlint
parent24a4e8487c66ed0effa73afa77e1fcd4e6ca64e8 (diff)
downloadfreebsd-ports-gnome-ad2b88657cb837bb53c77960a3ae83e7c53eadec.tar.gz
freebsd-ports-gnome-ad2b88657cb837bb53c77960a3ae83e7c53eadec.tar.zst
freebsd-ports-gnome-ad2b88657cb837bb53c77960a3ae83e7c53eadec.zip
- Support staging
- Use shebangfix - Define DOCS
Diffstat (limited to 'dns/dlint')
-rw-r--r--dns/dlint/Makefile18
-rw-r--r--dns/dlint/pkg-plist1
2 files changed, 11 insertions, 8 deletions
diff --git a/dns/dlint/Makefile b/dns/dlint/Makefile
index e669175666fe..49d9611da63b 100644
--- a/dns/dlint/Makefile
+++ b/dns/dlint/Makefile
@@ -11,20 +11,22 @@ DISTNAME= dlint${PORTVERSION}
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Lint for DNS zones (Domain Name Server zone verification utility)
+USES= shebangfix
NO_BUILD= yes
-MAN8= dlint.8
-NO_STAGE= yes
+SHEBANG_FILES= digparse
+
+OPTIONS_DEFINE= DOCS
+
do-configure:
@${REINPLACE_CMD} -e 's:/usr/local/bin:${PREFIX}/sbin:g' ${WRKSRC}/dlint
@${SED} -e 's:DLINT 1:DLINT 8:g' ${WRKSRC}/dlint.1 >${WRKSRC}/dlint.8
do-install:
- cd ${WRKSRC} ; ${INSTALL_SCRIPT} dlint digparse ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/dlint.8 ${PREFIX}/man/man8
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ cd ${WRKSRC} ; ${INSTALL_SCRIPT} dlint digparse \
+ ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/dlint.8 ${STAGEDIR}${MANPREFIX}/man/man8
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/dns/dlint/pkg-plist b/dns/dlint/pkg-plist
index 94411d56bd53..bb0e7da242b6 100644
--- a/dns/dlint/pkg-plist
+++ b/dns/dlint/pkg-plist
@@ -1,4 +1,5 @@
sbin/dlint
sbin/digparse
+man/man8/dlint.8.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%