www/mod_tidy: Switch to www/tidy-html5

Keep the port deprecated but change the message, last upstream release
was in 2005.
This commit is contained in:
Rene Ladan 2024-03-25 11:55:43 +01:00
parent 52261161d0
commit 349e13b180

View file

@ -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>