Date: Sun, 16 Oct 2011 07:40:09 GMT From: Maxim Ignatenko <gelraen.ua@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/161678: New port: sysutils/acpi_call kernle module for calling ACPI methods Message-ID: <201110160740.p9G7e9n9015863@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/161678; it has been noted by GNATS. From: Maxim Ignatenko <gelraen.ua@gmail.com> To: bug-followup@freebsd.org Cc: Subject: Re: ports/161678: New port: sysutils/acpi_call kernle module for calling ACPI methods Date: Sun, 16 Oct 2011 10:37:38 +0300 --Boundary-00=_CnomOrhnFePk+OV Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit A bit improved version (installs module to /boot/modules instead of ${PREFIX}/modules) http://imax.in.ua/files/acpi_call.shar --Boundary-00=_CnomOrhnFePk+OV Content-Type: application/x-shar; name="acpi_call.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="acpi_call.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # acpi_call # acpi_call/distinfo # acpi_call/pkg-descr # acpi_call/Makefile # acpi_call/pkg-plist # echo c - acpi_call mkdir -p acpi_call > /dev/null 2>&1 echo x - acpi_call/distinfo sed 's/^X//' >acpi_call/distinfo << '8216e0df637b23c9227cf684473d350d' XSHA256 (acpi_call-1.0.tar.gz) = 4721953ec07e05834228d3020b0db5c925d592fb70d731fd79ff1ac52dd27a16 XSIZE (acpi_call-1.0.tar.gz) = 3650 8216e0df637b23c9227cf684473d350d echo x - acpi_call/pkg-descr sed 's/^X//' >acpi_call/pkg-descr << 'fa1b9df1f94f64eff5eabfb4255f1f34' XKernel module for calling arbitrary ACPI methods from userspace. fa1b9df1f94f64eff5eabfb4255f1f34 echo x - acpi_call/Makefile sed 's/^X//' >acpi_call/Makefile << '1c4c9c0b9ebdc3c75f15345ccf6e2b4e' X# New ports collection makefile for: acpi_call X# Date created: 15 Oct 2011 X# Whom: Maxim Ignatenko X# X# $FreeBSD$ X# X XPORTNAME= acpi_call XPORTVERSION= 1.0 XCATEGORIES= sysutils kld XMASTER_SITES= http://projects.ukrweb.net/files/ \ X http://imax.in.ua/files/ X XMAINTAINER= gelraen.ua@gmail.com XCOMMENT= Kernel module for calling ACPI methods from userspace X XLICENSE= BSD X XKMODDIR?= /boot/modules XPLIST_SUB+= KMODDIR=${KMODDIR} \ X PORTNAME=${PORTNAME} X X.if !exists(/sys/sys/module.h) XIGNORE= requires kernel sources X.endif X Xdo-build: X @cd ${WRKSRC} && ${MAKE} && ${MAKE} util X Xdo-install: X @${INSTALL_KLD} "${WRKSRC}/${PORTNAME}.ko" "${KMODDIR}/" X @${INSTALL_PROGRAM} "${WRKSRC}/${PORTNAME}" "${PREFIX}/sbin" X X.include <bsd.port.mk> 1c4c9c0b9ebdc3c75f15345ccf6e2b4e echo x - acpi_call/pkg-plist sed 's/^X//' >acpi_call/pkg-plist << 'f08d3cbf3293ec6ef6149a23591dc42c' Xsbin/%%PORTNAME%% X@cwd / X%%KMODDIR%%/%%PORTNAME%%.ko X@exec /usr/sbin/kldxref /%%KMODDIR%% X@unexec /usr/sbin/kldxref /%%KMODDIR%% f08d3cbf3293ec6ef6149a23591dc42c exit --Boundary-00=_CnomOrhnFePk+OV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110160740.p9G7e9n9015863>