From owner-svn-ports-head@freebsd.org Sat Mar 18 00:30:08 2017 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 DF8AAD0F82C; Sat, 18 Mar 2017 00:30:08 +0000 (UTC) (envelope-from cpm@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 BA33F941; Sat, 18 Mar 2017 00:30:08 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2I0U7Uk018241; Sat, 18 Mar 2017 00:30:07 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2I0U7rF018239; Sat, 18 Mar 2017 00:30:07 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201703180030.v2I0U7rF018239@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Sat, 18 Mar 2017 00:30:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436366 - in head/devel/arduino: . files 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: Sat, 18 Mar 2017 00:30:09 -0000 Author: cpm Date: Sat Mar 18 00:30:07 2017 New Revision: 436366 URL: https://svnweb.freebsd.org/changeset/ports/436366 Log: devel/arduino: fix DOS2UNIX_REGEX, update atmega644 boards patch - Many installed source files had CRLF line endings. This was due to too much escaping in DOS2UNIX_REGEX. Reduce the list of extensions to just the ones that need it and add (lower case) makefile. - Update optional 644 boards.txt patch to be like the atmega328 version. Only add one board called atmega644 with the mcu set to atmega644p. - Bump PORTREVISION PR: 217817 Submitted by: Craig Leres (maintainer) Modified: head/devel/arduino/Makefile head/devel/arduino/files/extrapatch-hardware-arduino-boards.txt Modified: head/devel/arduino/Makefile ============================================================================== --- head/devel/arduino/Makefile Fri Mar 17 23:42:52 2017 (r436365) +++ head/devel/arduino/Makefile Sat Mar 18 00:30:07 2017 (r436366) @@ -3,7 +3,7 @@ PORTNAME= arduino PORTVERSION= 1.0.6 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= devel java lang MASTER_SITES= http://arduino.cc/download.php?f=/ @@ -21,7 +21,7 @@ RUN_DEPENDS= ${JAVA_HOME}/jre/lib/ext/RX WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= dos2unix tar:tgz kmod -DOS2UNIX_REGEX= .*\(\.\(c|cpp|h|hex|html|ino|lst|txt\)|Makefile\) +DOS2UNIX_REGEX= .*(\.(c|cpp|h|hex|txt)|Makefile|makefile) USE_JAVA= yes JAVA_OS= native Modified: head/devel/arduino/files/extrapatch-hardware-arduino-boards.txt ============================================================================== --- head/devel/arduino/files/extrapatch-hardware-arduino-boards.txt Fri Mar 17 23:42:52 2017 (r436365) +++ head/devel/arduino/files/extrapatch-hardware-arduino-boards.txt Sat Mar 18 00:30:07 2017 (r436366) @@ -1,12 +1,9 @@ ---- hardware/arduino/boards.txt.orig 2012-12-10 04:03:52.000000000 -0800 -+++ hardware/arduino/boards.txt 2012-12-26 21:02:48.000000000 -0800 -@@ -522,3 +522,39 @@ - atmega8.build.f_cpu=16000000L - atmega8.build.core=arduino - atmega8.build.variant=standard -+ -+############################################################## -+ +--- hardware/arduino/boards.txt.orig 2017-03-15 17:34:53 UTC ++++ hardware/arduino/boards.txt +@@ -525,6 +525,24 @@ atmega8.build.variant=standard + + ############################################################## + +atmega644.name=ATmega644 +atmega644.upload.protocol=stk500 +atmega644.upload.maximum_size=63488 @@ -18,25 +15,13 @@ +atmega644.bootloader.file=atmega644p +atmega644.bootloader.unlock_bits=0x3F +atmega644.bootloader.lock_bits=0x0F -+atmega644.build.mcu=atmega644 ++atmega644.build.mcu=atmega644p +atmega644.build.f_cpu=16000000L +atmega644.build.core=atmega644 +atmega644.build.variant=atmega644p + +############################################################## + -+atmega644p.name=ATmega644p -+atmega644p.upload.protocol=stk500 -+atmega644p.upload.maximum_size=63488 -+atmega644p.upload.speed=38400 -+atmega644p.bootloader.low_fuses=0xFF -+atmega644p.bootloader.high_fuses=0xDC -+atmega644p.bootloader.extended_fuses=0xFD -+atmega644p.bootloader.path=atmega644p -+atmega644p.bootloader.file=atmega644p -+atmega644p.bootloader.unlock_bits=0x3F -+atmega644p.bootloader.lock_bits=0x0F -+atmega644p.build.mcu=atmega644p -+atmega644p.build.f_cpu=16000000L -+atmega644p.build.core=atmega644 -+atmega644p.build.variant=atmega644p + robotControl.name=Arduino Robot Control + robotControl.upload.protocol=avr109 + robotControl.upload.maximum_size=28672