FreeBSD Bugzilla – Attachment 176107 Details for
Bug 213749
[PATCH] devel/arduino-builder: Add TOOLS option to bring in tools for standalone building
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn(1) diff of devel/arduino-builder
arduino-builder-1.3.21_3.diff (text/plain), 2.28 KB, created by
Kyle Evans
on 2016-10-24 16:35:09 UTC
(
hide
)
Description:
svn(1) diff of devel/arduino-builder
Filename:
MIME Type:
Creator:
Kyle Evans
Created:
2016-10-24 16:35:09 UTC
Size:
2.28 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 424572) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= arduino-builder > PORTVERSION= 1.3.21 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= devel > > MAINTAINER= bsdports@kyle-evans.net >@@ -20,13 +20,28 @@ > stretchr:testify:v1.1.3:stretchr/src/github.com/stretchr/testify \ > jstemmer:go-junit-report:833f8ea:jstemmer/src/github.com/jstemmer/go-junit-report > >+OPTIONS_DEFINE= TOOLS >+OPTIONS_DEFAULT=TOOLS >+ >+TOOLS_DESC= Add arduino-tools for a standalone build setup >+TOOLS_RUN_DEPENDS= arduino-tools>=${_COMPAT_VER}:devel/arduino-tools >+TOOLS_PLIST_FILES= arduino/arduino-builder.options >+ > GO_ENV+= GOPATH=${WRKSRC} > STRIP= # stripping can break go binaries >+_COMPAT_VER= 1.6.12 >+_IDE_VER= 10612 > > PLIST_FILES= arduino/hardware/platform.keys.rewrite.txt \ > arduino/hardware/platform.txt \ > bin/${PORTNAME} > >+do-patch-TOOLS-on: >+ ${CP} ${FILESDIR}/arduino-builder.options.in ${WRKSRC}/arduino-builder.options >+ ${REINPLACE_CMD} -e 's|%%IDEVER%%|${_IDE_VER}|' \ >+ -e 's|%%PREFIX%%|${PREFIX}|' \ >+ ${WRKSRC}/arduino-builder.options >+ > do-build: > @( cd ${WRKSRC} ; ${SETENV} ${GO_ENV} go build arduino.cc/arduino-builder ) > >@@ -34,4 +49,7 @@ > ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} > (cd ${WRKSRC}/src/arduino.cc/builder && ${COPYTREE_SHARE} "hardware" ${STAGEDIR}${PREFIX}/arduino ${FIND_EXPR}) > >+do-install-TOOLS-on: >+ ${INSTALL_DATA} ${WRKSRC}/arduino-builder.options ${STAGEDIR}${PREFIX}/arduino/arduino-builder.options >+ > .include <bsd.port.mk> >Index: files/arduino-builder.options.in >=================================================================== >--- files/arduino-builder.options.in (nonexistent) >+++ files/arduino-builder.options.in (working copy) >@@ -0,0 +1,6 @@ >+{ >+ "hardwareFolders": "%%PREFIX%%/arduino/hardware", >+ "otherLibrariesFolders": "%%PREFIX%%/arduino/libraries", >+ "toolsFolders": "%%PREFIX%%/arduino/tools-builder", >+ "runtime.ide.version": "%%IDEVER%%" >+} > >Property changes on: files/arduino-builder.options.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213749
: 176107