Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 11:10:48 +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: r405417 - head/textproc/py-excelerator
Message-ID:  <201601071110.u07BAmXH058522@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Jan  7 11:10:48 2016
New Revision: 405417
URL: https://svnweb.freebsd.org/changeset/ports/405417

Log:
  - Convert to options helper
  - Add NO_ARCH

Modified:
  head/textproc/py-excelerator/Makefile

Modified: head/textproc/py-excelerator/Makefile
==============================================================================
--- head/textproc/py-excelerator/Makefile	Thu Jan  7 11:10:22 2016	(r405416)
+++ head/textproc/py-excelerator/Makefile	Thu Jan  7 11:10:48 2016	(r405417)
@@ -12,17 +12,22 @@ DISTNAME=	pyexcelerator-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python library for generating Excel 97/2000/XP/2003 files
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 USES=		python:2 zip
 USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/py-excelerator
 EXAMPLESDIR=	${PREFIX}/share/examples/py-excelerator
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/*.bmp ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}



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