svn commit: r397387 - head/net/py-pcs

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Sep 20 19:22:13 UTC 2015


Author: amdmi3
Date: Sun Sep 20 19:22:12 2015
New Revision: 397387
URL: https://svnweb.freebsd.org/changeset/ports/397387

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/net/py-pcs/Makefile

Modified: head/net/py-pcs/Makefile
==============================================================================
--- head/net/py-pcs/Makefile	Sun Sep 20 19:21:52 2015	(r397386)
+++ head/net/py-pcs/Makefile	Sun Sep 20 19:22:12 2015	(r397387)
@@ -22,17 +22,12 @@ USE_PYTHON=	distutils pythonprefix
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
 
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list