Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 14:34:34 +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: r405155 - head/devel/py-kjbuckets
Message-ID:  <201601031434.u03EYYgZ025744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Jan  3 14:34:33 2016
New Revision: 405155
URL: https://svnweb.freebsd.org/changeset/ports/405155

Log:
  - Convert to options helper

Modified:
  head/devel/py-kjbuckets/Makefile

Modified: head/devel/py-kjbuckets/Makefile
==============================================================================
--- head/devel/py-kjbuckets/Makefile	Sun Jan  3 14:32:03 2016	(r405154)
+++ head/devel/py-kjbuckets/Makefile	Sun Jan  3 14:34:33 2016	(r405155)
@@ -16,6 +16,8 @@ COMMENT=	Graph and set datatypes for Pyt
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/../COPYRIGHT.txt
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 USES=		python
 USE_PYTHON=	distutils autoplist
 WRKSRC=		${WRKDIR}/${DISTNAME}/kjbuckets
@@ -25,9 +27,11 @@ PORTEXAMPLES=	*
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/kjbuckets.so
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/../COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/../doc/kjbuckets.txt ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/../doc/demo/kjbuckets/*.py ${STAGEDIR}${EXAMPLESDIR}
 



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