summaryrefslogtreecommitdiffstats
path: root/dns/checkdns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/checkdns/Makefile')
-rw-r--r--dns/checkdns/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/dns/checkdns/Makefile b/dns/checkdns/Makefile
index 8f9d5f1..743f51f 100644
--- a/dns/checkdns/Makefile
+++ b/dns/checkdns/Makefile
@@ -11,15 +11,12 @@ MASTER_SITES= http://www.enderunix.org/checkdns/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Domain name server analysis and reporting tool
-
SUB_FILES= pkg-message
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS TODO
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-
.include <bsd.port.options.mk>
post-patch:
@@ -27,18 +24,18 @@ post-patch:
${WRKSRC}/INSTALL ${WRKSRC}/README ${WRKSRC}/checkdns.conf-dist
@${REINPLACE_CMD} -e 's|CC = gcc|CC = ${CC} -include string.h|' ${WRKSRC}/Makefile
-post-install:
- @if [ ! -f ${PREFIX}/etc/checkdns.conf ]; then \
- ${CP} -p ${PREFIX}/etc/checkdns.conf-dist ${PREFIX}/etc/checkdns.conf ; \
- fi
-
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/checkdns ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/checkdns.conf-dist ${STAGEDIR}${PREFIX}/etc/
+ ${MKDIR} ${STAGEDIR}${DATADIR}/lang
+ ${INSTALL_DATA} ${WRKSRC}/checkdns.css ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/lang/* ${STAGEDIR}${DATADIR}/lang
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
.endif
-
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud