From 349e13b180fcbb789ee62ad5e009fa7640687fa4 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Mon, 25 Mar 2024 11:55:43 +0100 Subject: [PATCH] www/mod_tidy: Switch to www/tidy-html5 Keep the port deprecated but change the message, last upstream release was in 2005. --- www/mod_tidy/Makefile | 12 ++++++++---- 1 file 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