445b9dc0e5
- Respect NOPORTDOCS and install docs to DOCSDIR. - Install missing checkdns.css. - Don't install uninstall.sh. PR: ports/105364 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Approved by: maintainer timeout xride (is holder of this pr)
40 lines
944 B
Makefile
40 lines
944 B
Makefile
# New ports collection makefile for: checkdns
|
|
# Date created: 9 May 2005
|
|
# Whom: Ozkan KIRIK <ozkan@enderunix.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= checkdns
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= dns
|
|
MASTER_SITES= http://www.enderunix.org/checkdns/ \
|
|
http://www.trunix.org/projeler/checkdns/
|
|
|
|
MAINTAINER= joe@joeholden.co.uk
|
|
COMMENT= A domain name server analysis and reporting tool
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS TODO
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/main.c \
|
|
${WRKSRC}/INSTALL ${WRKSRC}/README ${WRKSRC}/checkdns.conf-dist
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/checkdns.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/checkdns.conf-dist ${PREFIX}/etc/checkdns.conf ; \
|
|
fi
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|