Skip to content

Commit

Permalink
www/mod_tidy: Switch to www/tidy-html5
Browse files Browse the repository at this point in the history
Keep the port deprecated but change the message, last upstream release
was in 2005.
  • Loading branch information
rene0 committed Mar 25, 2024
1 parent 5226116 commit 349e13b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions www/mod_tidy/Makefile
Expand Up @@ -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>

0 comments on commit 349e13b

Please sign in to comment.