aboutsummaryrefslogtreecommitdiff
path: root/devel/arduino-openglcd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/arduino-openglcd/Makefile')
-rw-r--r--devel/arduino-openglcd/Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/devel/arduino-openglcd/Makefile b/devel/arduino-openglcd/Makefile
new file mode 100644
index 000000000000..f53f39e39fc3
--- /dev/null
+++ b/devel/arduino-openglcd/Makefile
@@ -0,0 +1,62 @@
+# Created by: Craig Leres <leres@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= arduino-openglcd
+DISTVERSION= 1.0rc3
+CATEGORIES= devel
+MASTER_SITES= https://bitbucket.org/bperrybap/openglcd/downloads/
+DISTNAME= openGLCD-v${DISTVERSION}
+
+MAINTAINER= leres@FreeBSD.org
+COMMENT= GLCD Graphical LCD Library
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= arduino>=1.0.6:devel/arduino
+
+WRKSRC= ${WRKDIR}/openGLCD
+USES= zip dos2unix
+
+NO_BUILD= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+FILES= \
+ Buildinfo.txt \
+ ChangeLog.txt \
+ License.txt \
+ gText.cpp \
+ glcd.cpp \
+ glcd.h.compat \
+ glcd_Device.cpp \
+ keywords.txt \
+ library.properties \
+ openGLCD.h \
+ openGLCD_Buildinfo.h \
+ openGLCD_Config.h \
+ readme.txt
+
+DIRS= \
+ GPLdocs \
+ bitmaps \
+ config \
+ device \
+ fonts \
+ include
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/arduino/libraries/glcd
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "${FILES}" \
+ ${STAGEDIR}${PREFIX}/arduino/libraries/glcd "! -name *\.orig")
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "${DIRS}" \
+ ${STAGEDIR}${PREFIX}/arduino/libraries/glcd)
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${DOCSDIR} "! -name *\.orig")
+do-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${EXAMPLESDIR} "! -name *\.orig")
+
+.include <bsd.port.mk>