blob: 091522827861868183761c23f67f6a0dfd7c103f (
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
|
# Created by: Stefan Esser <se@FreeBSD.org>
# $FreeBSD$
PORTNAME= utidy
PORTVERSION= 0.2
PORTREVISION= 2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= uTidylib-${PORTVERSION}
MAINTAINER= rene@FreeBSD.org
COMMENT= Python interface to tidy-lib
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= xdissent
GH_PROJECT= utidylib
GH_TAGNAME= 8eb8b3041d4dd44d7b64314da477b93b98bd692d
# XXX Better depend on tidy or tidy-devel???
LIB_DEPENDS= libtidy.so:www/tidy-lib
USES= python:2
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} \
-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
${WRKSRC}/setup.py
.include <bsd.port.mk>
|