New port: lang/myrddin

Myrddin is a systems programming language that covers a similar niche
as C including desktop, OS, and embedded development, but at the same
time making it harder to shoot yourself in the foot.

It is designed to be a simple language that runs close to the metal,
giving the programmer predictable and transparent behavior and mental
model.  It also does strong type checking, generics, type inference,
closures, and traits.

Myrddin is not a language designed to explore the forefront of type
theory or compiler technology.  It is not a language that is focused
on guaranteeing perfect safety.  It is satisfied to be a practical,
small, fairly well defined, and easy to understand language for code
that needs to be close to the hardware.

WWW: https://myrlang.org/

Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D9989
This commit is contained in:
Tobias Kortkamp 2017-03-13 15:11:11 +00:00
parent 87b5dc169d
commit 515376053b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436084
5 changed files with 96 additions and 0 deletions

View File

@ -184,6 +184,7 @@
SUBDIR += mosml
SUBDIR += mtasc
SUBDIR += munger
SUBDIR += myrddin
SUBDIR += nawk
SUBDIR += nbc
SUBDIR += nbfc

36
lang/myrddin/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $FreeBSD$
PORTNAME= myrddin
PORTVERSION= 0.1.1
CATEGORIES= lang
MASTER_SITES= http://myrlang.org/releases/
MAINTAINER= tobik@FreeBSD.org
COMMENT= Myrddin Compiler
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
USES= gmake
HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/mc
TEST_TARGET= check
OPTIONS_DEFINE= DEBUG VIM
OPTIONS_DEFAULT= VIM
OPTIONS_SUB= yes
VIM_DESC= Install Vim plugin
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
post-install-VIM-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles
@cd ${WRKSRC}/support/vim && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/vim/vimfiles
.include <bsd.port.mk>

3
lang/myrddin/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1489406509
SHA256 (myrddin-0.1.1.tar.gz) = 8d15ccdec8a1c60d1b7174903a7d0f4d7f80053614843375479e19426394024a
SIZE (myrddin-0.1.1.tar.gz) = 478934

16
lang/myrddin/pkg-descr Normal file
View File

@ -0,0 +1,16 @@
Myrddin is a systems programming language that covers a similar niche
as C including desktop, OS, and embedded development, but at the same
time making it harder to shoot yourself in the foot.
It is designed to be a simple language that runs close to the metal,
giving the programmer predictable and transparent behavior and mental
model. It also does strong type checking, generics, type inference,
closures, and traits.
Myrddin is not a language designed to explore the forefront of type
theory or compiler technology. It is not a language that is focused
on guaranteeing perfect safety. It is satisfied to be a practical,
small, fairly well defined, and easy to understand language for code
that needs to be close to the hardware.
WWW: https://myrlang.org/

40
lang/myrddin/pkg-plist Normal file
View File

@ -0,0 +1,40 @@
bin/6m
bin/mbld
bin/mdumpleak
bin/muse
bin/redump
lib/myr/_myrrt.o
lib/myr/libbio.a
lib/myr/libbio.use
lib/myr/libcrypto.a
lib/myr/libcrypto.use
lib/myr/libdate.a
lib/myr/libdate.use
lib/myr/libescfmt.a
lib/myr/libescfmt.use
lib/myr/libfileutil.a
lib/myr/libfileutil.use
lib/myr/libinifile.a
lib/myr/libinifile.use
lib/myr/libjson.a
lib/myr/libjson.use
lib/myr/libregex.a
lib/myr/libregex.use
lib/myr/libstd.a
lib/myr/libstd.use
lib/myr/libsys.a
lib/myr/libsys.use
lib/myr/libtestr.a
lib/myr/libtestr.use
lib/myr/libthread.a
lib/myr/libthread.use
man/man1/6m.1.gz
man/man1/mbld.1.gz
man/man1/muse.1.gz
man/man3/myr-regex.3.gz
%%VIM%%share/vim/vimfiles/ftdetect/mbld.vim
%%VIM%%share/vim/vimfiles/ftdetect/myr.vim
%%VIM%%share/vim/vimfiles/indent/mbld.vim
%%VIM%%share/vim/vimfiles/indent/myr.vim
%%VIM%%share/vim/vimfiles/syntax/mbld.vim
%%VIM%%share/vim/vimfiles/syntax/myr.vim