aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-xmltools/Makefile
blob: ad410459c5e107fa45de689ea8c85261e67cd50a (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
# ex:ts=8
# Ports collection Makefile for:	xmltools
# Date created:			Jan 4, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	xmltools
PORTVERSION=	1.3.7
PORTREVISION=	1
CATEGORIES=	textproc python
MASTER_SITES=	ftp://ftp.logilab.org/pub/xmltools/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	High level xml tools for Python

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

.include <bsd.port.pre.mk>

.if ${PYTHON_VERSION} == "python1.5" || ${PYTHON_VERSION} == "python1.6"
XMLDIR=		xml
.else
XMLDIR=		_xmlplus
.endif

RUN_DEPENDS=	${PYXML} \
		${PYTHON_SITELIBDIR}/gtk-1.2/GDK.py:${PORTSDIR}/x11-toolkits/py-gtk \
		${PYTHON_SITELIBDIR}/${XMLDIR}/xpath/__init__.py:${PORTSDIR}/textproc/py-4suite

.include <bsd.port.post.mk>