|
Lines 1-8
Link Here
|
| 1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
| 2 |
|
2 |
|
| 3 |
PORTNAME= arduino-tools |
3 |
PORTNAME= arduino-tools |
| 4 |
PORTVERSION= 1.6.12 |
4 |
PORTVERSION= 1.8.2 |
| 5 |
PORTREVISION= 1 |
|
|
| 6 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
| 7 |
MASTER_SITES= # Mostly metaport - installs files, no build |
6 |
MASTER_SITES= # Mostly metaport - installs files, no build |
| 8 |
DISTFILES= # |
7 |
DISTFILES= # |
|
Lines 9-51
Link Here
|
| 9 |
EXTRACT_ONLY= # |
8 |
EXTRACT_ONLY= # |
| 10 |
|
9 |
|
| 11 |
MAINTAINER= bsdports@kyle-evans.net |
10 |
MAINTAINER= bsdports@kyle-evans.net |
| 12 |
COMMENT= Brings together all of the tool dependencies used for Arduino 1.6 |
11 |
COMMENT= Brings together all of the tool dependencies used for Arduino 1.6+ |
| 13 |
|
12 |
|
| 14 |
RUN_DEPENDS= avrdude:devel/avrdude \ |
13 |
LICENSE= BSD3CLAUSE |
|
|
14 |
|
| 15 |
RUN_DEPENDS= arduino-avrdude:devel/arduino-avrdude \ |
| 15 |
bossac:devel/bossa \ |
16 |
bossac:devel/bossa \ |
| 16 |
avr-as:devel/avr-binutils \ |
17 |
avr-as:devel/avr-binutils \ |
| 17 |
avr-gcc:devel/avr-gcc \ |
18 |
avr-gcc:devel/avr-gcc \ |
| 18 |
${LOCALBASE}/avr/include/avr/io.h:devel/avr-libc \ |
19 |
${LOCALBASE}/avr/include/avr/io.h:devel/avr-libc \ |
| 19 |
arm-none-eabi-gcc:devel/arm-none-eabi-gcc \ |
20 |
${LOCALBASE}/gcc-arm-embedded-${ARMGCC_FULL_VERS}/bin/arm-none-eabi-gcc:devel/gcc-arm-embedded \ |
| 20 |
${LOCALBASE}/arduino/tools-builder/ctags/${CTAGS_VERS}/ctags:devel/arduino-ctags \ |
21 |
${LOCALBASE}/arduino/tools-builder/ctags/${CTAGS_VERS}/ctags:devel/arduino-ctags \ |
| 21 |
arm-none-eabi-newlib>=0:devel/arm-none-eabi-newlib \ |
22 |
arduino-core>=0:devel/arduino-core \ |
| 22 |
arduino-core>=0:devel/arduino-core |
23 |
arduinoOTA:devel/arduinoOTA \ |
|
|
24 |
openocd:devel/openocd |
| 23 |
|
25 |
|
| 24 |
NO_BUILD= yes |
26 |
NO_BUILD= yes |
| 25 |
NO_ARCH= yes |
27 |
NO_ARCH= yes |
| 26 |
|
28 |
|
|
|
29 |
ARMGCC_FULL_VERS= 6-2017-q1-update |
| 30 |
|
| 27 |
ARMGCC_VERS= 4.9.2 |
31 |
ARMGCC_VERS= 4.9.2 |
| 28 |
AVRDUDE_VERS= 6.3.0-arduino6 |
32 |
AVRDUDE_VERS= 6.3.0-arduino9 |
| 29 |
AVRGCC_VERS= 4.9.2-atmel3.5.3-arduino2 |
33 |
AVRGCC_VERS= 4.9.2-atmel3.5.4-arduino2 |
| 30 |
BOSSAC_VERS= 1.7.0 |
34 |
BOSSAC_VERS= 1.7.0 |
| 31 |
CMSIS_VERS= ${PORTVERSION} |
35 |
CMSIS_VERS= ${PORTVERSION} |
| 32 |
CTAGS_VERS= 5.8-arduino10 |
36 |
CTAGS_VERS= 5.8-arduino11 |
|
|
37 |
OCD_VERS= 0.9.0-arduino5-static |
| 38 |
OTA_VERS= 1.1.1 |
| 33 |
|
39 |
|
| 34 |
PLIST_SUB+= ARMGCC_VERS=${ARMGCC_VERS} \ |
40 |
PLIST_SUB+= ARMGCC_VERS=${ARMGCC_VERS} \ |
| 35 |
AVRDUDE_VERS=${AVRDUDE_VERS} \ |
41 |
AVRDUDE_VERS=${AVRDUDE_VERS} \ |
| 36 |
AVRGCC_VERS=${AVRGCC_VERS} \ |
42 |
AVRGCC_VERS=${AVRGCC_VERS} \ |
| 37 |
BOSSAC_VERS=${BOSSAC_VERS} \ |
43 |
BOSSAC_VERS=${BOSSAC_VERS} \ |
| 38 |
CMSIS_VERS=${CMSIS_VERS} |
44 |
CMSIS_VERS=${CMSIS_VERS} \ |
|
|
45 |
OCD_VERS=${OCD_VERS} \ |
| 46 |
OTA_VERS=${OTA_VERS} |
| 39 |
|
47 |
|
| 40 |
_STD_TOOLS_= arm-none-eabi-gcc:${ARMGCC_VERS} \ |
48 |
_STD_TOOLS_= arduinoOTA:${OTA_VERS} \ |
| 41 |
avr-gcc:${AVRGCC_VERS} \ |
49 |
avr-gcc:${AVRGCC_VERS} \ |
| 42 |
avrdude:${AVRDUDE_VERS} \ |
50 |
avrdude:${AVRDUDE_VERS} \ |
| 43 |
bossac:${BOSSAC_VERS} |
51 |
bossac:${BOSSAC_VERS} \ |
|
|
52 |
openocd:${OCD_VERS} |
| 44 |
|
53 |
|
| 45 |
do-install: |
54 |
do-install: |
| 46 |
${MKDIR} ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS} |
55 |
${MKDIR} ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS} |
|
|
56 |
${MKDIR} ${STAGEDIR}${PREFIX}/arduino/tools-builder/arm-none-eabi-gcc/${ARMGCC_VERS} |
| 47 |
${LN} -s ../../../hardware/arduino/sam/system/CMSIS/CMSIS ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS}/CMSIS |
57 |
${LN} -s ../../../hardware/arduino/sam/system/CMSIS/CMSIS ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS}/CMSIS |
| 48 |
${LN} -s ../../../hardware/arduino/sam/system/CMSIS/Device ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS}/Device |
58 |
${LN} -s ../../../hardware/arduino/sam/system/CMSIS/Device ${STAGEDIR}${PREFIX}/arduino/tools-builder/CMSIS/${CMSIS_VERS}/Device |
|
|
59 |
${LN} -s ../../../../gcc-arm-embedded-${ARMGCC_FULL_VERS}/bin ${STAGEDIR}${PREFIX}/arduino/tools-builder/arm-none-eabi-gcc/${ARMGCC_VERS}/bin |
| 60 |
${LN} -s ../../../../etc ${STAGEDIR}${PREFIX}/arduino/tools-builder/arm-none-eabi-gcc/${ARMGCC_VERS}/etc |
| 49 |
.for _tool in ${_STD_TOOLS_} |
61 |
.for _tool in ${_STD_TOOLS_} |
| 50 |
${MKDIR} ${STAGEDIR}${PREFIX}/arduino/tools-builder/${_tool:C/:.*//}/${_tool:C/.*://} |
62 |
${MKDIR} ${STAGEDIR}${PREFIX}/arduino/tools-builder/${_tool:C/:.*//}/${_tool:C/.*://} |
| 51 |
${LN} -s ../../../../bin ${STAGEDIR}${PREFIX}/arduino/tools-builder/${_tool:C/:.*//}/${_tool:C/.*://}/bin |
63 |
${LN} -s ../../../../bin ${STAGEDIR}${PREFIX}/arduino/tools-builder/${_tool:C/:.*//}/${_tool:C/.*://}/bin |