Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2024 10:59:20 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 349e13b180fc - main - www/mod_tidy: Switch to www/tidy-html5
Message-ID:  <202403251059.42PAxKNG075271@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=349e13b180fcbb789ee62ad5e009fa7640687fa4

commit 349e13b180fcbb789ee62ad5e009fa7640687fa4
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-03-25 10:55:43 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-03-25 10:55:43 +0000

    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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403251059.42PAxKNG075271>