svn commit: r414095 - head/net/py-zsi

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Apr 27 09:03:24 UTC 2016


Author: amdmi3
Date: Wed Apr 27 09:03:23 2016
New Revision: 414095
URL: https://svnweb.freebsd.org/changeset/ports/414095

Log:
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/net/py-zsi/Makefile

Modified: head/net/py-zsi/Makefile
==============================================================================
--- head/net/py-zsi/Makefile	Wed Apr 27 08:28:25 2016	(r414094)
+++ head/net/py-zsi/Makefile	Wed Apr 27 09:03:23 2016	(r414095)
@@ -14,17 +14,20 @@ COMMENT=	Pure Python implementation of S
 
 USES=		python:2
 USE_PYTHON=	autoplist distutils
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
+NO_ARCH=	yes
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-post-install:
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docfile in CHANGES README doc/zsi.* doc/*.png
 	${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
 .endfor
+
+post-install-EXAMPLES-on:
 .for dir in client server
 	@${MV} ${WRKSRC}/doc/examples/${dir} ${WRKSRC}
 .endfor


More information about the svn-ports-all mailing list