- Optionize docs
- Switch to options helpers
This commit is contained in:
parent
849fa4c9c6
commit
ca117d27ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438143
@ -28,7 +28,7 @@ SHEBANG_FILES= contrib/perlnewshound/newshound.pl
|
||||
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.freebsd.org/~leeym/:SPAMPHOBIA
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user