aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-excelerator
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2016-01-07 11:10:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2016-01-07 11:10:48 +0000
commit7afa1972d76bcbd3f11b601c0818ecda5bdc15d5 (patch)
tree9ae38ac4cc7b9e3fb01bbb1c8e9bae8e9fb454a3 /textproc/py-excelerator
parentd5bb3825db65c0f7f658530a2bb12db5951759bb (diff)
downloadports-7afa1972d76bcbd3f11b601c0818ecda5bdc15d5.tar.gz
ports-7afa1972d76bcbd3f11b601c0818ecda5bdc15d5.zip
Notes
Diffstat (limited to 'textproc/py-excelerator')
-rw-r--r--textproc/py-excelerator/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/py-excelerator/Makefile b/textproc/py-excelerator/Makefile
index d5de91d11559..ac145b59b5fe 100644
--- a/textproc/py-excelerator/Makefile
+++ b/textproc/py-excelerator/Makefile
@@ -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}