git: d6f6a6b2c5b2 - main - devel/sjasmplus: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Aug 2022 09:57:24 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d6f6a6b2c5b2d1999900ecad5dcaf741cdf1a3df
commit d6f6a6b2c5b2d1999900ecad5dcaf741cdf1a3df
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2022-07-23 07:06:42 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2022-08-03 09:52:58 +0000
devel/sjasmplus: Add new port
Add devel/sjasmplus, a cross-compiler of assembly language for Z80 CPU.
WWW: https://github.com/z00m128/sjasmplus
---
devel/Makefile | 1 +
devel/sjasmplus/Makefile | 56 +++++++++++++++++++++++++++++++++++++++++++++++
devel/sjasmplus/distinfo | 5 +++++
devel/sjasmplus/pkg-descr | 5 +++++
devel/sjasmplus/pkg-plist | 33 ++++++++++++++++++++++++++++
5 files changed, 100 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 1e7d62e70de7..87a4102790b4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7107,6 +7107,7 @@
SUBDIR += simdjson
SUBDIR += simgear
SUBDIR += simian
+ SUBDIR += sjasmplus
SUBDIR += skalibs
SUBDIR += skypat
SUBDIR += slf4j
diff --git a/devel/sjasmplus/Makefile b/devel/sjasmplus/Makefile
new file mode 100644
index 000000000000..603171379617
--- /dev/null
+++ b/devel/sjasmplus/Makefile
@@ -0,0 +1,56 @@
+PORTNAME= sjasmplus
+PORTVERSION= 1.20.1
+CATEGORIES= devel
+
+MAINTAINER= otis@FreeBSD.org
+COMMENT= Command-line cross-compiler of assembly language for Z80 CPU
+
+LICENSE= BSD3CLAUSE
+
+USES= compiler:c++14-lang gmake
+
+USE_GITHUB= yes
+GH_ACCOUNT= z00m128
+GH_PROJECT= sjasmplus
+GH_TAGNAME= v1.20.1
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFAULT= BUNDLED_LUA
+OPTIONS_SINGLE= SJLUA
+OPTIONS_SINGLE_SJLUA= BUNDLED_LUA LUA NOLUA
+OPTIONS_SUB= yes
+
+BUNDLED_LUA_DESC= Use bundled LUA 5.4
+NOLUA_DESC= Do not use LUA
+SJLUA_DESC= Which LUA version to use
+
+BUNDLED_LUA_GH_TUPLE= ${_LUA_GH_TUPLE}
+BUNDLED_LUA_MAKE_ARGS= USE_BUNDLED_LUA=1
+DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt
+LUA_USES= lua:54
+LUA_GH_TUPLE= ${_LUA_GH_TUPLE}
+LUA_MAKE_ARGS= USE_BUNDLED_LUA=0
+LUA_CPPFLAGS= -I${LUA_INCDIR}
+LUA_LDFLAGS= -L${LUA_LIBDIR} -llua-5.4
+NOLUA_MAKE_ARGS= USE_LUA=0
+
+_LUA_GH_TUPLE= vinniefalco:LuaBridge:c882d32b:sjasmplus/LuaBridge
+
+post-build-DOCS-on:
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} docs)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sjasmplus ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/documentation.html ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sjasmplus
+
+.include <bsd.port.mk>
diff --git a/devel/sjasmplus/distinfo b/devel/sjasmplus/distinfo
new file mode 100644
index 000000000000..b477d0bd761f
--- /dev/null
+++ b/devel/sjasmplus/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1659520367
+SHA256 (z00m128-sjasmplus-1.20.1-v1.20.1_GH0.tar.gz) = f76f57dee65e75a8b7b5ced9b3241ae97e62f98ee9a0219fa05a6f506e5162d7
+SIZE (z00m128-sjasmplus-1.20.1-v1.20.1_GH0.tar.gz) = 1588141
+SHA256 (vinniefalco-LuaBridge-c882d32b_GH0.tar.gz) = 73877beb86b30bcac17494be3ce643a89bc09f2645b155c49971605768c71f68
+SIZE (vinniefalco-LuaBridge-c882d32b_GH0.tar.gz) = 544744
diff --git a/devel/sjasmplus/pkg-descr b/devel/sjasmplus/pkg-descr
new file mode 100644
index 000000000000..35f5570dc81d
--- /dev/null
+++ b/devel/sjasmplus/pkg-descr
@@ -0,0 +1,5 @@
+Command-line cross-compiler of assembly language for Z80 CPU. Supports many
+ZX-Spectrum specific directives, has built-in Lua scripting engine and 3-pass
+design.
+
+WWW: https://github.com/z00m128/sjasmplus
diff --git a/devel/sjasmplus/pkg-plist b/devel/sjasmplus/pkg-plist
new file mode 100644
index 000000000000..9168204513b6
--- /dev/null
+++ b/devel/sjasmplus/pkg-plist
@@ -0,0 +1,33 @@
+bin/sjasmplus
+%%PORTDOCS%%%%DOCSDIR%%/documentation.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/3color/3color.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/3color/killerbean2.$c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BasicLib/BasicLib.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BasicLib/Example-code-in-rem.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BasicLib/Example-goto-restore.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BasicLib/Example-line-numbering.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BasicLib/Example-simple-loader.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SaveCDT/asm-loaders/loader464.z80
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SaveCDT/asm-loaders/loader6128.z80
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/#readme.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/Cmd-NsLookUp-sj.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/adaptation.patch
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/nslookup.com
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/src/Cmd-NsLookUp-head.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/src/Cmd-NsLookUp.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/src/SymbOS-Constants.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/src/symbos_lib-NetworkDaemon.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/src/symbos_lib-SymShell.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SymbOS_nslookup/src/symbos_lib-SystemManager.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/TapLib/Example.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/TapLib/TapLib.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chargfx2asm/ZX Courier.ch8
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chargfx2asm/chargfx2asm.script.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file name test/option zxnext ignore.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file name test/option zxnext.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file name test/option zxnext.options
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/frost4k/frost10.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/frost4k/samples.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/relocation/relocate.tap
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/relocation/relocation_basic.i.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/relocation/relocation_main.asm