svn commit: r321820 - in head/sysutils: . acpica-tools
Jung-uk Kim
jkim at FreeBSD.org
Wed Jun 26 22:46:36 UTC 2013
Author: jkim
Date: Wed Jun 26 22:46:34 2013
New Revision: 321820
URL: http://svnweb.freebsd.org/changeset/ports/321820
Log:
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
Added:
head/sysutils/acpica-tools/
head/sysutils/acpica-tools/Makefile (contents, props changed)
head/sysutils/acpica-tools/distinfo (contents, props changed)
head/sysutils/acpica-tools/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Wed Jun 26 21:53:51 2013 (r321819)
+++ head/sysutils/Makefile Wed Jun 26 22:46:34 2013 (r321820)
@@ -13,6 +13,7 @@
SUBDIR += abgx360
SUBDIR += abgx360gui
SUBDIR += acpi_call
+ SUBDIR += acpica-tools
SUBDIR += adtool
SUBDIR += afbinit
SUBDIR += afflib
Added: head/sysutils/acpica-tools/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/acpica-tools/Makefile Wed Jun 26 22:46:34 2013 (r321820)
@@ -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 at 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>
Added: head/sysutils/acpica-tools/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/acpica-tools/distinfo Wed Jun 26 22:46:34 2013 (r321820)
@@ -0,0 +1,2 @@
+SHA256 (acpica-unix2-20130626.tar.gz) = 888dda6227265c396a686624f971c51693c2bba84f24c634536234c8dca7b465
+SIZE (acpica-unix2-20130626.tar.gz) = 1218252
Added: head/sysutils/acpica-tools/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/acpica-tools/pkg-descr Wed Jun 26 22:46:34 2013 (r321820)
@@ -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
More information about the svn-ports-head
mailing list