mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d63665f7cd
This is a separate commit to facilitate easier cherry-picking for quarterly. PR: 262853, 262940, 262877, 263126 Approved by: fluffy (mentor)
34 lines
852 B
Makefile
34 lines
852 B
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
|
|
PORTNAME= tidy-html5
|
|
PORTVERSION= 5.8.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Tidy tidies HTML and XML documents
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/README/LICENSE.md
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= htacg
|
|
|
|
USES= cmake gnome
|
|
USE_GNOME= libxslt
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DBUILD_SHARED_LIB:BOOL=ON \
|
|
-DTIDY_CONSOLE_SHARED: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.a ${STAGEDIR}${PREFIX}/lib/libtidys.a
|
|
${MV} ${STAGEDIR}${PREFIX}/lib/libtidy.so ${STAGEDIR}${PREFIX}/lib/libtidy5.so
|
|
${MV} ${STAGEDIR}${MANPREFIX}/man/man1/tidy.1 ${STAGEDIR}${MANPREFIX}/man/man1/tidy5.1
|
|
|
|
.include <bsd.port.mk>
|