Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 09:03:23 +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: r414095 - head/net/py-zsi
Message-ID:  <201604270903.u3R93NnP066557@repo.freebsd.org>

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



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