Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 21:19:35 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423799 - in head/devel: . arduino-sevseg
Message-ID:  <201610112119.u9BLJZUg025971@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@ee.lbl.gov>
+# $FreeBSD$
+
+PORTNAME=	arduino-sevseg
+PORTVERSION=	3.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	leres@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610112119.u9BLJZUg025971>