mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
7823fa4b7e
Sponsored by: Absolight
38 lines
801 B
Makefile
38 lines
801 B
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tidy-html5
|
|
PORTVERSION= 5.1.25
|
|
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= f567088
|
|
|
|
USES= cmake
|
|
USE_GNOME= libxslt
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DBUILD_SHARED_LIB:BOOL=ON
|
|
|
|
PLIST_SUB= VER=${PORTVERSION}
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's|build/cmake/||' ${WRKSRC}/test/testone.sh
|
|
|
|
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
|
|
|
|
regression-test:
|
|
(cd ${WRKSRC}/test && ./testall.sh)
|
|
|
|
.include <bsd.port.mk>
|