diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-05-12 13:57:51 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-05-12 13:57:51 +0000 |
commit | 55ea4a473b3d9047d3b6a28380db333b7898ba31 (patch) | |
tree | 844a2a2fa9afa2ee8fbfab854e37975fd030c5fd /devel/py-elementtree/Makefile | |
parent | 415760062a72111df70f625482ad946030dfce01 (diff) |
Notes
Diffstat (limited to 'devel/py-elementtree/Makefile')
-rw-r--r-- | devel/py-elementtree/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/devel/py-elementtree/Makefile b/devel/py-elementtree/Makefile index 64c53de15844..0281795a664d 100644 --- a/devel/py-elementtree/Makefile +++ b/devel/py-elementtree/Makefile @@ -7,27 +7,36 @@ PORTNAME= elementtree PORTVERSION= 1.2.6 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= http://effbot.org/media/downloads/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-${PORTVERSION}-20050316 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= python@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} +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 250 +IGNORE= this comes with the Python package +.endif + +.include <bsd.port.post.mk> |