svn commit: r423799 - in head/devel: . arduino-sevseg
Boris Samorodov
bsam at FreeBSD.org
Tue Oct 11 21:19:36 UTC 2016
Author: bsam
Date: Tue Oct 11 21:19:35 2016
New Revision: 423799
URL: https://svnweb.freebsd.org/changeset/ports/423799
Log:
Arduino seven segment display library
This library turns your Arduino into a seven segment display
controller! Use it to easily display numbers on your seven segment
display without any additional controllers.
It supports common cathode and common anode displays, and the use
of switching transistors. Displays with 1 to 9 digits can be used,
and decimal places are supported. Characters and strings are not
supported.
WWW: https://github.com/DeanIsMe/SevSeg
PR: 212806
Submitted by: Craig Leres <leres at ee.lbl.gov>
Added:
head/devel/arduino-sevseg/
head/devel/arduino-sevseg/Makefile (contents, props changed)
head/devel/arduino-sevseg/distinfo (contents, props changed)
head/devel/arduino-sevseg/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Oct 11 21:16:25 2016 (r423798)
+++ head/devel/Makefile Tue Oct 11 21:19:35 2016 (r423799)
@@ -99,6 +99,7 @@
SUBDIR += arduino-glcd
SUBDIR += arduino-irremote
SUBDIR += arduino-mk
+ SUBDIR += arduino-sevseg
SUBDIR += argouml
SUBDIR += argp-standalone
SUBDIR += argtable
Added: head/devel/arduino-sevseg/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/arduino-sevseg/Makefile Tue Oct 11 21:19:35 2016 (r423799)
@@ -0,0 +1,36 @@
+# Created by: Craig Leres <leres at ee.lbl.gov>
+# $FreeBSD$
+
+PORTNAME= arduino-sevseg
+PORTVERSION= 3.1
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= leres at ee.lbl.gov
+COMMENT= Arduino seven segment display library
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= arduino:devel/arduino
+
+USE_GITHUB= yes
+GH_ACCOUNT= DeanIsMe
+GH_PROJECT= SevSeg
+
+NO_BUILD= yes
+
+FILES= SevSeg.cpp SevSeg.h keywords.txt
+
+PLIST_FILES= ${FILES:S,^,arduino/libraries/SevSeg/,}
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= EXAMPLES
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/arduino/libraries/SevSeg
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} \
+ ${STAGEDIR}${PREFIX}/arduino/libraries/SevSeg)
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Added: head/devel/arduino-sevseg/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/arduino-sevseg/distinfo Tue Oct 11 21:19:35 2016 (r423799)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1474167691
+SHA256 (DeanIsMe-SevSeg-v3.1_GH0.tar.gz) = 818b35ce6634774851dad395ba9c2d4a383fc2562d8f9bd6a5ddaa4601602146
+SIZE (DeanIsMe-SevSeg-v3.1_GH0.tar.gz) = 10865
Added: head/devel/arduino-sevseg/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/arduino-sevseg/pkg-descr Tue Oct 11 21:19:35 2016 (r423799)
@@ -0,0 +1,12 @@
+Arduino seven segment display library
+
+This library turns your Arduino into a seven segment display
+controller! Use it to easily display numbers on your seven segment
+display without any additional controllers.
+
+It supports common cathode and common anode displays, and the use
+of switching transistors. Displays with 1 to 9 digits can be used,
+and decimal places are supported. Characters and strings are not
+supported.
+
+WWW: https://github.com/DeanIsMe/SevSeg
More information about the svn-ports-head
mailing list