samurai is a ninja-compatible build tool written in C99 with a focus on
simplicity, speed, and portability.
It implements the ninja build language through version 1.8.2 except
for MSVC dependency handling (deps = msvc). It uses the same format
for .ninja_log and .ninja_deps as ninja, currently version 5 and 3
respectively.
It is largely feature-complete and supports most of the same options as
ninja.
Mk/bsd.port.mk: mark 14.3 unsupported
all: drop supoprt for FreeBSD 14.3
While here clean up some leftovers from FreeBSD 13
Reviewed by: adamw, jbeich, kirill_varnakov.com, saheed, sunpoet
Approved by: portmgr (implicit)
Differential Revision: https://reviews.freebsd.org/D57282
devel/samurai: Update to 1.3
* Use INSTALL_* helpers for binary and manpages instead cp which
project Makefile uses
* Define additional CFLAGS in port makefile rather than in a patch
Changelog: https://github.com/michaelforney/samurai/releases/tag/1.3
Approved by: maintainer (by mail)
devel/samurai: Update to latest commit.
While here, re-enable load-based scheduling. It was turned off by
default upstream because, per the commit message disabling it:
Many platforms don't have getloadavg or hide it behind platform-
specific defines. Rather than try to work around it with an ifdef
maze, disable it by default.
FreeBSD's getloadavg works as advertised, and frankly load-based
scheduling is one of the main reasons one might choose samurai over
ninja.
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)
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 )
devel/samurai: Update to 1.2-16-gca5a6ba
This makes --version return 1.9.0 instead of 1.9. qt5-webengine's
configure checks for system ninja and tries to parse --version and
expects it to have 3 components. Without this qt5-webengine falls
back to using a bundled copy of ninja instead.
https://github.com/michaelforney/samurai/issues/70
PR: 254678
devel/samurai: Update to 1.2-15-gaff2085
This allows samurai to accept stray indented but otherwise empty
lines and we can drop the fluxengine workaround.
https://github.com/michaelforney/samurai/issues/70
devel/samurai: Remove new cruft
- USES=compiler:c11 should no longer be necessary after r531755.
- build.ninja patch is pointless since the build does not use it.
Besides that while GCC 4.2 does not understand -Wpedantic it should
recognize -pedantic fine.
Remove the -pedantic flag to fix build on GCC-based systems:
cc1: error: unrecognized command line option "-Wpedantic"
Approved by: portmgr (tier-2 blanket)
devel/samurai: Move to latest commit
This adds --version support to samurai which CMake and Meson expect to
be available. This fixes the build of many ports when using samurai as
ninja replacement.
New port: devel/samurai
samurai is a ninja-compatible build tool written in C99 with a focus on
simplicity, speed, and portability.
It implements the ninja build language through version 1.8.2 except
for MSVC dependency handling (deps = msvc). It uses the same format
for .ninja_log and .ninja_deps as ninja, currently version 5 and 3
respectively.
It is largely feature-complete and supports most of the same options as
ninja.
WWW: https://github.com/michaelforney/samurai