svn commit: r405417 - head/textproc/py-excelerator
Martin Wilke
miwi at FreeBSD.org
Thu Jan 7 11:10:49 UTC 2016
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 at 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}
More information about the svn-ports-head
mailing list