Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
27 lines
669 B
Makefile
27 lines
669 B
Makefile
# $NetBSD: Makefile,v 1.58 2023/06/06 12:42:51 riastradh Exp $
|
|
|
|
DISTNAME= tidy-html5-5.8.0
|
|
PKGNAME= ${DISTNAME:S/-html5//}
|
|
CATEGORIES= www textproc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=htacg/}
|
|
GITHUB_PROJECT= tidy-html5
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.html-tidy.org/
|
|
COMMENT= Fixes and tidies up HTML files
|
|
LICENSE= mit
|
|
|
|
# for man page
|
|
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
|
|
USE_LANGUAGES= c c++
|
|
PKGCONFIG_OVERRIDE= tidy.pc.cmake.in
|
|
|
|
GCC_REQD+= 4.4
|
|
|
|
CMAKE_ARGS+= -DMAN_INSTALL_DIR:PATH=${PKGMANDIR}/man1
|
|
CMAKE_ARGS+= -DINCLUDE_INSTALL_DIR:PATH=include/tidy
|
|
|
|
.include "../../devel/cmake/build.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|