aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2016-10-16 05:22:06 +0800
committerbsam <bsam@FreeBSD.org>2016-10-16 05:22:06 +0800
commit8e317bf8b6c867b6754a9a71eff664c546deb2a8 (patch)
treebc5268fb2aec4c34d70ae55926eeb22e45653b35
parent1104a34f1775dfc2a1abd9f269b539fdb4b358ab (diff)
downloadfreebsd-ports-gnome-8e317bf8b6c867b6754a9a71eff664c546deb2a8.tar.gz
freebsd-ports-gnome-8e317bf8b6c867b6754a9a71eff664c546deb2a8.tar.zst
freebsd-ports-gnome-8e317bf8b6c867b6754a9a71eff664c546deb2a8.zip
devel/arduino-builder: Add package hardware definitions.
PR: 213496 Submitted by: Kyle Evans <bsdports@kyle-evans.net> (maintiner))
-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>