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.
This commit is contained in:
Min Sik Kim 2018-06-26 20:24:37 -07:00
parent 58ff590ccb
commit 7f29f92af7
6 changed files with 43 additions and 0 deletions

View File

@ -465,6 +465,7 @@ SUBDIR+= crossguid
SUBDIR+= crossroads-io
SUBDIR+= crrcsim
SUBDIR+= cryptcat
SUBDIR+= crystal-bin
SUBDIR+= csmith
SUBDIR+= csoap
SUBDIR+= csp2b

9
crystal-bin/DESCR Normal file
View File

@ -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.

24
crystal-bin/Makefile Normal file
View File

@ -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
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"

2
crystal-bin/PLIST Normal file
View File

@ -0,0 +1,2 @@
@comment $NetBSD$
bin/crystal

1
crystal-bin/TODO Normal file
View File

@ -0,0 +1 @@
Add support for Linux-*-i386 and Linux-*-x86_64.

6
crystal-bin/distinfo Normal file
View File

@ -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