svn commit: r436513 - in head/devel: . arduinoOTA
Boris Samorodov
bsam at FreeBSD.org
Sun Mar 19 22:07:50 UTC 2017
Author: bsam
Date: Sun Mar 19 22:07:49 2017
New Revision: 436513
URL: https://svnweb.freebsd.org/changeset/ports/436513
Log:
Tool for performing OTA updates on Arduino boards and the ESP8266.
WWW: https://www.arduino.cc
PR: 217842
Submitted by: bsdports at kyle-evans.net
Added:
head/devel/arduinoOTA/
head/devel/arduinoOTA/Makefile (contents, props changed)
head/devel/arduinoOTA/distinfo (contents, props changed)
head/devel/arduinoOTA/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Mar 19 20:26:22 2017 (r436512)
+++ head/devel/Makefile Sun Mar 19 22:07:49 2017 (r436513)
@@ -106,6 +106,7 @@
SUBDIR += arduino-sevseg
SUBDIR += arduino-tools
SUBDIR += arduino16
+ SUBDIR += arduinoOTA
SUBDIR += argdata
SUBDIR += argouml
SUBDIR += argp-standalone
Added: head/devel/arduinoOTA/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/arduinoOTA/Makefile Sun Mar 19 22:07:49 2017 (r436513)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= arduinoOTA
+PORTVERSION= 1.2.0
+CATEGORIES= devel
+
+MAINTAINER= bsdports at kyle-evans.net
+COMMENT= OTA upload tool for Arduino/ESP8266
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= go:lang/go
+
+USE_GITHUB= yes
+GH_ACCOUNT= arduino
+GH_TAGNAME= c2b8306
+
+PLIST_FILES= bin/${PORTNAME}
+COMPILEINFO= ${OPSYS}${OSREL}-${ARCH}-${GH_TAGNAME}
+
+STRIP= # stripping can break go binaries
+
+do-build:
+ (cd ${WRKSRC} && ${SETENV} ${GO_ENV} go build -o ${PORTNAME} -ldflags "-X main.compileInfo=${COMPILEINFO}" main.go)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
Added: head/devel/arduinoOTA/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/arduinoOTA/distinfo Sun Mar 19 22:07:49 2017 (r436513)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1489629303
+SHA256 (arduino-arduinoOTA-1.2.0-c2b8306_GH0.tar.gz) = aa4ab21ce1d906793a4b9e1286fd4d38b2d255aa4a42111460c96bbe6d79b3b7
+SIZE (arduino-arduinoOTA-1.2.0-c2b8306_GH0.tar.gz) = 2549
Added: head/devel/arduinoOTA/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/arduinoOTA/pkg-descr Sun Mar 19 22:07:49 2017 (r436513)
@@ -0,0 +1,3 @@
+Tool for performing OTA updates on Arduino boards and the ESP8266.
+
+WWW: https://www.arduino.cc
More information about the svn-ports-head
mailing list