36 lines
938 B
Makefile
36 lines
938 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= acpica
|
|
PORTVERSION= 20170303
|
|
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
|
|
|
|
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}"
|
|
|
|
BROKEN_aarch64= Fails to compile: error: comparison of constant -1 with expression of type char is always true
|
|
BROKEN_powerpc64= Does not build
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${ACPICA_TOOLS:S,^,${BUILD_WRKSRC}/bin/,} \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|