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

PORTNAME=   utidy
PORTVERSION=    0.2
PORTREVISION=   1
CATEGORIES= www python
MASTER_SITES=   SF/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:www/tidy-lib

USES=       python:2 zip
USE_PYTHON= distutils autoplist

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

.include <bsd.port.mk>