blob: 1aedaa4b1a0da47b5a7fc7a070bd7e8237acc7eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
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
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 <bsd.port.mk>
|