freebsd-ports/sysutils/acpica-tools/Makefile
2017-12-14 22:37:49 +00:00

35 lines
889 B
Makefile

# $FreeBSD$
PORTNAME= acpica
PORTVERSION= 20171214
CATEGORIES= sysutils devel
MASTER_SITES= https://acpica.org/sites/acpica/files/ \
LOCAL/jkim
PKGNAMESUFFIX= -tools
DISTNAME= ${PORTNAME}-unix-${PORTVERSION}
MAINTAINER= jkim@FreeBSD.org
COMMENT= Tools from the ACPI Component Architecture (ACPICA) project
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= dual
BROKEN_powerpc64= fails to compile: comparison is always true due to limited range of data type
USES= gmake
BUILD_WRKSRC= ${WRKSRC}/generate/unix
ACPICA_TOOLS= acpibin acpidump acpiexec acpihelp acpinames acpisrc
ACPICA_TOOLS+= acpixtract iasl
PLIST_FILES= ${ACPICA_TOOLS:S,^,bin/,}
MAKE_ARGS= HOST=_FreeBSD NOOPT=TRUE PROGS="${ACPICA_TOOLS}"
MAKE_ARGS+= CC="${CC}" LEX="${FLEX}" YACC="${YACC}"
do-install:
${INSTALL_PROGRAM} ${ACPICA_TOOLS:S,^,${BUILD_WRKSRC}/bin/,} \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>