freebsd-ports/textproc/py-excelerator/Makefile
Martin Wilke 7afa1972d7 - Convert to options helper
- Add NO_ARCH
2016-01-07 11:10:48 +00:00

35 lines
923 B
Makefile

# Created by: Choe, Cheng-Dae
# $FreeBSD$
PORTNAME= excelerator
PORTVERSION= 0.6.4.1
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= SF/py${PORTNAME}/pyExcelerator/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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-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}
.include <bsd.port.mk>