Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 14:35:01 +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: r405156 - head/devel/py-grouch
Message-ID:  <201601031435.u03EZ11l025864@repo.freebsd.org>

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

Log:
  - Convert to options helper

Modified:
  head/devel/py-grouch/Makefile

Modified: head/devel/py-grouch/Makefile
==============================================================================
--- head/devel/py-grouch/Makefile	Sun Jan  3 14:34:33 2016	(r405155)
+++ head/devel/py-grouch/Makefile	Sun Jan  3 14:35:01 2016	(r405156)
@@ -12,18 +12,21 @@ DISTNAME=	Grouch-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	System for describing and enforcing a Python object schema
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 USES=		python:2
 USE_PYTHON=	distutils autoplist
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docfile in CHANGES README
 	${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${STAGEDIR}${DOCSDIR}
 .endfor
 	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 



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