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

PORTNAME=   xmltools
PORTVERSION=    1.4.0
PORTREVISION=   2
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_GNOME=  pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS=    yes

.include <bsd.port.pre.mk>

RUN_DEPENDS=    ${PYXML} \
        ${PYTHON_SITELIBDIR}/_xmlplus/xpath/__init__.py:${PORTSDIR}/textproc/py-4suite

post-patch:
    ${REINPLACE_CMD} 's/from.*import.*nested_scopes//' ${WRKSRC}/setup.py

.include <bsd.port.post.mk>