Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 06:25:44 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405115 - head/net/py-xmlrpc
Message-ID:  <201601030625.u036Pimt076499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Jan  3 06:25:44 2016
New Revision: 405115
URL: https://svnweb.freebsd.org/changeset/ports/405115

Log:
  - Conver to options helper

Modified:
  head/net/py-xmlrpc/Makefile

Modified: head/net/py-xmlrpc/Makefile
==============================================================================
--- head/net/py-xmlrpc/Makefile	Sun Jan  3 06:19:47 2016	(r405114)
+++ head/net/py-xmlrpc/Makefile	Sun Jan  3 06:25:44 2016	(r405115)
@@ -18,12 +18,15 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		python
 USE_PYTHON=	distutils autoplist
 
+OPTIONS_DEFINE=	EXAMPLES
+
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 PORTEXAMPLES=	*
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_xmlrpc.so
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 



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