pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/surgescript lang: add surgescript.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2bdb9a256fc5
branches: trunk
changeset: 447865:2bdb9a256fc5
user: nia <nia%pkgsrc.org@localhost>
date: Sun Feb 28 08:06:52 2021 +0000
description:
lang: add surgescript.
SurgeScript is a scripting language for games. Use it to unleash your
creativity and build your own amazing interactive content!
diffstat:
lang/surgescript/DESCR | 2 +
lang/surgescript/Makefile | 17 ++++++
lang/surgescript/PLIST | 39 ++++++++++++++
lang/surgescript/distinfo | 8 ++
lang/surgescript/patches/patch-src_surgescript_util_utf8.c | 18 ++++++
lang/surgescript/patches/patch-src_surgescript_util_utf8.h | 17 ++++++
6 files changed, 101 insertions(+), 0 deletions(-)
diffs (125 lines):
diff -r 51f84a0305b8 -r 2bdb9a256fc5 lang/surgescript/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/surgescript/DESCR Sun Feb 28 08:06:52 2021 +0000
@@ -0,0 +1,2 @@
+SurgeScript is a scripting language for games. Use it to unleash your
+creativity and build your own amazing interactive content!
diff -r 51f84a0305b8 -r 2bdb9a256fc5 lang/surgescript/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/surgescript/Makefile Sun Feb 28 08:06:52 2021 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+DISTNAME= surgescript-0.5.5
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=alemart/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://docs.opensurge2d.org/
+COMMENT= Scripting language for games
+LICENSE= apache-2.0
+
+USE_CMAKE= yes
+
+PKGCONFIG_OVERRIDE+= src/surgescript/misc/surgescript.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r 51f84a0305b8 -r 2bdb9a256fc5 lang/surgescript/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/surgescript/PLIST Sun Feb 28 08:06:52 2021 +0000
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/28 08:06:52 nia Exp $
+bin/surgescript
+include/surgescript.h
+include/surgescript/compiler/asm.h
+include/surgescript/compiler/lexer.h
+include/surgescript/compiler/nodecontext.h
+include/surgescript/compiler/parser.h
+include/surgescript/compiler/symtable.h
+include/surgescript/compiler/token.h
+include/surgescript/runtime/heap.h
+include/surgescript/runtime/object.h
+include/surgescript/runtime/object_manager.h
+include/surgescript/runtime/program.h
+include/surgescript/runtime/program_operators.h
+include/surgescript/runtime/program_pool.h
+include/surgescript/runtime/renv.h
+include/surgescript/runtime/sslib/sslib.h
+include/surgescript/runtime/stack.h
+include/surgescript/runtime/tag_system.h
+include/surgescript/runtime/variable.h
+include/surgescript/runtime/vm.h
+include/surgescript/runtime/vm_time.h
+include/surgescript/util/fasthash.h
+include/surgescript/util/ssarray.h
+include/surgescript/util/transform.h
+include/surgescript/util/utf8.h
+include/surgescript/util/uthash.h
+include/surgescript/util/util.h
+include/surgescript/util/version.h
+include/surgescript/util/xxh3.h
+include/surgescript/util/xxhash.h
+lib/libsurgescript-static.a
+lib/libsurgescript.so
+lib/libsurgescript.so.${PKGVERSION}
+lib/pkgconfig/surgescript-static.pc
+lib/pkgconfig/surgescript.pc
+share/metainfo/surgescript.appdata.xml
+share/pixmaps/surgescript.png
+@pkgdir include/surgescript/misc
diff -r 51f84a0305b8 -r 2bdb9a256fc5 lang/surgescript/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/surgescript/distinfo Sun Feb 28 08:06:52 2021 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+SHA1 (surgescript-0.5.5.tar.gz) = 7dd9100515a4c0722beb664be35bacf8b3ff3d46
+RMD160 (surgescript-0.5.5.tar.gz) = 7d581559bef12df3e9dced8ef4fa1bcd7fa72c74
+SHA512 (surgescript-0.5.5.tar.gz) = b3b79f36463b9ff91f2f8108d6917961d8aabfbd0693a9e9e275f57faa09022570519c553ceff8db93101058964d76df82448b487ed82c5331598df065fae34a
+Size (surgescript-0.5.5.tar.gz) = 504167 bytes
+SHA1 (patch-src_surgescript_util_utf8.c) = 44775addf7e9430bbf5fe26b0863b5334261417f
+SHA1 (patch-src_surgescript_util_utf8.h) = 030bd7168f902466faa897e2de522a71db8616fa
diff -r 51f84a0305b8 -r 2bdb9a256fc5 lang/surgescript/patches/patch-src_surgescript_util_utf8.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/surgescript/patches/patch-src_surgescript_util_utf8.c Sun Feb 28 08:06:52 2021 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_surgescript_util_utf8.c,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+Much more than FreeBSD doesn't have <alloca.h>.
+
+--- src/surgescript/util/utf8.c.orig 2021-01-22 18:42:07.000000000 +0000
++++ src/surgescript/util/utf8.c
+@@ -24,9 +24,9 @@
+ #include <malloc.h>
+ #define snprintf _snprintf
+ #else
+-#ifndef __FreeBSD__
++#if defined(__linux__) || defined(__sun)
+ #include <alloca.h>
+-#endif /* __FreeBSD__ */
++#endif /* defined(__linux__) || defined(__sun) */
+ #endif
+ #include <assert.h>
+
diff -r 51f84a0305b8 -r 2bdb9a256fc5 lang/surgescript/patches/patch-src_surgescript_util_utf8.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/surgescript/patches/patch-src_surgescript_util_utf8.h Sun Feb 28 08:06:52 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_surgescript_util_utf8.h,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+This header file is included in various places without including the
+<stdarg.h> prerequisite beforehand. Fix it the lazy way.
+
+--- src/surgescript/util/utf8.h.orig 2021-01-22 18:42:07.000000000 +0000
++++ src/surgescript/util/utf8.h
+@@ -6,6 +6,9 @@
+ #ifndef UTF8_H
+ #define UTF8_H
+
++#include <stdarg.h>
++#include <stdint.h>
++
+ extern int locale_is_utf8;
+
+ /* is c the start of a utf8 sequence? */
Home |
Main Index |
Thread Index |
Old Index