33 lines
607 B
Makefile
33 lines
607 B
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tidy-html5
|
|
PORTVERSION= 4.9.35
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Tidy tidies HTML and XML documents
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= htacg
|
|
GH_PROJECT= ${PORTNAME}
|
|
GH_TAGNAME= b60d82d
|
|
|
|
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
|
|
|
|
regression-test:
|
|
(cd ${WRKSRC}/test && ./testall.sh)
|
|
|
|
.include <bsd.port.mk>
|