Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2015 14:28:03 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403409 - head/www/py-werkzeug
Message-ID:  <201512091428.tB9ES3Gk002332@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Dec  9 14:28:03 2015
New Revision: 403409
URL: https://svnweb.freebsd.org/changeset/ports/403409

Log:
  - Add NO_ARCH
  - Sort USE_PYTHON
  - Convert to new options target helper
  
  Approved by:	portmgr (blanket)
  With hat:	python

Modified:
  head/www/py-werkzeug/Makefile

Modified: head/www/py-werkzeug/Makefile
==============================================================================
--- head/www/py-werkzeug/Makefile	Wed Dec  9 14:27:59 2015	(r403408)
+++ head/www/py-werkzeug/Makefile	Wed Dec  9 14:28:03 2015	(r403409)
@@ -15,18 +15,15 @@ LICENSE=	BSD3CLAUSE
 
 OPTIONS_DEFINE=	EXAMPLES
 
+NO_ARCH=	yes
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
 EXAMPLESDIR=	${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
 PORTEXAMPLES=	*
 
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-.endif
 
 .include <bsd.port.mk>



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