2005-05-14 14:09:56 +02:00
|
|
|
# New ports collection makefile for: py-excelerator
|
|
|
|
# Date created: 13 May 2005
|
|
|
|
# Whom: Choe, Cheng-Dae
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= excelerator
|
2009-05-09 11:19:37 +02:00
|
|
|
PORTVERSION= 0.6.4.1
|
2011-02-25 04:19:29 +01:00
|
|
|
PORTREVISION= 1
|
2005-05-14 14:09:56 +02:00
|
|
|
CATEGORIES= textproc python
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/py${PORTNAME}/pyExcelerator/${PORTVERSION}
|
2005-05-14 14:09:56 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2005-05-19 18:16:27 +02:00
|
|
|
DISTNAME= pyexcelerator-${PORTVERSION}
|
2005-05-14 14:09:56 +02:00
|
|
|
|
2006-12-13 13:56:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-05-14 14:09:56 +02:00
|
|
|
COMMENT= A Python library for generating Excel 97/2000/XP/2003 files
|
|
|
|
|
2009-05-09 11:19:37 +02:00
|
|
|
USE_ZIP= yes
|
2011-02-25 04:19:29 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2005-05-14 14:09:56 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= pyExcelerator
|
2005-05-14 14:09:56 +02:00
|
|
|
|
2009-05-09 11:19:37 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-excelerator
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-excelerator
|
2005-05-14 14:09:56 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2009-05-09 11:19:37 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2005-05-14 14:09:56 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2009-05-09 11:19:37 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.bmp ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
|
2005-05-19 18:16:27 +02:00
|
|
|
.endif
|
2005-05-14 14:09:56 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|