Lines 1-10
Link Here
|
1 |
PORTNAME= dtc |
1 |
PORTNAME= dtc |
2 |
PORTVERSION= 1.6.0 |
|
|
3 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
|
|
3 |
DISTVERSION= 1.7.1 |
4 |
CATEGORIES= sysutils |
4 |
CATEGORIES= sysutils |
5 |
|
5 |
|
6 |
PATCH_SITES= https://github.com/dgibson/dtc/commit/ |
6 |
PATCH_SITES= https://github.com/dgibson/dtc/commit/ |
7 |
PATCHFILES+= ca19c3db2b.patch:-p1 # https://github.com/dgibson/dtc/pull/41 |
7 |
PATCHFILES= 1b75550436433e150164715dedb417e4d234df6c.patch:-p1 |
8 |
|
8 |
|
9 |
MAINTAINER= uboot@FreeBSD.org |
9 |
MAINTAINER= uboot@FreeBSD.org |
10 |
COMMENT= Device Tree Compiler |
10 |
COMMENT= Device Tree Compiler |
Lines 14-31
LICENSE= GPLv2
Link Here
|
14 |
|
14 |
|
15 |
LIB_DEPENDS= libyaml.so:textproc/libyaml |
15 |
LIB_DEPENDS= libyaml.so:textproc/libyaml |
16 |
|
16 |
|
17 |
USES= bison compiler:c11 cpe gmake pkgconfig shebangfix |
17 |
USES= bison compiler:c11 cpe meson pkgconfig shebangfix |
18 |
CPE_VENDOR= ${PORTNAME}_project |
18 |
CPE_VENDOR= ${PORTNAME}_project |
|
|
19 |
SHEBANG_FILES= dtdiff |
20 |
USE_LDCONFIG= yes |
21 |
|
19 |
USE_GITHUB= yes |
22 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= dgibson |
23 |
GH_ACCOUNT= dgibson |
21 |
USE_LDCONFIG= yes |
|
|
22 |
SHEBANG_FILES= dtdiff |
23 |
|
24 |
|
24 |
TEST_TARGET= check |
25 |
MESON_ARGS= --default-library=shared \ |
25 |
TEST_ENV= STATSZ="stat -f %Uz" |
26 |
-Dpython=disabled \ |
|
|
27 |
-Dvalgrind=disabled |
28 |
|
29 |
OPTIONS_DEFINE= TEST |
26 |
|
30 |
|
27 |
MAKE_ARGS+= PREFIX=${PREFIX} NO_PYTHON=yes \ |
31 |
TEST_MESON_TRUE= tests |
28 |
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ |
|
|
29 |
INSTALL_LIB="${INSTALL_LIB}" |
30 |
|
32 |
|
31 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.mk> |