summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2017-03-13 15:11:11 +0000
committertobik <tobik@FreeBSD.org>2017-03-13 15:11:11 +0000
commitbecc3d08a31980d7060632af2218aa2ee4b5d220 (patch)
tree84244662bfb1a5c79c5d1860d3b3f350a11af8aa
parent10f80ea66c53eeea13f87163ce8f6b7a78565d28 (diff)
downloadFreeBSD-ports-becc3d08a31980d7060632af2218aa2ee4b5d220.zip
FreeBSD-ports-becc3d08a31980d7060632af2218aa2ee4b5d220.tar.gz
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
-rw-r--r--lang/Makefile1
-rw-r--r--lang/myrddin/Makefile36
-rw-r--r--lang/myrddin/distinfo3
-rw-r--r--lang/myrddin/pkg-descr16
-rw-r--r--lang/myrddin/pkg-plist40
5 files changed, 96 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index cd1fe3b..051821d 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -184,6 +184,7 @@
SUBDIR += mosml
SUBDIR += mtasc
SUBDIR += munger
+ SUBDIR += myrddin
SUBDIR += nawk
SUBDIR += nbc
SUBDIR += nbfc
diff --git a/lang/myrddin/Makefile b/lang/myrddin/Makefile
new file mode 100644
index 0000000..350850e
--- /dev/null
+++ b/lang/myrddin/Makefile
@@ -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>
diff --git a/lang/myrddin/distinfo b/lang/myrddin/distinfo
new file mode 100644
index 0000000..d22eabe
--- /dev/null
+++ b/lang/myrddin/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1489406509
+SHA256 (myrddin-0.1.1.tar.gz) = 8d15ccdec8a1c60d1b7174903a7d0f4d7f80053614843375479e19426394024a
+SIZE (myrddin-0.1.1.tar.gz) = 478934
diff --git a/lang/myrddin/pkg-descr b/lang/myrddin/pkg-descr
new file mode 100644
index 0000000..8cc429e
--- /dev/null
+++ b/lang/myrddin/pkg-descr
@@ -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/
diff --git a/lang/myrddin/pkg-plist b/lang/myrddin/pkg-plist
new file mode 100644
index 0000000..163fc52
--- /dev/null
+++ b/lang/myrddin/pkg-plist
@@ -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
OpenPOWER on IntegriCloud