freebsd-ports/devel/py-celementtree/Makefile
2008-01-09 17:05:44 +00:00

34 lines
864 B
Makefile

# Ports collection makefile for: py-cElementTree
# Date created: 11 January 2006
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= cElementTree
PORTVERSION= 1.0.5
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://effbot.org/media/downloads/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}-20051216
MAINTAINER= nivit@FreeBSD.org
COMMENT= A fast C implementation of the ElementTree API
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= 1.0.5-20051216
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>