Index: head/lang/Makefile =================================================================== --- head/lang/Makefile +++ head/lang/Makefile @@ -184,6 +184,7 @@ SUBDIR += mosml SUBDIR += mtasc SUBDIR += munger + SUBDIR += myrddin SUBDIR += nawk SUBDIR += nbc SUBDIR += nbfc Index: head/lang/myrddin/Makefile =================================================================== --- head/lang/myrddin/Makefile +++ head/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 Index: head/lang/myrddin/distinfo =================================================================== --- head/lang/myrddin/distinfo +++ head/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 Index: head/lang/myrddin/pkg-descr =================================================================== --- head/lang/myrddin/pkg-descr +++ head/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/ Index: head/lang/myrddin/pkg-plist =================================================================== --- head/lang/myrddin/pkg-plist +++ head/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