Date: Sat, 5 Jul 2014 00:18:18 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360706 - in head/dns: checkdns dhisd posadis Message-ID: <201407050018.s650IITf077964@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Sat Jul 5 00:18:17 2014 New Revision: 360706 URL: http://svnweb.freebsd.org/changeset/ports/360706 QAT: https://qat.redports.org/buildarchive/r360706/ Log: 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) Modified: head/dns/checkdns/Makefile head/dns/dhisd/Makefile head/dns/posadis/Makefile Modified: head/dns/checkdns/Makefile ============================================================================== --- head/dns/checkdns/Makefile Sat Jul 5 00:15:40 2014 (r360705) +++ head/dns/checkdns/Makefile Sat Jul 5 00:18:17 2014 (r360706) @@ -16,7 +16,12 @@ SUB_FILES= pkg-message PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS TODO +OPTIONS_DEFINE= DOCS + NO_STAGE= yes + +.include <bsd.port.options.mk> + 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} Modified: head/dns/dhisd/Makefile ============================================================================== --- head/dns/dhisd/Makefile Sat Jul 5 00:15:40 2014 (r360705) +++ head/dns/dhisd/Makefile Sat Jul 5 00:18:17 2014 (r360706) @@ -17,7 +17,12 @@ LDFLAGS+= -L${PREFIX}/lib DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README +OPTIONS_DEFINE= DOCS + NO_STAGE= yes + +.include <bsd.port.options.mk> + post-patch: ${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh cd ${WRKSRC} && ${REINPLACE_CMD} -e "s^__PREFIX__^${PREFIX}^g" \ @@ -46,7 +51,7 @@ post-install: @${INSTALL_SCRIPT} -m 751 ${WRKSRC}/dhisd.sh ${PREFIX}/etc/rc.d/dhisd.sh @${ECHO_CMD} "etc/rc.d/dhisd.sh" >> ${TMPPLIST} .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} "===> Installing documentation in ${DOCSDIR}" @${MKDIR} ${DOCSDIR} @${CHMOD} 755 ${DOCSDIR} @@ -63,7 +68,7 @@ post-install: @${ECHO} "" @${ECHO} "For more information, see the following site:" @${ECHO} "http://www.dhis.org/dhis/r5/" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO} "" @${ECHO} "or the files in ${DOCSDIR}" @${ECHO} "Read INSTALL and INSTALL.bsd at least for the setup information of dhisd." Modified: head/dns/posadis/Makefile ============================================================================== --- head/dns/posadis/Makefile Sat Jul 5 00:15:40 2014 (r360705) +++ head/dns/posadis/Makefile Sat Jul 5 00:18:17 2014 (r360706) @@ -18,6 +18,9 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib NO_STAGE= yes +OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + .if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so) CONFIGURE_ARGS= --enable-fam BUILD_DEPENDS= ${LOCALBASE}/include/fam.h:${PORTSDIR}/devel/fam @@ -34,7 +37,7 @@ MAN1= getzone.1 posadis.1 posadis-getro MAN5= posadisrc.5 DOCS= AUTHORS ChangeLog README TODO -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407050018.s650IITf077964>