summaryrefslogtreecommitdiff
path: root/misc/raspberrypi-gpioshutdown/Makefile
blob: 6542bee94e5c4842f38582b8b62509ba71c5b19d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

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>