Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 19:21:16 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397384 - head/security/nettle
Message-ID:  <201509201921.t8KJLG5h051449@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509201921.t8KJLG5h051449>