ports/sysutils/dtc/Makefile
Daniel Engberg 4eecaf5e73 sysutils/dtc: Update to 1.7.1
* Convert to Meson
* Import upstream PR 141 [1]

1: https://github.com/dgibson/dtc/pull/141

Changelog: https://github.com/dgibson/dtc/releases/tag/v1.7.1

PR:		281891
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2024-10-26 19:13:54 +02:00

34 lines
684 B
Makefile

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>