aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-xlwriter/Makefile
blob: bb1e0f9d7e9dd64d549388f7eaece93fb3e89292 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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=       zip
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

PORTEXAMPLES=   *

post-install:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${FIND} ${WRKSRC}/examples -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR} \;

.include <bsd.port.mk>