1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/sysutils/acpi_call/Makefile
Alexey Dokuchaev eab81cf929 - Do not assume that /sys always points to SYSDIR
- Set LICENSE to a more specific BSD2CLAUSE
- Standardize Makefile header; generally clean up the port
- Convert to USES=kmod and stagify the port while here
2014-03-14 10:51:43 +00:00

31 lines
737 B
Makefile

# Created by: Maxim Ignatenko <gelraen.ua@gmail.com>
# $FreeBSD$
PORTNAME= acpi_call
PORTVERSION= 1.0.1
CATEGORIES= sysutils
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= BSD2CLAUSE
ONLY_FOR_ARCHS= amd64 i386 ia64
ONLY_FOR_ARCHS_REASON= not relevant for non-x86-derived architectures
USES= kmod
post-patch:
@${REINPLACE_CMD} -e 's,/sys,$${SYSDIR},' ${WRKSRC}/Makefile
post-build:
@${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} util
do-install:
${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>