mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
76c7f8fbe6
minor COMMENT typos and surrounding whitespace fixes. Categories D-F. CR: D196 Approved by: portmgr (bapt)
40 lines
965 B
Makefile
40 lines
965 B
Makefile
# Created by: 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= m.tsatsenko@gmail.com
|
|
COMMENT= Domain name server analysis and reporting tool
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS TODO
|
|
|
|
NO_STAGE= yes
|
|
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
|
|
|
|
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>
|