aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-kid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-kid/Makefile')
-rw-r--r--devel/py-kid/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/py-kid/Makefile b/devel/py-kid/Makefile
index b00eb67312d2..4311187058dc 100644
--- a/devel/py-kid/Makefile
+++ b/devel/py-kid/Makefile
@@ -7,18 +7,15 @@
PORTNAME= kid
PORTVERSION= 0.9.6
-#PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= http://www.kid-templating.org/dist/${PORTVERSION}/dist/ \
+MASTER_SITES= http://www.kid-templating.org/dist/${PORTVERSION}/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= A simple template language for XML based written in Python
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
@@ -38,4 +35,11 @@ post-install:
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if $(PYTHON_REL) < 250
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>