# Created by: Thierry Thomas # $FreeBSD: head/www/tidy-html5/Makefile 412686 2016-04-07 19:22:18Z thierry $ PORTNAME= tidy-html5 PORTVERSION= 5.2.0 CATEGORIES= www MAINTAINER= thierry@FreeBSD.org COMMENT= Tidy tidies HTML and XML documents LICENSE= MIT LICENSE_FILE= ${WRKSRC}/README/LICENSE.txt USE_GITHUB= yes GH_ACCOUNT= htacg GH_TAGNAME= abb0316 USES= cmake USE_GNOME= libxslt USE_LDCONFIG= yes CMAKE_ARGS= -DBUILD_SHARED_LIB:BOOL=ON PLIST_SUB= VER=${PORTVERSION} post-install: # To avoid conflict ATM - to be removed later ${MV} ${STAGEDIR}${PREFIX}/bin/tidy ${STAGEDIR}${PREFIX}/bin/tidy5 ${MV} ${STAGEDIR}${PREFIX}/lib/libtidy.so ${STAGEDIR}${PREFIX}/lib/libtidy5.so .include