From owner-svn-ports-head@freebsd.org Mon Apr 10 11:15:26 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87024D35D38; Mon, 10 Apr 2017 11:15:26 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 58E69F53; Mon, 10 Apr 2017 11:15:26 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3ABFPjZ089805; Mon, 10 Apr 2017 11:15:25 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3ABFPXg089804; Mon, 10 Apr 2017 11:15:25 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201704101115.v3ABFPXg089804@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 10 Apr 2017 11:15:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438143 - head/news/nntpcache X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 11:15:26 -0000 Author: amdmi3 Date: Mon Apr 10 11:15:25 2017 New Revision: 438143 URL: https://svnweb.freebsd.org/changeset/ports/438143 Log: - Optionize docs - Switch to options helpers Modified: head/news/nntpcache/Makefile Modified: head/news/nntpcache/Makefile ============================================================================== --- head/news/nntpcache/Makefile Mon Apr 10 10:55:27 2017 (r438142) +++ head/news/nntpcache/Makefile Mon Apr 10 11:15:25 2017 (r438143) @@ -28,7 +28,7 @@ SHEBANG_FILES= contrib/perlnewshound/new AUTHINFO_EXT= authinfo_pam.ext USE_RC_SUBR= nntpcached -OPTIONS_DEFINE= LDAP RADIUS SPAMPHOBIA +OPTIONS_DEFINE= LDAP RADIUS SPAMPHOBIA DOCS SPAMPHOBIA_DESC= Spamphobia NoCeM support RADIUS_CONFIGURE_WITH= authinfo-radius @@ -51,11 +51,10 @@ SPAMPHOBIA_PATCH_SITES= http://people.fr SPAMPHOBIA_PATCHFILES= ${DISTNAME}-spamphobia-${REVISEDATE}.diff.gz:SPAMPHOBIA post-configure: - ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/src ${AUTHINFO_EXT} + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/src ${AUTHINFO_EXT} -post-install: - @ ${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${FIND} ${PORTDOCS} \ - | ${CPIO_CMD} ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}) +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include