- Remove custom build/install targets left in place after r505321 - Switch to the new GO_TARGET tuple syntax introduced in r512001 - Switch to go:modules when upstream already uses them Reviewed by: tobik Approved by: araujo (mentor), portmgr (adamw) Differential Revision: https://reviews.freebsd.org/D21741
23 lines
400 B
Makefile
23 lines
400 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= arduinoOTA
|
|
PORTVERSION= 1.2.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= kevans@FreeBSD.org
|
|
COMMENT= OTA upload tool for Arduino/ESP8266
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= arduino
|
|
GH_TAGNAME= c2b8306
|
|
|
|
GO_BUILDFLAGS= -ldflags "-X main.compileInfo=${COMPILEINFO}"
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
COMPILEINFO= ${OPSYS}${OSREL}-${ARCH}-${GH_TAGNAME}
|
|
|
|
.include <bsd.port.mk>
|