freebsd-ports/devel/py-elementtree/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

33 lines
822 B
Makefile

# Ports collection makefile for: py-elementtree
# Date created: Feb 28, 2005
# Whom: barner
#
# $FreeBSD$
#
PORTNAME= elementtree
PORTVERSION= 1.2.6
CATEGORIES= devel python
MASTER_SITES= http://effbot.org/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}-20050316
MAINTAINER= barner@FreeBSD.org
COMMENT= Container for hierarchical data structures written in Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= 1.2.6-20050316
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>