mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 13:40:34 -04:00
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>
36 lines
776 B
Makefile
36 lines
776 B
Makefile
# 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>
|