pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/samurai: Import as samurai version 0.7



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%NetBSD.org@localhost>
Pushed By:	ng0
Date:		Wed Dec 11 22:48:34 2019 +0000
Changeset:	a67b318e55abcb11683bccfa9784bfa9fa4a1065

Added Files:
	samurai/DESCR
	samurai/Makefile
	samurai/PLIST
	samurai/distinfo

Log Message:
wip/samurai: Import as samurai version 0.7

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a67b318e55abcb11683bccfa9784bfa9fa4a1065

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 samurai/DESCR    | 11 +++++++++++
 samurai/Makefile | 27 +++++++++++++++++++++++++++
 samurai/PLIST    |  3 +++
 samurai/distinfo |  6 ++++++
 4 files changed, 47 insertions(+)

diffs:
diff --git a/samurai/DESCR b/samurai/DESCR
new file mode 100644
index 0000000000..087ccc7ff0
--- /dev/null
+++ b/samurai/DESCR
@@ -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.
diff --git a/samurai/Makefile b/samurai/Makefile
new file mode 100644
index 0000000000..bca4f1bd37
--- /dev/null
+++ b/samurai/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	samurai
+GITHUB_TAG=	${PKGVERSION_NOREV}
+DISTNAME=	0.7
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=michaelforney/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	ng0%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/michaelforney/samurai/
+COMMENT=	Ninja-compatible build tool written in C
+LICENSE=	isc
+
+WRKSRC=	${WRKDIR}/samurai-0.7
+
+BUILD_TARGET=	samu
+
+# \todo: https://github.com/michaelforney/samurai/pull/28
+SUBST_CLASSES+=		prefix
+SUBST_STAGE.prefix=	pre-configure
+SUBST_FILES.prefix=	Makefile
+SUBST_SED.prefix=	-e 's,PREFIX=,PREFIX?=,g'
+SUBST_SED.prefix+=	-e 's,(PREFIX)/share/man,(PREFIX)/man,g'
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/samurai/PLIST b/samurai/PLIST
new file mode 100644
index 0000000000..b3ce4bb8ca
--- /dev/null
+++ b/samurai/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/samu
+man/man1/samu.1
diff --git a/samurai/distinfo b/samurai/distinfo
new file mode 100644
index 0000000000..a930d1e448
--- /dev/null
+++ b/samurai/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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


Home | Main Index | Thread Index | Old Index