aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2024-03-25 10:55:43 +0000
committerRene Ladan <rene@FreeBSD.org>2024-03-25 10:55:43 +0000
commit349e13b180fcbb789ee62ad5e009fa7640687fa4 (patch)
treef43570f90d764591d27e1e7509d4c4b331bfd534
parent52261161d0b226dd81d05f548f7682ee7858bda5 (diff)
downloadports-349e13b180fcbb789ee62ad5e009fa7640687fa4.tar.gz
ports-349e13b180fcbb789ee62ad5e009fa7640687fa4.zip
www/mod_tidy: Switch to www/tidy-html5
Keep the port deprecated but change the message, last upstream release was in 2005.
-rw-r--r--www/mod_tidy/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/www/mod_tidy/Makefile b/www/mod_tidy/Makefile
index 1462c11f478a..30e90324f06a 100644
--- a/www/mod_tidy/Makefile
+++ b/www/mod_tidy/Makefile
@@ -9,19 +9,23 @@ MAINTAINER= apache@FreeBSD.org
COMMENT= Validates the HTML output of your apache2 web server
WWW= https://mod-tidy.sourceforge.net/
-DEPRECATED= Depends on deprecated www/tidy-lib
+DEPRECATED= Last upstream release was in 2005
EXPIRATION_DATE=2024-04-24
LICENSE= APACHE20 MIT
LICENSE_COMB= multi
-LIB_DEPENDS= libtidy.so:www/tidy-lib
+LIB_DEPENDS= libtidy5.so:www/tidy-html5
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
-AP_INC+= ${LOCALBASE}/include/tidy
-AP_LIB+= ${LOCALBASE}/lib -ltidy
+AP_INC+= ${LOCALBASE}/include
+AP_LIB+= ${LOCALBASE}/lib -ltidy5
+
+post-patch:
+ @${REINPLACE_CMD} -e "s/buffio.h/tidybuffio.h/g" \
+ ${WRKSRC}/mod_tidy.c
.include <bsd.port.mk>