git: 52261161d0b2 - main - textproc/py-pytidylib: remove OPTION to use expired www/tidy-lib
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Mar 2024 10:59:19 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=52261161d0b226dd81d05f548f7682ee7858bda5
commit 52261161d0b226dd81d05f548f7682ee7858bda5
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-03-25 10:53:24 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-03-25 10:53:24 +0000
textproc/py-pytidylib: remove OPTION to use expired www/tidy-lib
---
textproc/py-pytidylib/Makefile | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
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,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