# New ports collection makefile for: py-excelerator # Date created: 13 May 2005 # Whom: Choe, Cheng-Dae # # $FreeBSD: ports/textproc/py-excelerator/Makefile,v 1.7 2007/07/30 09:41:59 alexbl Exp $ # PORTNAME= excelerator PORTVERSION= 0.6.3a CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pyexcelerator PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyexcelerator-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A Python library for generating Excel 97/2000/XP/2003 files USE_PYTHON= 2.4+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= pyExcelerator USE_ZIP= yes WRKSRC= ${WRKDIR}/pyExcelerator-${PORTVERSION} .if !defined(NOPORTDOCS) PORTDOCS= CHANGES.txt LICENSE.txt README.txt THANKS.txt TODO.txt .endif post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR} .endfor @${MKDIR} ${EXAMPLESDIR} @${FIND} ${WRKSRC}/examples -type f -depth 1 -exec ${INSTALL_DATA} {} ${EXAMPLESDIR} \; .endif .include