Port details |
- samurai Ninja-compatible build tool written in C
- 1.2.2024.09.04 devel =2 1.2.17Version of this port present on the latest quarterly branch.
- Maintainer: adamw@FreeBSD.org
- Port Added: 2018-04-27 10:33:23
- Last Update: 2024-09-05 00:38:08
- Commit Hash: b9994ae
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: APACHE20 MIT
- WWW:
- https://github.com/michaelforney/samurai
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/samurai/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/samurai
- pkg install samurai
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: samurai
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1725496083
SHA256 (michaelforney-samurai-1.2-2024.09.04-1890235-1890235_GH0.tar.gz) = 7f2cb469e78cb00c31bdb40c128d67c67673d296d3283eb8f6a0b348a7e54d6d
SIZE (michaelforney-samurai-1.2-2024.09.04-1890235-1890235_GH0.tar.gz) = 32717
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_samurai
- USES:
- cpe
- 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 |
1.2.2024.09.04 05 Sep 2024 00:38:08 |
Adam Weinberger (adamw) |
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. |
1.2.17 08 Jul 2023 14:25:23 |
Adam Weinberger (adamw) |
devel/samurai: Update to latest commit and take maintainership |
1.2.16_1 05 Apr 2023 15:45:26 |
Fernando Apesteguía (fernape) |
devel/samurai: Proper fix for PREFIX variable
PR: 270590
Reported by: danfe@ |
1.2.16_1 05 Apr 2023 05:38:52 |
Fernando Apesteguía (fernape) Author: Eric Camachat |
devel/samurai: Fix if LOCALBASE is not /usr/local
PR: 270590
Reported by: eric@camachat.org |
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) |
1.2.16 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 ) |
1.2.16 25 Aug 2022 21:16:21 |
Tobias Kortkamp (tobik) |
*: Return unused ports |
1.2.16 18 Oct 2021 19:25:52 |
Stefan Eßer (se) |
devel/samurai: Add CPE information
Approved by: portmgr (blanket) |
1.2.16 10 Apr 2021 19:21:40 |
Tobias Kortkamp (tobik) |
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 |
1.2.15 09 Apr 2021 05:48:52 |
Tobias Kortkamp (tobik) |
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 |
1.2.9 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.2.9 07 Apr 2021 05:47:08 |
Tobias Kortkamp (tobik) |
devel/samurai: Fix weirdness in distinfo |
1.2.9 07 Apr 2021 04:20:02 |
Tobias Kortkamp (tobik) |
devel/samurai: Update to 1.2-9-g27dde2e (D29353)
This fixes a SIGFPE crash when there is nothing to do and
NINJA_STATUS has %p
PR: 254678 |
1.2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.2 24 Feb 2021 14:54:29 |
tobik |
devel/samurai: Update to 1.2
Changes: https://github.com/michaelforney/samurai/releases/tag/1.2 |
1.1 28 Sep 2020 05:05:25 |
tobik |
Reset MAINTAINER |
1.1 15 Apr 2020 11:43:59 |
tobik |
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. |
1.1 15 Apr 2020 10:11:45 |
linimon |
Remove the -pedantic flag to fix build on GCC-based systems:
cc1: error: unrecognized command line option "-Wpedantic"
Approved by: portmgr (tier-2 blanket) |
1.1 07 Apr 2020 12:23:46 |
pkubaj |
devel/samurai: fix build on GCC architectures
GCC 4.2 doesn't support -Wpedantic:
cc1: error: unrecognized command line option "-Wpedantic"
MFH: 2020Q2 (fix build blanket) |
1.1 30 Mar 2020 11:01:12 |
tobik |
devel/samurai: Update to 1.1
Changes: https://github.com/michaelforney/samurai/releases/tag/1.1 |
1.0 19 Dec 2019 06:13:16 |
tobik |
devel/samurai: Update to 1.0
Changes: https://github.com/michaelforney/samurai/releases/tag/1.0 |
0.7 10 Jul 2019 08:43:57 |
tobik |
devel/samurai: Update to 0.7
Changes: https://github.com/michaelforney/samurai/releases/tag/0.7 |
0.6 08 Mar 2019 03:58:55 |
tobik |
devel/samurai: Update to 0.6
Changes: https://github.com/michaelforney/samurai/releases/tag/0.6 |
0.5 21 Jan 2019 13:11:19 |
tobik |
devel/samurai: Update to 0.5
Not reported by Portscout (again) [1]
Changes: https://github.com/michaelforney/samurai/releases/tag/0.5
PR: 229622 [1] |
0.4 29 Aug 2018 09:07:01 |
tobik |
devel/samurai: Update to 0.4
Changes: https://github.com/michaelforney/samurai/releases/tag/0.4 |
0.3.21 01 May 2018 09:21:24 |
tobik |
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. |
0.3 27 Apr 2018 10:32:59 |
tobik |
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 |