Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= pytidylib |
4 |
PORTNAME= pytidylib |
5 |
PORTVERSION= 0.2.4 |
5 |
PORTVERSION= 0.3.2 |
6 |
CATEGORIES= textproc python |
6 |
CATEGORIES= textproc python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 13-25
Link Here
|
13 |
LICENSE= MIT |
13 |
LICENSE= MIT |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
15 |
|
16 |
LIB_DEPENDS= libtidy.so:www/tidy-lib |
|
|
17 |
|
18 |
USES= python |
16 |
USES= python |
19 |
USE_PYTHON= distutils autoplist |
17 |
USE_PYTHON= distutils autoplist |
20 |
|
|
|
21 |
NO_ARCH= yes |
18 |
NO_ARCH= yes |
22 |
|
19 |
|
|
|
20 |
OPTIONS_DEFAULT=TIDYHTML5 |
21 |
OPTIONS_SINGLE= BACKEND |
22 |
OPTIONS_SINGLE_BACKEND= TIDYLIB TIDYHTML5 |
23 |
|
24 |
BACKEND_DESC= Backend library selection |
25 |
TIDYLIB_DESC= Use tidylib |
26 |
TIDYHTML5_DESC= Use tidy-html5 |
27 |
|
28 |
TIDYLIB_LIB_DEPENDS= libtidy.so:www/tidy-lib |
29 |
TIDYHTML5_LIB_DEPENDS= libtidy5.so:www/tidy-html5 |
30 |
|
31 |
post-patch-TIDYHTML5-on: |
32 |
@${REINPLACE_CMD} -e '/LIB_NAMES/ s|\[.*\]|["libtidy5.so"]|' \ |
33 |
${WRKSRC}/tidylib/tidy.py |
34 |
|
23 |
do-test: |
35 |
do-test: |
24 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
36 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
25 |
|
37 |
|