2014-03-14 11:51:43 +01:00
|
|
|
# Created by: Maxim Ignatenko <gelraen.ua@gmail.com>
|
2011-11-02 19:17:06 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= acpi_call
|
2011-11-07 13:12:53 +01:00
|
|
|
PORTVERSION= 1.0.1
|
2014-03-14 11:51:43 +01:00
|
|
|
CATEGORIES= sysutils
|
2011-11-02 19:17:06 +01:00
|
|
|
MASTER_SITES= http://projects.ukrweb.net/files/ \
|
|
|
|
http://imax.in.ua/files/
|
|
|
|
|
|
|
|
MAINTAINER= gelraen.ua@gmail.com
|
|
|
|
COMMENT= Kernel module for calling ACPI methods from userspace
|
|
|
|
|
2014-03-14 11:51:43 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2011-11-02 19:17:06 +01:00
|
|
|
|
2011-12-28 07:59:36 +01:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 ia64
|
|
|
|
ONLY_FOR_ARCHS_REASON= not relevant for non-x86-derived architectures
|
|
|
|
|
2014-03-14 11:51:43 +01:00
|
|
|
USES= kmod
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,/sys,$${SYSDIR},' ${WRKSRC}/Makefile
|
|
|
|
|
2011-11-02 19:17:06 +01:00
|
|
|
post-build:
|
2014-03-14 11:51:43 +01:00
|
|
|
@${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} util
|
2011-11-02 19:17:06 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-03-14 11:51:43 +01:00
|
|
|
${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
2011-11-02 19:17:06 +01:00
|
|
|
|
2014-03-14 11:51:43 +01:00
|
|
|
.include <bsd.port.mk>
|