1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

The ACPI Component Architecture (ACPICA) project provides an operating

system (OS)-independent reference implementation of the Advanced
Configuration and Power Interface Specification (ACPI).

This port provides utilities bundled with the ACPICA release.

WWW: https://acpica.org
This commit is contained in:
Jung-uk Kim 2013-06-26 22:46:34 +00:00
parent 5d910c3624
commit 40bb3c02b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321820
4 changed files with 59 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += abgx360
SUBDIR += abgx360gui
SUBDIR += acpi_call
SUBDIR += acpica-tools
SUBDIR += adtool
SUBDIR += afbinit
SUBDIR += afflib

View File

@ -0,0 +1,49 @@
# $FreeBSD$
PORTNAME= acpica
PORTVERSION= 20130626
CATEGORIES= sysutils devel
MASTER_SITES= https://acpica.org/sites/acpica/files/ \
LOCAL
MASTER_SITE_SUBDIR= jkim
PKGNAMESUFFIX= -tools
DISTNAME= ${PORTNAME}-unix2-${PORTVERSION}
MAINTAINER= jkim@FreeBSD.org
COMMENT= Tools from the ACPI Component Architecture (ACPICA) project
LICENSE= BSD
ONLY_FOR_ARCHS= amd64 i386 ia64
USE_GMAKE= yes
MAKE_ARGS= HOST=_FreeBSD
WRKSRC_SUBDIR= generate/unix
.for t in ${ACPICA_TOOLS}
PLIST_FILES+= bin/${t}
.endfor
LFLAGS= -i -s
YFLAGS= -v -d
.if !empty(YACC:M*bison*)
YFLAGS+= -y
.endif
ACPICA_TOOLS= acpibin acpidump acpiexec acpihelp acpinames acpisrc \
acpixtract iasl
post-patch:
@${REINPLACE_CMD} -e 's|^CC[[:blank:]]*=.*|CC = ${CC}|' \
-e 's|^LEX[[:blank:]]*=.*|LEX = ${FLEX}|' \
-e 's|^LFLAGS[[:blank:]]*+=.*|LFLAGS = ${LFLAGS}|' \
-e 's|^YACC[[:blank:]]*=.*|YACC = ${YACC}|' \
-e 's|^YFLAGS[[:blank:]]*+=.*|YFLAGS = ${YFLAGS}|' \
${WRKSRC}/Makefile.config
do-install:
.for t in ${ACPICA_TOOLS}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${t} ${PREFIX}/bin
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (acpica-unix2-20130626.tar.gz) = 888dda6227265c396a686624f971c51693c2bba84f24c634536234c8dca7b465
SIZE (acpica-unix2-20130626.tar.gz) = 1218252

View File

@ -0,0 +1,7 @@
The ACPI Component Architecture (ACPICA) project provides an operating
system (OS)-independent reference implementation of the Advanced
Configuration and Power Interface Specification (ACPI).
This port provides utilities bundled with the ACPICA release.
WWW: https://acpica.org