Port details |
- arduino-bsd-mk Build Arduino sketches from the command line on FreeBSD
- 2.5 devel =3 2.5Version of this port present on the latest quarterly branch.
- Maintainer: leres@FreeBSD.org
- Port Added: 2017-12-01 21:38:12
- Last Update: 2024-01-21 22:37:38
- Commit Hash: 0ac9323
- People watching this port, also watch:: arduino-irremote, arduino-openglcd, arduino, arduino-mk, arduino-sevseg
- License: BSD2CLAUSE
- WWW:
- https://xse.com/leres/arduino/arduino-bsd-mk/
- Description:
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- arduino-bsd-mk>0:devel/arduino-bsd-mk
- To install the port:
- cd /usr/ports/devel/arduino-bsd-mk/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/arduino-bsd-mk
- pkg install arduino-bsd-mk
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: arduino-bsd-mk
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1705876512
SHA256 (arduino-bsd-mk-2.5.tar.gz) = e9a1f34264f0e7a83e6a8004b72a8ed6b76f3d4cd47fda7ce2a38ec81323a9f1
SIZE (arduino-bsd-mk-2.5.tar.gz) = 10753
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for arduino-bsd-mk-2.5:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_arduino-bsd-mk
- USES:
- python:run shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.5 21 Jan 2024 22:37:38 |
Craig Leres (leres) |
devel/arduino-bsd-mk: Update to 2.5
Install man page in share/man.
Changes since 2.4:
- Install man page in ${PREFIX}/share by default. |
2.4 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.4 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.4 03 Aug 2022 21:49:57 |
Craig Leres (leres) |
devel/arduino-bsd-mk: Update to 2.4
Changes since 2.3:
- Use NO_SHARED to avoid pic/pie flags avr-gcc doesn't support
(and don't make sense for embedded images).
Reported by: Craig Leres, kodcode |
2.3 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2.3 29 May 2021 19:31:16 |
Craig Leres (leres) |
devel/arduino-bsd-mk: Update to 2.3
Changes since 2.2:
- add ARDUINO_MAXIMUM_SIZE |
2.2 22 May 2021 01:49:36 |
Craig Leres (leres) |
devel/arduino-bsd-mk: Update to 2.2
Changes since 2.1:
- arduino-boards needs explicit boards.txt for build.pid, build.vid,
upload.protocol, and upload.speed in case ARDUINO_DIR has changed. |
2.1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.1 12 Jan 2021 21:43:03 |
leres |
devel/arduino-bsd-mk: Update to 2.1
Changes since 2.0:
- Search for and use the boards.txt in the ARDUINO_DIR tree.
- Convert arduino-boards to f-strings. |
2.0 09 Jan 2021 22:41:21 |
leres |
devel/arduino-bsd-mk: Update to 2.0
Changes since 1.5:
- Add support for Arduino 1.0 through 1.8 by autodetecting paths.
- Add -fno-threadsafe-statics to fix "undefined reference to
`__cxa_guard_release'" error that can occur because gcc enables
thread-safe initialization by default.
Honor PREFIX in Python script and require 3.6+ due to its use of
f-strings. |
1.5 13 Sep 2020 17:32:08 |
leres |
devel/arduino-bsd-mk: Update to 1.5
Changes since 1.4:
- Inhibit warning messages for avr-gc++ too.
- Add a depend target that adjusts for .ino sources. |
1.4 09 Aug 2020 23:55:24 |
leres |
devel/arduino-bsd-mk: Update to 1.4
Changes since 1.3:
- Turn off MK_DEBUG_FILES, it doesn't make sense for arduino.
- Changing "cd dir && make" with "make -C dir" solves parallel
build failures.
While we're here, remove RUN_DEPENDS; we're just installing files
that can be used devel/arduino or devel/arduino18. Also break up
long lines. |
1.3 14 Jul 2019 07:12:39 |
leres |
devel/arduino-bsd-mk: Update to 1.3. From CHANGES:
- Add ARDUINO_CXXFLAGS. Use -std=c++11 with CXXFLAGS.
Approved by: matthew (mentor, implicit) |
1.2 10 Jun 2019 17:59:26 |
leres |
devel/arduino-bsd-mk: Update to 1.2. Changes include:
- Must force SIZE to be avr-size since /usr/share/mk/sys.mk is
included so early.
- Convert arduino-boards.py to python3.
Approved by: matthew (mentor, implicit) |
1.1_1 10 Mar 2018 17:46:06 |
gerald |
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079). |
1.1 26 Feb 2018 17:19:16 |
leres |
Update to 1.1:
- Add .ino file instead of .cpp to SRCS when we have a .ino
file.
Remove test for .ino and .cpp since it doesn't work when we
aren't using an obj dir.
- Instead of generating an error for all make targets when
AVRDUDE_PORT is "arduino" and AVRDUDE_PORT is not defined
allow everything except install/flash.
Reviewed by: ler (mentor)
Approved by: ler (mentor)
Differential Revision: https://reviews.freebsd.org/D14525 |
1.0 01 Dec 2017 21:38:03 |
leres |
This adds devel/arduino-bsd-mk which installs a make(1) makefile
(bsd.arduino.mk) that is used to build Arduino sketches from
the command line. It is designed to be a FreeBSD-friendly
alternative to the existing gmake based devel/arduino-mk port.
It includes a man page and optionally installs an example sketch
with an exmaple Makefile.
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D13262 |