--- /dev/null +++ b/misc/bh1750-kmod/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= bh1750-kmod +DISTVERSION= g20201012 +CATEGORIES= misc +DIST_SUBDIR= gpio/${GL_ACCOUNT} + +MAINTAINER= mishin@mh.net.ru +COMMENT= FreeBSD kernel driver for a BH1750FVI based light sensor + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= armv7 +ONLY_FOR_ARCHS_REASON= not tested on anything else + +USES= kmod + +# gitlab variables +USE_GITLAB= yes +GL_ACCOUNT= alexandermishin13 +GL_PROJECT= bh1750-kmod +GL_COMMIT= c5eec812084f4c64e4a5ffec6c8c086cb9dfbd57 + +SUB_FILES= pkg-message + +post-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/fdt-overlay && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +.include --- /dev/null +++ b/misc/bh1750-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1602449267 +SHA256 (gpio/alexandermishin13/alexandermishin13-bh1750-kmod-c5eec812084f4c64e4a5ffec6c8c086cb9dfbd57_GL0.tar.gz) = 86ec885f6c1b8839420dabd41a825c75320565e72714331b94b4f2012d8a71ec +SIZE (gpio/alexandermishin13/alexandermishin13-bh1750-kmod-c5eec812084f4c64e4a5ffec6c8c086cb9dfbd57_GL0.tar.gz) = 23134 --- /dev/null +++ b/misc/bh1750-kmod/files/pkg-message.in @@ -0,0 +1,23 @@ +[ +{ +type: install +message: <