devel: Add samurai.

samurai is a ninja-compatible build tool written in C99 with a focus on
simplicity, speed, and portability.

samurai implements the ninja build language through version 1.9.0 except
for MSVC dependency handling (`deps = msvc`). It uses the same format
for `.ninja_log` and `.ninja_deps` as ninja, currently version 5 and 4
respectively.

It is feature-complete and supports most of the same options as ninja.

samurai requires various POSIX.1-2008 interfaces.
This commit is contained in:
ng0 2019-12-11 23:36:29 +00:00
parent 038ac6a261
commit f5e34c6621
5 changed files with 39 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2960 2019/11/27 22:32:27 adam Exp $
# $NetBSD: Makefile,v 1.2961 2019/12/11 23:36:29 ng0 Exp $
#
COMMENT= Development utilities
@ -2744,6 +2744,7 @@ SUBDIR+= rudiments
SUBDIR+= rvm
SUBDIR+= rx
SUBDIR+= sablecc
SUBDIR+= samurai
SUBDIR+= scintilla
SUBDIR+= scmcvs
SUBDIR+= scons

11
devel/samurai/DESCR Normal file
View file

@ -0,0 +1,11 @@
samurai is a ninja-compatible build tool written in C99 with a focus on
simplicity, speed, and portability.
samurai implements the ninja build language through version 1.9.0 except
for MSVC dependency handling (`deps = msvc`). It uses the same format
for `.ninja_log` and `.ninja_deps` as ninja, currently version 5 and 4
respectively.
It is feature-complete and supports most of the same options as ninja.
samurai requires various POSIX.1-2008 interfaces.

17
devel/samurai/Makefile Normal file
View file

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1 2019/12/11 23:36:29 ng0 Exp $
DISTNAME= samurai-0.7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelforney/}
MAINTAINER= ng0@NetBSD.org
HOMEPAGE= https://github.com/michaelforney/samurai/
COMMENT= Ninja-compatible build tool written in C
LICENSE= isc AND apache-2.0
BUILD_TARGET= samu
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.pkg.mk"

3
devel/samurai/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2019/12/11 23:36:29 ng0 Exp $
bin/samu
man/man1/samu.1

6
devel/samurai/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/12/11 23:36:29 ng0 Exp $
SHA1 (samurai-0.7.tar.gz) = 8d6bd5492026e2a256699a47d3895fa35c774491
RMD160 (samurai-0.7.tar.gz) = ac8677acec4beb99b2596a4238058c88aa8dc356
SHA512 (samurai-0.7.tar.gz) = c47120a2b516c0d130c5a01d99972979c69103d1c6b110722c4c6fcac3147df25d60d9d19913d7c78902c257800d6a5e1bcbb775618058ebfe6db29098dc4001
Size (samurai-0.7.tar.gz) = 28197 bytes