pkgsrc-WIP-changes archive

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

crystal-bin: Import version 0.25.0



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Tue Jun 26 20:24:37 2018 -0700
Changeset:	7f29f92af7bc86c65870119914b76ebed7c1f0c7

Modified Files:
	Makefile
Added Files:
	crystal-bin/DESCR
	crystal-bin/Makefile
	crystal-bin/PLIST
	crystal-bin/TODO
	crystal-bin/distinfo

Log Message:
crystal-bin: Import version 0.25.0

Crystal is a programming language with the goals of having a syntax
similar to Ruby (but compatibility with it is not a goal), being
statically type-checked, but without having to specify the type of
variables or method arguments, being able to call C code by writing
bindings to it in Crystal, having compile-time evaluation and
generation of code, to avoid boilerplate code, and compiling to
efficient native code.

Currently this package installs a binary for Darwin/x86_64 only.

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

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

diffstat:
 Makefile             |  1 +
 crystal-bin/DESCR    |  9 +++++++++
 crystal-bin/Makefile | 24 ++++++++++++++++++++++++
 crystal-bin/PLIST    |  2 ++
 crystal-bin/TODO     |  1 +
 crystal-bin/distinfo |  6 ++++++
 6 files changed, 43 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8569f534bd..6255f89504 100644
--- a/Makefile
+++ b/Makefile
@@ -465,6 +465,7 @@ SUBDIR+=	crossguid
 SUBDIR+=	crossroads-io
 SUBDIR+=	crrcsim
 SUBDIR+=	cryptcat
+SUBDIR+=	crystal-bin
 SUBDIR+=	csmith
 SUBDIR+=	csoap
 SUBDIR+=	csp2b
diff --git a/crystal-bin/DESCR b/crystal-bin/DESCR
new file mode 100644
index 0000000000..3703baa3b8
--- /dev/null
+++ b/crystal-bin/DESCR
@@ -0,0 +1,9 @@
+Crystal is a programming language with the goals of having a syntax
+similar to Ruby (but compatibility with it is not a goal), being
+statically type-checked, but without having to specify the type of
+variables or method arguments, being able to call C code by writing
+bindings to it in Crystal, having compile-time evaluation and
+generation of code, to avoid boilerplate code, and compiling to
+efficient native code.
+
+This package installs a released binary.
diff --git a/crystal-bin/Makefile b/crystal-bin/Makefile
new file mode 100644
index 0000000000..260ed67146
--- /dev/null
+++ b/crystal-bin/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	crystal-0.25.0-1-${LOWER_OPSYS}-${MACHINE_ARCH}
+PKGNAME=	crystal-bin-0.25.0
+CATEGORIES=	lang
+MASTER_SITES=	https://github.com/crystal-lang/crystal/releases/download/0.25.0/
+
+MAINTAINER=	minskim%NetBSD.org@localhost
+HOMEPAGE=	https://crystal-lang.org/
+COMMENT=	Language with Ruby-like syntax and static type checking
+LICENSE=	apache-2.0
+
+ONLY_FOR_PLATFORM=	Darwin-*-x86_64
+
+NO_BUILD=	yes
+WRKSRC=		${WRKDIR}/crystal-0.25.0-1
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/embedded/bin/crystal \
+		${DESTDIR}${PREFIX}/bin/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/crystal-bin/PLIST b/crystal-bin/PLIST
new file mode 100644
index 0000000000..53ce1839ee
--- /dev/null
+++ b/crystal-bin/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/crystal
diff --git a/crystal-bin/TODO b/crystal-bin/TODO
new file mode 100644
index 0000000000..bc15859099
--- /dev/null
+++ b/crystal-bin/TODO
@@ -0,0 +1 @@
+Add support for Linux-*-i386 and Linux-*-x86_64.
diff --git a/crystal-bin/distinfo b/crystal-bin/distinfo
new file mode 100644
index 0000000000..aada99075c
--- /dev/null
+++ b/crystal-bin/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (crystal-0.25.0-1-darwin-x86_64.tar.gz) = 63ae33a541d1dd439d52418b605980d11761aa1f
+RMD160 (crystal-0.25.0-1-darwin-x86_64.tar.gz) = 1d8ef6070b735f315b61936b06a8dec219968495
+SHA512 (crystal-0.25.0-1-darwin-x86_64.tar.gz) = ed184f419bbac65f5bd64809910c917b75dff532c20e8b025f4244a8257ac0644eebede08e7343d2773783f7600d91a4139fe5e7ca6e64e3479444deb76279c3
+Size (crystal-0.25.0-1-darwin-x86_64.tar.gz) = 15164501 bytes


Home | Main Index | Thread Index | Old Index