Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 19:22:12 +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: r397387 - head/net/py-pcs
Message-ID:  <201509201922.t8KJMC6r052432@repo.freebsd.org>

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



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