textproc/py-pytidylib: remove OPTION to use expired www/tidy-lib
This commit is contained in:
parent
3f9fbfcffc
commit
52261161d0
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= pytidylib
|
||||
PORTVERSION= 0.3.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -15,18 +16,9 @@ USES= python
|
|||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFAULT=TIDYHTML5
|
||||
OPTIONS_SINGLE= BACKEND
|
||||
OPTIONS_SINGLE_BACKEND= TIDYLIB TIDYHTML5
|
||||
LIB_DEPENDS= libtidy5.so:www/tidy-html5
|
||||
|
||||
BACKEND_DESC= Backend library selection
|
||||
TIDYLIB_DESC= Use tidylib
|
||||
TIDYHTML5_DESC= Use tidy-html5
|
||||
|
||||
TIDYLIB_LIB_DEPENDS= libtidy.so:www/tidy-lib
|
||||
TIDYHTML5_LIB_DEPENDS= libtidy5.so:www/tidy-html5
|
||||
|
||||
post-patch-TIDYHTML5-on:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/LIB_NAMES/ s|\[.*\]|["libtidy5.so"]|' \
|
||||
${WRKSRC}/tidylib/tidy.py
|
||||
|
||||
|
|
Loading…
Reference in New Issue