From owner-svn-ports-head@freebsd.org Wed Oct 19 20:53:15 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E95BFC18DBC; Wed, 19 Oct 2016 20:53:15 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9B34399; Wed, 19 Oct 2016 20:53:15 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9JKrENx038961; Wed, 19 Oct 2016 20:53:14 GMT (envelope-from bsam@FreeBSD.org) Received: (from bsam@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9JKrE0W038957; Wed, 19 Oct 2016 20:53:14 GMT (envelope-from bsam@FreeBSD.org) Message-Id: <201610192053.u9JKrE0W038957@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bsam set sender to bsam@FreeBSD.org using -f From: Boris Samorodov Date: Wed, 19 Oct 2016 20:53:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424290 - in head/devel: . arduino-tools X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 20:53:16 -0000 Author: bsam Date: Wed Oct 19 20:53:14 2016 New Revision: 424290 URL: https://svnweb.freebsd.org/changeset/ports/424290 Log: arduino-tools is mostly a meta-port to ensure installation of the tools required by Arduino 1.6. It does some installation to properly structure the arduino/tools-builder/ structure in such a way that we may use all of the tools available from ports while not requiring modifications to devel/arduino-builder to auto-detect the tools. PR: 213529 Submitted by: bsdports@kyle-evans.net Added: head/devel/arduino-tools/ head/devel/arduino-tools/Makefile (contents, props changed) head/devel/arduino-tools/pkg-descr (contents, props changed) head/devel/arduino-tools/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Oct 19 20:31:13 2016 (r424289) +++ head/devel/Makefile Wed Oct 19 20:53:14 2016 (r424290) @@ -102,6 +102,7 @@ SUBDIR += arduino-irremote SUBDIR += arduino-mk SUBDIR += arduino-sevseg + SUBDIR += arduino-tools SUBDIR += argouml SUBDIR += argp-standalone SUBDIR += argtable Added: head/devel/arduino-tools/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino-tools/Makefile Wed Oct 19 20:53:14 2016 (r424290) @@ -0,0 +1,57 @@ +# $FreeBSD$ + +PORTNAME= arduino-tools +PORTVERSION= 1.6.12 +CATEGORIES= devel +MASTER_SITES= # Mostly metaport - installs files, no build +DISTFILES= # +EXTRACT_ONLY= # + +MAINTAINER= bsdports@kyle-evans.net +COMMENT= Brings together all of the tool dependencies used for Arduino 1.6 + +LICENSE= NONE + +RUN_DEPENDS= avrdude:devel/avrdude \ + bossac:devel/bossa \ + avr-as:devel/avr-binutils \ + avr-ld:devel/avr-binutils \ + avr-gcc:devel/avr-gcc \ + arm-none-eabi-gcc:devel/arm-none-eabi-gcc \ + arm-none-eabi-g++:devel/arm-none-eabi-gcc \ + ${LOCALBASE}/arduino/tools-builder/ctags/${CTAGS_VERS}/ctags:devel/arduino-ctags \ + arm-none-eabi-newlib>=0:devel/arm-none-eabi-newlib \ + arduino-core>=0:devel/arduino-core + +NO_BUILD= yes +NO_ARCH= yes + +ARMGCC_VERS= 4.9.2 +AVRDUDE_VERS= 6.3.0-arduino6 +AVRGCC_VERS= 4.9.2-atmel3.5.3-arduino2 +BOSSAC_VERS= 1.7.0 +CMSIS_VERS= ${PORTVERSION} +CTAGS_VERS= 5.8-arduino10 + +PLIST_SUB+= ARMGCC_VERS=${ARMGCC_VERS} \ + AVRDUDE_VERS=${AVRDUDE_VERS} \ + AVRGCC_VERS=${AVRGCC_VERS} \ + BOSSAC_VERS=${BOSSAC_VERS} \ + CMSIS_VERS=${CMSIS_VERS} + +_STD_TOOLS_= arm-none-eabi-gcc:${ARMGCC_VERS} \ + avr-gcc:${AVRGCC_VERS} \ + avrdude:${AVRDUDE_VERS} \ + bossac:${BOSSAC_VERS} + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS} + ${LN} -s ../../../hardware/arduino/sam/system/CMSIS/CMSIS ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS}/CMSIS + ${LN} -s ../../../hardware/arduino/sam/system/CMSIS/Device ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS}/Device +.for _tool in ${_STD_TOOLS_} + ${MKDIR} ${STAGEDIR}${PREFIX}/arduino/tools-builder/${_tool:C/:.*//}/${_tool:C/.*://} + ${LN} -s ../../../../bin ${STAGEDIR}${PREFIX}/arduino/tools-builder/${_tool:C/:.*//}/${_tool:C/.*://}/bin + ${LN} -s ../../../../etc ${STAGEDIR}${PREFIX}/arduino/tools-builder/${_tool:C/:.*//}/${_tool:C/.*://}/etc +.endfor + +.include Added: head/devel/arduino-tools/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino-tools/pkg-descr Wed Oct 19 20:53:14 2016 (r424290) @@ -0,0 +1,5 @@ +arduino-tools is mostly a meta-port to ensure installation of the tools +required by Arduino 1.6. It does some installation to properly structure +the arduino/tools-builder/ structure in such a way that we may use +all of the tools available from ports while not requiring modifications +to devel/arduino-builder to auto-detect the tools. Added: head/devel/arduino-tools/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino-tools/pkg-plist Wed Oct 19 20:53:14 2016 (r424290) @@ -0,0 +1,10 @@ +arduino/tools-builder/CMSIS/%%CMSIS_VERS%%/CMSIS +arduino/tools-builder/CMSIS/%%CMSIS_VERS%%/Device +arduino/tools-builder/arm-none-eabi-gcc/%%ARMGCC_VERS%%/bin +arduino/tools-builder/arm-none-eabi-gcc/%%ARMGCC_VERS%%/etc +arduino/tools-builder/avr-gcc/%%AVRGCC_VERS%%/bin +arduino/tools-builder/avr-gcc/%%AVRGCC_VERS%%/etc +arduino/tools-builder/avrdude/%%AVRDUDE_VERS%%/bin +arduino/tools-builder/avrdude/%%AVRDUDE_VERS%%/etc +arduino/tools-builder/bossac/%%BOSSAC_VERS%%/bin +arduino/tools-builder/bossac/%%BOSSAC_VERS%%/etc