From owner-svn-ports-all@FreeBSD.ORG Fri Jul 4 21:57:09 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C231F4A7; Fri, 4 Jul 2014 21:57:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95A692692; Fri, 4 Jul 2014 21:57:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s64Lv9cC003493; Fri, 4 Jul 2014 21:57:09 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s64Lv9YT003489; Fri, 4 Jul 2014 21:57:09 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201407042157.s64Lv9YT003489@svn.freebsd.org> From: Adam Weinberger Date: Fri, 4 Jul 2014 21:57:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360668 - in head/news: newsx rawdog X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2014 21:57:09 -0000 Author: adamw Date: Fri Jul 4 21:57:08 2014 New Revision: 360668 URL: http://svnweb.freebsd.org/changeset/ports/360668 QAT: https://qat.redports.org/buildarchive/r360668/ Log: Remove NOPORTDOCS and NOPORTEXAMPLES. Modified: head/news/newsx/Makefile head/news/rawdog/Makefile Modified: head/news/newsx/Makefile ============================================================================== --- head/news/newsx/Makefile Fri Jul 4 21:55:07 2014 (r360667) +++ head/news/newsx/Makefile Fri Jul 4 21:57:08 2014 (r360668) @@ -22,6 +22,8 @@ GNU_CONFIGURE= yes CONFLICTS= leafnode-1.* +OPTIONS_DEFINE= DOCS + .if !defined(WITH_CNEWS) .if !defined(WITHOUT_INN_2-X) CPPFLAGS+= -I${LOCALBASE}/news/include @@ -34,6 +36,8 @@ CONFIGURE_ARGS+= --without-history DOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO +.include + pre-configure: ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/configure @${ECHO} "*********************************************************" @@ -50,12 +54,10 @@ post-build: post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/inhosts -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor @${ECHO} "Documentation installed in ${DOCSDIR}." -.endif .include Modified: head/news/rawdog/Makefile ============================================================================== --- head/news/rawdog/Makefile Fri Jul 4 21:55:07 2014 (r360667) +++ head/news/rawdog/Makefile Fri Jul 4 21:57:08 2014 (r360668) @@ -22,26 +22,30 @@ PORTDOCS= README PKGMESSAGE= ${WRKDIR}/pkg-message +OPTIONS_DEFINE= DOCS EXAMPLES + +.include + post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/style.css ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.if !defined(NOPORTEXAMPLES) || !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} @${ECHO_MSG} " ---------------------------------------------" \ >>${PKGMESSAGE} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${ECHO_MSG} " Sample config and stylesheet installed in:" \ >>${PKGMESSAGE} @${ECHO_MSG} " ${EXAMPLESDIR}" >>${PKGMESSAGE} .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} " Please read the README:" >>${PKGMESSAGE} @${ECHO_MSG} " ${DOCSDIR}/README" >>${PKGMESSAGE} .endif -.if !defined(NOPORTEXAMPLES) || !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} @${ECHO_MSG} " ---------------------------------------------" \ >>${PKGMESSAGE} .endif