diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/acpica-tools/Makefile | 49 | ||||
-rw-r--r-- | sysutils/acpica-tools/distinfo | 2 | ||||
-rw-r--r-- | sysutils/acpica-tools/pkg-descr | 7 |
4 files changed, 59 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 9f3528e038f2..ab9344f6ac9f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -13,6 +13,7 @@ SUBDIR += abgx360 SUBDIR += abgx360gui SUBDIR += acpi_call + SUBDIR += acpica-tools SUBDIR += adtool SUBDIR += afbinit SUBDIR += afflib diff --git a/sysutils/acpica-tools/Makefile b/sysutils/acpica-tools/Makefile new file mode 100644 index 000000000000..5adce2fac4dd --- /dev/null +++ b/sysutils/acpica-tools/Makefile @@ -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> diff --git a/sysutils/acpica-tools/distinfo b/sysutils/acpica-tools/distinfo new file mode 100644 index 000000000000..39bd2d0ae97f --- /dev/null +++ b/sysutils/acpica-tools/distinfo @@ -0,0 +1,2 @@ +SHA256 (acpica-unix2-20130626.tar.gz) = 888dda6227265c396a686624f971c51693c2bba84f24c634536234c8dca7b465 +SIZE (acpica-unix2-20130626.tar.gz) = 1218252 diff --git a/sysutils/acpica-tools/pkg-descr b/sysutils/acpica-tools/pkg-descr new file mode 100644 index 000000000000..e6e23ee5fcbc --- /dev/null +++ b/sysutils/acpica-tools/pkg-descr @@ -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 |