blob: 838dc543bf85f265bd300c545e3faa857883c798 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Craig Leres <leres@FreeBSD.org>
# $FreeBSD$
PORTNAME= arduino-sevseg
PORTVERSION= 3.3.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= leres@FreeBSD.org
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>
|