Page MenuHomeFreeBSD

D13262.diff
No OneTemporary

D13262.diff

Index: head/devel/Makefile
===================================================================
--- head/devel/Makefile
+++ head/devel/Makefile
@@ -116,6 +116,7 @@
SUBDIR += arcanist
SUBDIR += arduino
SUBDIR += arduino-avrdude
+ SUBDIR += arduino-bsd-mk
SUBDIR += arduino-builder
SUBDIR += arduino-core
SUBDIR += arduino-ctags
Index: head/devel/arduino-bsd-mk/Makefile
===================================================================
--- head/devel/arduino-bsd-mk/Makefile
+++ head/devel/arduino-bsd-mk/Makefile
@@ -0,0 +1,44 @@
+# Created by: Craig Leres <leres@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= arduino-bsd-mk
+PORTVERSION= 1.0
+CATEGORIES= devel
+MASTER_SITES= https://xse.com/leres/arduino/arduino-bsd-mk/ \
+ LOCAL/leres/arduino-bsd-mk
+
+MAINTAINER= leres@FreeBSD.org
+COMMENT= Build Arduino sketches from the command line on FreeBSD
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= arduino:devel/arduino \
+ avr-gcc:devel/avr-gcc
+
+USES= python:2.7,run shebangfix
+
+SHEBANG_FILES= arduino-boards.py
+
+NO_BUILD= yes
+NO_MTREE= yes
+
+PORTEXAMPLES= *
+
+PLIST_FILES= ${ALL_FILES} ${ALL_SCRIPTS:R} man/man7/bsd.arduino.mk.7.gz
+
+OPTIONS_DEFINE+= EXAMPLES
+
+ALL_FILES= arduino-bsd-mk/bsd.arduino.mk
+
+ALL_SCRIPTS= arduino-bsd-mk/scripts/arduino-boards.py \
+ arduino-bsd-mk/scripts/arduino-version.sh \
+ arduino-bsd-mk/scripts/gcc-version.sh
+
+pre-patch:
+ # Honor PREFIX in the man page
+ ${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,' ${WRKSRC}/bsd.arduino.mk.7
+
+post-install:
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}$/${EXAMPLESDIR})
+
+.include <bsd.port.mk>
Index: head/devel/arduino-bsd-mk/distinfo
===================================================================
--- head/devel/arduino-bsd-mk/distinfo
+++ head/devel/arduino-bsd-mk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1511936799
+SHA256 (arduino-bsd-mk-1.0.tar.gz) = 4c66f1e9a76760c8fb6e0f809f0f484524be05ec4e1cc30c293c0fe262e37549
+SIZE (arduino-bsd-mk-1.0.tar.gz) = 9135
Index: head/devel/arduino-bsd-mk/pkg-descr
===================================================================
--- head/devel/arduino-bsd-mk/pkg-descr
+++ head/devel/arduino-bsd-mk/pkg-descr
@@ -0,0 +1,8 @@
+Arduino from the command line on FreeBSD
+
+This is a makefile written by Craig Leres that makes it possible
+to build Arduino sketches with FreeBSD make from the command line.
+It includes an example sketch and Makefile which is optionally
+installed in share/examples/arduino-bsd-mk
+
+WWW: https://xse.com/leres/arduino/arduino-bsd-mk/

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 22, 11:55 AM (2 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25961967
Default Alt Text
D13262.diff (2 KB)

Event Timeline