blob: c5c6b114a6d071763f34dad66d9315c3659d6c97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Maxim Ignatenko
# $FreeBSD$
PORTNAME= acpi_call
PORTVERSION= 1.0.1
CATEGORIES= sysutils kld
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
LICENSE= BSD
SSP_UNSAFE= kernel module does not support ssp
NO_STAGE= yes
.include <bsd.port.pre.mk>
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR} \
PORTNAME=${PORTNAME}
.if !exists(${SRC_BASE}/sys/sys/module.h)
IGNORE= requires kernel source files
.endif
ONLY_FOR_ARCHS= amd64 i386 ia64
ONLY_FOR_ARCHS_REASON= not relevant for non-x86-derived architectures
post-build:
@cd ${WRKSRC} && ${MAKE} util
do-install:
@${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${KMODDIR}
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
.include <bsd.port.post.mk>
|