svn commit: r397384 - head/security/nettle
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 20 19:21:16 UTC 2015
Author: amdmi3
Date: Sun Sep 20 19:21:15 2015
New Revision: 397384
URL: https://svnweb.freebsd.org/changeset/ports/397384
Log:
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/security/nettle/Makefile
Modified: head/security/nettle/Makefile
==============================================================================
--- head/security/nettle/Makefile Sun Sep 20 18:59:30 2015 (r397383)
+++ head/security/nettle/Makefile Sun Sep 20 19:21:15 2015 (r397384)
@@ -39,15 +39,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES
CONFIGURE_ENV+= CCPIC=-fPIC
.endif
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list