From 1cd097780268ac6536794419f77ee88b21225021 Mon Sep 17 00:00:00 2001 From: adamw Date: Sat, 5 Jul 2014 00:18:17 +0000 Subject: Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while we're here. Remove any other references to NOPORT*. Approved by: portmgr (blanket for modernization) --- dns/checkdns/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dns/checkdns') diff --git a/dns/checkdns/Makefile b/dns/checkdns/Makefile index f8154487674e..8f9d5f1a5975 100644 --- a/dns/checkdns/Makefile +++ b/dns/checkdns/Makefile @@ -16,7 +16,12 @@ SUB_FILES= pkg-message PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS TODO +OPTIONS_DEFINE= DOCS + NO_STAGE= yes + +.include + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/main.c \ ${WRKSRC}/INSTALL ${WRKSRC}/README ${WRKSRC}/checkdns.conf-dist @@ -27,7 +32,7 @@ post-install: ${CP} -p ${PREFIX}/etc/checkdns.conf-dist ${PREFIX}/etc/checkdns.conf ; \ fi -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR} -- cgit