pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add neko 2.2.0 as wip/neko.
Module Name: pkgsrc-wip
Committed By: Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By: cfkoch
Date: Sat Dec 22 14:39:33 2018 -0800
Changeset: 5bbcfd342fba03af152f6e340b211363e0a6669a
Modified Files:
Makefile
Added Files:
neko/DESCR
neko/Makefile
neko/PLIST
neko/distinfo
neko/patches/patch-CMakeLists.txt
Log Message:
Add neko 2.2.0 as wip/neko.
This is a minimally configured distribution of the Neko virtual machine. We
should include an options.mk next.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5bbcfd342fba03af152f6e340b211363e0a6669a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
neko/DESCR | 6 ++++++
neko/Makefile | 27 +++++++++++++++++++++++++++
neko/PLIST | 17 +++++++++++++++++
neko/distinfo | 7 +++++++
neko/patches/patch-CMakeLists.txt | 14 ++++++++++++++
6 files changed, 72 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index d6922f9a46..ddfd5f9738 100644
--- a/Makefile
+++ b/Makefile
@@ -2267,6 +2267,7 @@ SUBDIR+= neb-cd512
SUBDIR+= neb-hdtoolbox
SUBDIR+= necpp-git
SUBDIR+= nehe-opengl-tutorials
+SUBDIR+= neko
SUBDIR+= nemo
SUBDIR+= neovim
SUBDIR+= neovim-git
diff --git a/neko/DESCR b/neko/DESCR
new file mode 100644
index 0000000000..341795b0ac
--- /dev/null
+++ b/neko/DESCR
@@ -0,0 +1,6 @@
+Neko is a high-level dynamically typed programming language. It can be used
+as an embedded scripting language. It has been designed to provide a common
+runtime for several different languages. Learning and using Neko is very
+easy. You can easily extend the language with C libraries. You can also
+write generators from your own language to Neko and then use the Neko
+Runtime to compile, run, and access existing libraries.
diff --git a/neko/Makefile b/neko/Makefile
new file mode 100644
index 0000000000..892de7dc3d
--- /dev/null
+++ b/neko/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= neko-2.2.0
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=HaxeFoundation/}
+GITHUB_TAG= v${PKGVERSION_NOREV:S/./-/g}
+
+MAINTAINER= cfkoch%edgebsd.org@localhost
+COMMENT= The Neko virtual machine
+LICENSE= mit
+
+EXTRACT_USING= gtar
+USE_LANGUAGES= c
+USE_CMAKE= yes
+
+# XXX Minimal configuration for now. Should use options.mk instead.
+CMAKE_ARGS+= -DWITH_REGEXP:BOOL=OFF
+CMAKE_ARGS+= -DWITH_UI:BOOL=OFF
+CMAKE_ARGS+= -DWITH_SSL:BOOL=OFF
+CMAKE_ARGS+= -DWITH_MYSQL:BOOL=OFF
+CMAKE_ARGS+= -DWITH_SQLITE:BOOL=OFF
+CMAKE_ARGS+= -DWITH_APACHE:BOOL=OFF
+CMAKE_ARGS+= -DWITH_NEKOML:BOOL=OFF
+
+.include "../../devel/boehm-gc/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/neko/PLIST b/neko/PLIST
new file mode 100644
index 0000000000..28df24367c
--- /dev/null
+++ b/neko/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+bin/neko
+bin/nekoc
+bin/nekotools
+include/neko.h
+include/neko_elf.h
+include/neko_mod.h
+include/neko_vm.h
+lib/cmake/Neko/NekoConfig.cmake
+lib/cmake/Neko/NekoConfigVersion.cmake
+lib/cmake/Neko/NekoTargets-noconfig.cmake
+lib/cmake/Neko/NekoTargets.cmake
+lib/libneko.so
+lib/libneko.so.2
+lib/libneko.so.2.2.0
+lib/neko/std.ndll
+lib/neko/zlib.ndll
diff --git a/neko/distinfo b/neko/distinfo
new file mode 100644
index 0000000000..ac0631c445
--- /dev/null
+++ b/neko/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (neko-2.2.0.tar.gz) = 5edf252759c156625cd226f5594bdf64663fe782
+RMD160 (neko-2.2.0.tar.gz) = a91e97a7234e4d8d54156f38cb6192d61296d399
+SHA512 (neko-2.2.0.tar.gz) = 4bc89fddf4a5ae94e73843b06a3b6fe8de59d72922764276a5bd9d56daf6570525e842039bf704598b41e1de4a5fe08931adc4ca9730fe3333be0beb7a1ccaed
+Size (neko-2.2.0.tar.gz) = 510643 bytes
+SHA1 (patch-CMakeLists.txt) = 76c56efa8c8f5a2f6d04932085592c606dee03c5
diff --git a/neko/patches/patch-CMakeLists.txt b/neko/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..5cc7d969b4
--- /dev/null
+++ b/neko/patches/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Specify additional systems which do not use libdl.
+--- CMakeLists.txt.orig 2018-12-22 14:27:53.412791761 -0800
++++ CMakeLists.txt 2018-12-22 14:28:10.004843917 -0800
+@@ -360,7 +360,7 @@
+ target_link_libraries(nekovm libneko)
+
+ if(UNIX)
+- if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
++ if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "NetBSD")
+ set(DL_LIB "dl")
+ endif()
+ find_package(Threads)
Home |
Main Index |
Thread Index |
Old Index