Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 12:53:51 +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: r405137 - head/devel/py-fusefs
Message-ID:  <201601031253.u03CrpCX094607@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Jan  3 12:53:50 2016
New Revision: 405137
URL: https://svnweb.freebsd.org/changeset/ports/405137

Log:
  - Convert to options helper

Modified:
  head/devel/py-fusefs/Makefile

Modified: head/devel/py-fusefs/Makefile
==============================================================================
--- head/devel/py-fusefs/Makefile	Sun Jan  3 12:51:36 2016	(r405136)
+++ head/devel/py-fusefs/Makefile	Sun Jan  3 12:53:50 2016	(r405137)
@@ -15,6 +15,8 @@ COMMENT=	FUSE Python bindings
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 USES=		fuse pkgconfig python iconv
 USE_PYTHON=	distutils autoplist
 
@@ -30,8 +32,10 @@ post-patch:
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fuseparts/_fusemodule.so
+post-install-DOCS-on:
 	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+post-install-EXAMPLES-on:
 	@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/
 	cd ${WRKSRC}/example/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
 



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