Fetching contributors…
Cannot retrieve contributors at this time
50 lines (37 sloc) 1.69 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name acpica
version 20120111
categories devel
# Comes with a restrictive Intel license in the source files, but the included
# acpisrc tool replaces them with an open source dual license.
# Why not just indicate triple licensing to start with? Who knows.
license {Permissive GPL-2}
platforms darwin
maintainers nomaintainer
description ACPI compiler
long_description A compiler for ACPI DSDT .asl files.
distname acpica-unix-${version}
checksums sha1 af77be2a7640c44e885c55083ae6faaa0ce8c248 \
rmd160 c4b132f99c1d330a11705945259e024b5203c1a9
depends_build port:bison
patchfiles remove-Werror.patch
post-patch {
reinplace "s,-lrt,,g" ${worksrcpath}/tools/acpiexec/Makefile \
use_configure no
build {
system "cd ${worksrcpath}/compiler && export CC=${} CFLAGS='-DACPI_USE_ALTERNATE_TIMEOUT -include pthread.h' && make LDLIBS="
system "cd ${worksrcpath}/tools/acpiexec && export CC=${} CFLAGS='-DACPI_USE_ALTERNATE_TIMEOUT -include pthread.h' && make clean && make"
system "cd ${worksrcpath}/tools/acpixtract && CC=${} make"
destroot {
xinstall -W ${worksrcpath} \
compiler/iasl \
tools/acpixtract/acpixtract \
tools/acpiexec/acpiexec \