pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
boron: Add devel/boron version 2.1.0
Module Name: pkgsrc-wip
Committed By: Frédéric Fauberteau <triaxx%NetBSD.org@localhost>
Pushed By: frederic
Date: Mon Feb 10 00:20:14 2025 +0100
Changeset: 6755d3ad1a953bb5b42aaa8c824126a496ca7236
Added Files:
boron/COMMIT_MSG
boron/DESCR
boron/Makefile
boron/PLIST
boron/buildlink3.mk
boron/distinfo
boron/patches/patch-Makefile
Log Message:
boron: Add devel/boron version 2.1.0
Boron is an interpreted, prototype-based, scripting language similar to Rebol.
The interpreter and datatype system is a C library useful for building
domain-specific languages (DSLs) embedded in C/C++ applications.
It is a smaller language than Rebol with fewer built-in data types, no infix
operators, and no built-in internet protocols. It does add the capability to
slice series values and store data in a serialized binary format.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6755d3ad1a953bb5b42aaa8c824126a496ca7236
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
boron/COMMIT_MSG | 9 +++++++++
boron/DESCR | 7 +++++++
boron/Makefile | 24 ++++++++++++++++++++++++
boron/PLIST | 5 +++++
boron/buildlink3.mk | 12 ++++++++++++
boron/distinfo | 6 ++++++
boron/patches/patch-Makefile | 32 ++++++++++++++++++++++++++++++++
7 files changed, 95 insertions(+)
diffs:
diff --git a/boron/COMMIT_MSG b/boron/COMMIT_MSG
new file mode 100644
index 0000000000..39ab589a88
--- /dev/null
+++ b/boron/COMMIT_MSG
@@ -0,0 +1,9 @@
+boron: Add devel/boron version 2.1.0
+
+Boron is an interpreted, prototype-based, scripting language similar to Rebol.
+The interpreter and datatype system is a C library useful for building
+domain-specific languages (DSLs) embedded in C/C++ applications.
+
+It is a smaller language than Rebol with fewer built-in data types, no infix
+operators, and no built-in internet protocols. It does add the capability to
+slice series values and store data in a serialized binary format.
diff --git a/boron/DESCR b/boron/DESCR
new file mode 100644
index 0000000000..c44cec61c8
--- /dev/null
+++ b/boron/DESCR
@@ -0,0 +1,7 @@
+Boron is an interpreted, prototype-based, scripting language similar to Rebol.
+The interpreter and datatype system is a C library useful for building
+domain-specific languages (DSLs) embedded in C/C++ applications.
+
+It is a smaller language than Rebol with fewer built-in data types, no infix
+operators, and no built-in internet protocols. It does add the capability to
+slice series values and store data in a serialized binary format.
diff --git a/boron/Makefile b/boron/Makefile
new file mode 100644
index 0000000000..d1ad4fc058
--- /dev/null
+++ b/boron/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME= v2.1.0
+PKGNAME= boron-${DISTNAME:S,^v,,}
+CATEGORIES= devel
+MASTER_SITES= https://codeberg.org/wickedsmoke/boron/archive/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://urlan.sourceforge.io/boron/
+COMMENT= Scripting language similar to REBOL
+LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
+
+WRKSRC= ${WRKDIR}/boron
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= bash:run gmake
+
+REPLACE_BASH+= configure
+CONFIG_SHELL= ${BASH}
+BUILD_TARGET= boron
+
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/boron/PLIST b/boron/PLIST
new file mode 100644
index 0000000000..95a836dd11
--- /dev/null
+++ b/boron/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/boron
+lib/libboron.so.2
+lib/libboron.so.${PKGVERSION}
+man/man1/boron.1
diff --git a/boron/buildlink3.mk b/boron/buildlink3.mk
new file mode 100644
index 0000000000..1da3c73a7a
--- /dev/null
+++ b/boron/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= boron
+
+.if !defined(BORON_BUILDLINK3_MK)
+BORON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.boron+= boron>=2.1.0
+BUILDLINK_PKGSRCDIR.boron?= ../../wip/boron
+.endif # BORON_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -boron
diff --git a/boron/distinfo b/boron/distinfo
new file mode 100644
index 0000000000..4408bdaee5
--- /dev/null
+++ b/boron/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (v2.1.0.tar.gz) = 7517336dcf6d8742f55a2defa706ab54b7371453a0040954c9afca9bb0db3ece
+SHA512 (v2.1.0.tar.gz) = 1a484ca0be279d6d060b0816eee06c0154c6234930fd8d0d20d5708c6bf50d16399d0cead900119bc9cdfdb16ac9eb4a09df7f83f53bb9e01f81ebf6b62575c5
+Size (v2.1.0.tar.gz) = 360613 bytes
+SHA1 (patch-Makefile) = 1e31402dc5c66089f7c3e6527cb26caff1731f82
diff --git a/boron/patches/patch-Makefile b/boron/patches/patch-Makefile
new file mode 100644
index 0000000000..f96a43fc15
--- /dev/null
+++ b/boron/patches/patch-Makefile
@@ -0,0 +1,32 @@
+$NetBSD$
+
+Fix DESTDIR.
+
+--- Makefile.orig 2023-12-12 04:43:52.000000000 +0000
++++ Makefile
+@@ -3,11 +3,11 @@
+ VER=2.1.0
+
+ DESTDIR ?= /usr/local
+-BIN_DIR=$(DESTDIR)/bin
+-LIB_DIR=$(DESTDIR)/lib
+-INC_DIR=$(DESTDIR)/include/boron
+-MAN_DIR=$(DESTDIR)/share/man/man1
+-VIM_DIR=$(DESTDIR)/share/vim/vimfiles/syntax
++BIN_DIR=$(DESTDIR)$(PREFIX)/bin
++LIB_DIR=$(DESTDIR)$(PREFIX)/lib
++INC_DIR=$(DESTDIR)$(PREFIX)/include/boron
++MAN_DIR=$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
++VIM_DIR=$(DESTDIR)$(PREFIX)/share/vim/vimfiles/syntax
+
+ OS := $(shell uname)
+
+@@ -91,7 +91,7 @@ $(ODIR)/%.o: eval/%.c
+ cc -c $(CFLAGS) $(CONFIG) $< -o $@
+
+ boron: $(EXE_OBJS) $(BORON_LIB)
+- cc $^ -o $@ $(EXE_LIBS)
++ cc $^ -o $@ $(EXE_LIBS) $(LDFLAGS)
+
+ $(ODIR)/os.o: unix/os.c
+ cc -c $(CFLAGS) $(CONFIG) $< -o $@
Home |
Main Index |
Thread Index |
Old Index