aboutsummaryrefslogtreecommitdiff
path: root/devel/py-celementtree/Makefile
blob: fc76b9cd16f3765d87ec9b9199c2d20bea4edcaf (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
26
27
28
29
30
31
32
33
34
# 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>