74ad9f1738
acer 5820tg without segfaulting. "I don't remember what possessed me to claim maintainer of this in the first place. feel free to remove me :)" phessler@
47 lines
1.5 KiB
Makefile
47 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2011/04/05 08:02:25 sthen Exp $
|
|
|
|
ONLY_FOR_ARCHS = amd64 i386
|
|
|
|
COMMENT = reference implementation of ACPI tools
|
|
V = 20110316
|
|
DISTNAME = acpica-unix-${V}
|
|
PKGNAME = acpica-${V}
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://www.acpica.org
|
|
MASTER_SITES = ${HOMEPAGE}/download/
|
|
|
|
WANTLIB = c pthread
|
|
|
|
# Intel License
|
|
# http://www.acpica.org/downloads/unix_source_code.php
|
|
PERMIT_PACKAGE_CDROM = export restrictions
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =export restrictions
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
USE_GMAKE = Yes
|
|
NO_REGRESS = Yes
|
|
BUILD_DEPENDS = devel/flex devel/bison
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/compiler && env CFLAGS="${CFLAGS}" ${MAKE_PROGRAM}
|
|
cd ${WRKSRC}/tools/acpisrc && env CFLAGS="${CFLAGS}" ${MAKE_PROGRAM}
|
|
cd ${WRKSRC}/tools/acpinames && env CFLAGS="${CFLAGS}" ${MAKE_PROGRAM}
|
|
cd ${WRKSRC}/tools/acpixtract && env CFLAGS="${CFLAGS}" ${MAKE_PROGRAM}
|
|
cd ${WRKSRC}/tools/acpiexec && \
|
|
env CFLAGS="${CFLAGS}" ${MAKE_PROGRAM} clean acpiexec
|
|
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/compiler/iasl ${PREFIX}/bin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/acpisrc/acpisrc ${PREFIX}/bin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/acpinames/acpinames ${PREFIX}/bin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/acpixtract/acpixtract ${PREFIX}/bin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/acpiexec/acpiexec ${PREFIX}/bin/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/acpica/
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/acpica/
|
|
${INSTALL_DATA} ${FILESDIR}/LICENSE ${PREFIX}/share/doc/acpica/
|
|
|
|
.include <bsd.port.mk>
|