aboutsummaryrefslogtreecommitdiffstats
path: root/misc/raspberrypi-gpioshutdown/Makefile
blob: 816810db9aadb1bf2ffefd8d50c6b6f3da0fb86b (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
# $FreeBSD$

PORTNAME=   raspberrypi-gpioshutdown
DISTVERSION=    1.0
CATEGORIES= misc
MASTER_SITES=   http://mrp3.com/

MAINTAINER= bobf@mrp3.com
COMMENT=    Kernel driver to reset GPIO pins on shutdown for Raspberry Pi

LICENSE=    BSD2CLAUSE

ONLY_FOR_ARCHS= armv6 armv7

KMODNAME=   gpioshutdown
USES=       kmod
USE_RC_SUBR=    ${KMODNAME}

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_KLD} ${WRKSRC}/${KMODNAME}.ko ${STAGEDIR}${KMODDIR}
    ${INSTALL_MAN} ${WRKSRC}/gpioshutdown.4 ${STAGEDIR}${PREFIX}/man/man4/

.include <bsd.port.mk>