1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/dns/checkdns/Makefile
Dmitry Marakasov cb9e079ab9 - Switch to options helpers
- Don't install COPYING and INSTALL
2015-08-26 18:21:46 +00:00

39 lines
1.1 KiB
Makefile

# Created by: Ozkan KIRIK <ozkan@enderunix.org>
# $FreeBSD$
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 <bsd.port.mk>