svn commit: r438143 - head/news/nntpcache
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Apr 10 11:15:26 UTC 2017
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 <bsd.port.mk>
More information about the svn-ports-all
mailing list