aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dtc/Makefile
blob: 0040f89077087c11b258782740cafe5a72ff91ef (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
31
32
33
PORTNAME=	dtc
DISTVERSIONPREFIX=	v
DISTVERSION=	1.7.1
CATEGORIES=	sysutils

PATCH_SITES=	https://github.com/dgibson/dtc/commit/
PATCHFILES=	1b75550436433e150164715dedb417e4d234df6c.patch:-p1

MAINTAINER=	uboot@FreeBSD.org
COMMENT=	Device Tree Compiler
WWW=		https://git.kernel.org/cgit/utils/dtc/dtc.git

LICENSE=	GPLv2

LIB_DEPENDS=	libyaml.so:textproc/libyaml

USES=		bison compiler:c11 cpe meson pkgconfig shebangfix
CPE_VENDOR=	${PORTNAME}_project
SHEBANG_FILES=	dtdiff
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	dgibson

MESON_ARGS=	--default-library=shared \
		-Dpython=disabled \
		-Dvalgrind=disabled

OPTIONS_DEFINE=		TEST

TEST_MESON_TRUE=	tests

.include <bsd.port.mk>