diff --git a/textproc/py-pytidylib/Makefile b/textproc/py-pytidylib/Makefile index be32e72ce8b5..68849055cd08 100644 --- a/textproc/py-pytidylib/Makefile +++ b/textproc/py-pytidylib/Makefile @@ -1,36 +1,28 @@ PORTNAME= pytidylib PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Python wrapper for HTML Tidy (tidylib) WWW= http://countergram.com/open-source/pytidylib LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE 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 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include