View | Details | Raw Unified | Return to bug 249039
Collapse All | Expand All

(-)b/misc/bh1750-kmod/Makefile (+25 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	bh1750-kmod
4
DISTVERSION=	g20200823
5
CATEGORIES=	misc
6
DIST_SUBDIR=	gpio/${GL_ACCOUNT}
7
8
MAINTAINER=	mishin@mh.net.ru
9
COMMENT=	FreeBSD kernel driver for a BH1750FVI based light sensor
10
11
LICENSE=	BSD2CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
ONLY_FOR_ARCHS=	armv7
15
ONLY_FOR_ARCHS_REASON=	not tested on anything else
16
17
USES=		kmod
18
19
# gitlab variables
20
USE_GITLAB=	yes
21
GL_ACCOUNT=	alexandermishin13
22
GL_PROJECT=	bh1750-kmod
23
GL_COMMIT=	3054cfb0a22038509fc3d6595cf350be139bb5de
24
25
.include <bsd.port.mk>
(-)b/misc/bh1750-kmod/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1598860323
2
SHA256 (gpio/alexandermishin13/alexandermishin13-bh1750-kmod-3054cfb0a22038509fc3d6595cf350be139bb5de_GL0.tar.gz) = 5c7d7429e482e9e6271c7c399b5d2e6f039f2c9503b207da2ba1f7f1db4f9c72
3
SIZE (gpio/alexandermishin13/alexandermishin13-bh1750-kmod-3054cfb0a22038509fc3d6595cf350be139bb5de_GL0.tar.gz) = 19546
(-)b/misc/bh1750-kmod/pkg-descr (+9 lines)
Added Link Here
1
FreeBSD kernel driver for a bh1750 sensor (up to two ones on an i2c bus).
2
3
It makes the sensor to measure ambient light every 5 seconds and updates a
4
corresponding sysctl(8) variables. You may manage the measurement by changing
5
some variables.
6
7
For building the port You need the kernel sources installed into /usr/src.
8
9
WWW: https://gitlab.com/alexandermishin13/bh1750-kmod
(-)b/misc/bh1750-kmod/pkg-plist (+4 lines)
Added Link Here
1
/%%KMODDIR%%/bh1750.ko
2
/boot/dtb/overlays/sun8i-h3-bh1750-i2c0.dtbo
3
/boot/dtb/overlays/bh1750-rpi2-i2c0.dtbo
4
man/man4/bh1750.4.gz

Return to bug 249039