freebsd-ports/textproc/py-xlwriter/Makefile
Mathieu Arnold 4a3bebcae1 Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:15:47 +00:00

25 lines
607 B
Makefile

# Created by: Choe, Cheng-Dae
# $FreeBSD$
PORTNAME= xlwriter
PORTVERSION= 0.4a3
CATEGORIES= textproc python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyXLWriter-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python library for generating Excel-compatible spreadsheets
USES= python:2.7 zip
USE_PYTHON= distutils autoplist
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${FIND} ${WRKSRC}/examples -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR} \;
.include <bsd.port.mk>