mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
bb219d7957
Approved by: portmgr (blanket)
31 lines
681 B
Makefile
31 lines
681 B
Makefile
PORTNAME= dtc
|
|
PORTVERSION= 1.6.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
PATCH_SITES= https://github.com/dgibson/dtc/commit/
|
|
PATCHFILES+= ca19c3db2b.patch:-p1 # https://github.com/dgibson/dtc/pull/41
|
|
|
|
MAINTAINER= uboot@FreeBSD.org
|
|
COMMENT= Device Tree Compiler
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libyaml.so:textproc/libyaml
|
|
|
|
USES= bison compiler:c11 cpe gmake pkgconfig shebangfix
|
|
CPE_VENDOR= ${PORTNAME}_project
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dgibson
|
|
USE_LDCONFIG= yes
|
|
SHEBANG_FILES= dtdiff
|
|
|
|
TEST_TARGET= check
|
|
TEST_ENV= STATSZ="stat -f %Uz"
|
|
|
|
MAKE_ARGS+= PREFIX=${PREFIX} NO_PYTHON=yes \
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
INSTALL_LIB="${INSTALL_LIB}"
|
|
|
|
.include <bsd.port.mk>
|