# Created by: Ozkan KIRIK # $FreeBSD: head/dns/checkdns/Makefile 395387 2015-08-26 18:21:46Z amdmi3 $ PORTNAME= checkdns PORTVERSION= 0.5 PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://www.enderunix.org/checkdns/ \ http://www.trunix.org/projeler/checkdns/ MAINTAINER= ports@FreeBSD.org COMMENT= Domain name server analysis and reporting tool SUB_FILES= pkg-message PORTDOCS= AUTHORS ChangeLog README THANKS TODO OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/main.c \ ${WRKSRC}/INSTALL ${WRKSRC}/README ${WRKSRC}/checkdns.conf-dist @${REINPLACE_CMD} -e 's|CC = gcc|CC = ${CC} -include string.h|' ${WRKSRC}/Makefile 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 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor .include