aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:21:46 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:21:46 +0800
commit7193560605f38c71f311c7ea416cabd2e016fade (patch)
treec45634a758d2595c6ed87e67bd995ceba7f1fdeb /dns
parent7e4de95d12f814bfa865dd4d4a6cac6f5d4c3895 (diff)
downloadfreebsd-ports-gnome-7193560605f38c71f311c7ea416cabd2e016fade.tar.gz
freebsd-ports-gnome-7193560605f38c71f311c7ea416cabd2e016fade.tar.zst
freebsd-ports-gnome-7193560605f38c71f311c7ea416cabd2e016fade.zip
- Switch to options helpers
- Don't install COPYING and INSTALL
Diffstat (limited to 'dns')
-rw-r--r--dns/checkdns/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/dns/checkdns/Makefile b/dns/checkdns/Makefile
index b0ea1a071c02..5408ec46713f 100644
--- a/dns/checkdns/Makefile
+++ b/dns/checkdns/Makefile
@@ -3,7 +3,7 @@
PORTNAME= checkdns
PORTVERSION= 0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= http://www.enderunix.org/checkdns/ \
http://www.trunix.org/projeler/checkdns/
@@ -13,12 +13,10 @@ COMMENT= Domain name server analysis and reporting tool
SUB_FILES= pkg-message
-PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS TODO
+PORTDOCS= AUTHORS ChangeLog README THANKS TODO
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/main.c \
${WRKSRC}/INSTALL ${WRKSRC}/README ${WRKSRC}/checkdns.conf-dist
@@ -30,11 +28,11 @@ do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/lang
${INSTALL_DATA} ${WRKSRC}/checkdns.css ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lang/* ${STAGEDIR}${DATADIR}/lang
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>