aboutsummaryrefslogtreecommitdiff
path: root/devel/arduino-builder
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2016-10-15 21:22:06 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2016-10-15 21:22:06 +0000
commit2da24794922e105488ff1f0b1075fb54e54c1a38 (patch)
treebc5268fb2aec4c34d70ae55926eeb22e45653b35 /devel/arduino-builder
parentbcead147a5ca30df8c7294367e97b97662682c4a (diff)
downloadports-2da24794922e105488ff1f0b1075fb54e54c1a38.tar.gz
ports-2da24794922e105488ff1f0b1075fb54e54c1a38.zip
Notes
Diffstat (limited to 'devel/arduino-builder')
-rw-r--r--devel/arduino-builder/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/arduino-builder/Makefile b/devel/arduino-builder/Makefile
index 91014d44c62a..6422c9bebf1d 100644
--- a/devel/arduino-builder/Makefile
+++ b/devel/arduino-builder/Makefile
@@ -2,6 +2,7 @@
PORTNAME= arduino-builder
PORTVERSION= 1.3.21
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= bsdports@kyle-evans.net
@@ -21,12 +22,15 @@ GH_TUPLE= go-errors:errors:a418503:goerrors/src/github.com/go-errors/errors \
STRIP= # stripping can break go binaries
+PLIST_FILES= arduino/hardware/platform.keys.rewrite.txt \
+ arduino/hardware/platform.txt \
+ bin/${PORTNAME}
+
do-build:
@( cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build arduino.cc/arduino-builder )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
-PLIST_FILES= bin/${PORTNAME}
+ (cd ${WRKSRC}/src/arduino.cc/builder && ${COPYTREE_SHARE} "hardware" ${STAGEDIR}${PREFIX}/arduino ${FIND_EXPR})
.include <bsd.port.mk>