From owner-svn-ports-all@FreeBSD.ORG Sun Jun 15 04:35:50 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E3FF280; Sun, 15 Jun 2014 04:35:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 285F92ED4; Sun, 15 Jun 2014 04:35:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5F4ZoDu095802; Sun, 15 Jun 2014 04:35:50 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5F4ZnIA095800; Sun, 15 Jun 2014 04:35:49 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201406150435.s5F4ZnIA095800@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sun, 15 Jun 2014 04:35:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357826 - head/devel/arduino-mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2014 04:35:50 -0000 Author: danilo Date: Sun Jun 15 04:35:49 2014 New Revision: 357826 URL: http://svnweb.freebsd.org/changeset/ports/357826 QAT: https://qat.redports.org/buildarchive/r357826/ Log: - Add stage support [1] - Simplify Makefile PR: ports/191043 Submitted by: joe@thrallingpenguin.com [1] Modified: head/devel/arduino-mk/Makefile head/devel/arduino-mk/pkg-plist Modified: head/devel/arduino-mk/Makefile ============================================================================== --- head/devel/arduino-mk/Makefile Sun Jun 15 03:54:20 2014 (r357825) +++ head/devel/arduino-mk/Makefile Sun Jun 15 04:35:49 2014 (r357826) @@ -25,21 +25,6 @@ NO_BUILD= yes OPTIONS_DEFINE+= DOCS EXAMPLES -NO_STAGE= yes -.include - -.if empty(PORT_OPTIONS:MDOCS) -PLIST_SUB+= REFDOCS="@comment " -.else -PLIST_SUB+= REFDOCS="" -.endif - -.if empty(PORT_OPTIONS:MEXAMPLES) -PLIST_SUB+= EXAMPLES="@comment " -.else -PLIST_SUB+= EXAMPLES="" -.endif - ARDUINO_CMD= ${SH} ${FILESDIR}/version.sh ${PREFIX}/arduino/lib/version.txt OLD_BOARDS_TXT= /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/boards.txt NEW_BOARDS_TXT= ${PREFIX}/arduino/hardware/arduino/boards.txt @@ -54,17 +39,13 @@ post-patch: ${WRKSRC}/bin/ard-parse-boards do-install: - ${MKDIR} ${PREFIX}/${PORTNAME}/bin - ${INSTALL_DATA} ${WRKSRC}/arduino-mk/Arduino.mk ${PREFIX}/${PORTNAME} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/ard-parse-boards ${PREFIX}/${PORTNAME}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/ard-reset-arduino ${PREFIX}/${PORTNAME}/bin -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "${INSLIST}" ${EXAMPLESDIR}) -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin + ${INSTALL_DATA} ${WRKSRC}/arduino-mk/Arduino.mk ${STAGEDIR}${PREFIX}/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/ard-parse-boards ${STAGEDIR}${PREFIX}/${PORTNAME}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/ard-reset-arduino ${STAGEDIR}${PREFIX}/${PORTNAME}/bin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "${INSLIST}" ${STAGEDIR}${EXAMPLESDIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include Modified: head/devel/arduino-mk/pkg-plist ============================================================================== --- head/devel/arduino-mk/pkg-plist Sun Jun 15 03:54:20 2014 (r357825) +++ head/devel/arduino-mk/pkg-plist Sun Jun 15 04:35:49 2014 (r357826) @@ -1,38 +1,37 @@ arduino-mk/Arduino.mk arduino-mk/bin/ard-parse-boards arduino-mk/bin/ard-reset-arduino -@dirrm arduino-mk/bin -@dirrm arduino-mk -%%EXAMPLES%%%%EXAMPLESDIR%%/AnalogInOutSerial/AnalogInOutSerial.ino -%%EXAMPLES%%%%EXAMPLESDIR%%/AnalogInOutSerial/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/Blink/Blink.ino -%%EXAMPLES%%%%EXAMPLESDIR%%/Blink/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/BlinkWithoutDelay/._.DS_Store -%%EXAMPLES%%%%EXAMPLESDIR%%/BlinkWithoutDelay/.DS_Store -%%EXAMPLES%%%%EXAMPLESDIR%%/BlinkWithoutDelay/BlinkWithoutDelay.ino -%%EXAMPLES%%%%EXAMPLESDIR%%/BlinkWithoutDelay/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/Fade/Fade.ino -%%EXAMPLES%%%%EXAMPLESDIR%%/Fade/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/HelloWorld/HelloWorld.ino -%%EXAMPLES%%%%EXAMPLESDIR%%/HelloWorld/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/master_reader/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/master_reader/master_reader.ino -%%EXAMPLES%%%%EXAMPLESDIR%%/toneMelody/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/toneMelody/pitches.h -%%EXAMPLES%%%%EXAMPLESDIR%%/toneMelody/toneMelody.ino -%%EXAMPLES%%%%EXAMPLESDIR%%/WebServer/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/WebServer/WebServer.ino -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/toneMelody -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/master_reader -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/WebServer -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/HelloWorld -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Fade -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/BlinkWithoutDelay/build-cli/libs/Ethernet -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/BlinkWithoutDelay/build-cli/libs -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/BlinkWithoutDelay/build-cli -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/BlinkWithoutDelay -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Blink -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/AnalogInOutSerial -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%REFDOCS%%%%DOCSDIR%%/README.md -%%REFDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/AnalogInOutSerial/AnalogInOutSerial.ino +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/AnalogInOutSerial/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Blink/Blink.ino +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Blink/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BlinkWithoutDelay/.DS_Store +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BlinkWithoutDelay/BlinkWithoutDelay.ino +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BlinkWithoutDelay/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Fade/Fade.ino +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Fade/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/HelloWorld/HelloWorld.ino +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/HelloWorld/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/WebServer/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/WebServer/WebServer.ino +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/master_reader/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/master_reader/master_reader.ino +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toneMelody/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toneMelody/pitches.h +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toneMelody/toneMelody.ino +@dirrmtry arduino-mk/bin +@dirrmtry arduino-mk +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/AnalogInOutSerial +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/Blink +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/BlinkWithoutDelay/build-cli/libs/Ethernet +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/BlinkWithoutDelay/build-cli/libs +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/BlinkWithoutDelay/build-cli +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/BlinkWithoutDelay +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/Fade +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/HelloWorld +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/WebServer +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/master_reader +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/toneMelody +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%