aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-utidy/Makefile
blob: 04f8c0bb36b56eb9f6c7db4a7d3e73efc976170f (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
# Created by: Stefan Esser <se@FreeBSD.org>
# $FreeBSD$

PORTNAME=   utidy
PORTVERSION=    0.2
PORTREVISION=   1
CATEGORIES= www python
MASTER_SITES=   ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= utidylib
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   uTidylib-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python interface to tidy-lib

# XXX Better depend on tidy or tidy-devel???
LIB_DEPENDS=    libtidy.so:${PORTSDIR}/www/tidy-lib

USES=       zip
USE_PYTHON= 2
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

post-patch:
    @${REINPLACE_CMD} \
        -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
        ${WRKSRC}/setup.py

.include <bsd.port.mk>