[Bug 284724] [New port]: devel/xmake-io: A cross-platform build utility based on Lua

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Feb 2025 15:32:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284724

--- Comment #4 from Huan Zhou <pericycle.cc@gmail.com> ---
Comment on attachment 257399
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257399
New port for xmake-io/xmake which has nothing to do with devel/xmake, only name
is similar.

From 826d4363ef443ca4e461e902f60c84fa79aaebdf Mon Sep 17 00:00:00 2001
From: Huan Zhou <pericycle.cc@gmail.com>
Date: Sun, 9 Feb 2025 13:53:01 +0800
Subject: [PATCH 2/2] New port: xmake-io: A cross-platform build utility based
 on Lua

---
 devel/xmake-io/Makefile  | 29 +++++++++++++++++++++++++++++
 devel/xmake-io/distinfo  | 17 +++++++++++++++++
 devel/xmake-io/pkg-descr |  4 ++++
 3 files changed, 50 insertions(+)
 create mode 100644 devel/xmake-io/Makefile
 create mode 100644 devel/xmake-io/distinfo
 create mode 100644 devel/xmake-io/pkg-descr

diff --git a/devel/xmake-io/Makefile b/devel/xmake-io/Makefile
new file mode 100644
index 000000000000..64fe0dbb2dbe
--- /dev/null
+++ b/devel/xmake-io/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=      xmake-io
+DISTVERSIONPREFIX=     v
+DISTVERSION=   2.9.8
+CATEGORIES=    devel
+WWW=           https://xmake.io/
+USES=          gmake tar:tgz 
+
+MAINTAINER=    pericycle.cc@gmail.com
+COMMENT=       A cross-platform build utility based on Lua
+
+LICENSE=       APACHE20
+LICENSE_FILE=  ${WRKSRC}/LICENSE.md
+PLIST_FILES=   bin/xmake bin/xrepo
+
+USE_GITHUB=    yes
+GH_PROJECT=    xmake
+GH_TUPLE=      tboox:tbox:914bd30:tbox/core/src/tbox/tbox \
+              
xmake-io:xmake-core-luajit:7cdc078:xmake_core_luajit/core/src/luajit/luajit \
+               xmake-io:xmake-core-sv:b3363a3:xmake_core_sv/core/src/sv/sv \
+              
xmake-io:xmake-core-pdcurses:5c62af0:pdcurse/core/src/pdcurses/pdcurses \
+              
xmake-io:xmake-core-lua-cjson:ddcecf3:xmake_core_lua_cjson/core/src/lua-cjson/lua-cjson
\
+               xmake-io:xmake-core-lua:1ab3208:xmake_core_lua/core/src/lua/lua
\
+               xmake-io:xmake-core-lz4:ebb370c:xmake_core_lz4/core/src/lz4/lz4 
+               
+
+HAS_CONFIGURE= yes
+MAKEFILE=      makefile
+
+.include <bsd.port.mk>
diff --git a/devel/xmake-io/distinfo b/devel/xmake-io/distinfo
new file mode 100644
index 000000000000..9453d6517c49
--- /dev/null
+++ b/devel/xmake-io/distinfo
@@ -0,0 +1,17 @@
+TIMESTAMP = 1739049288
+SHA256 (xmake-io-xmake-v2.9.8_GH0.tar.gz) =
e5a45ec7e48d0b0da46ae1729ce64a23341328102083fb0eb66296a4e36835b3
+SIZE (xmake-io-xmake-v2.9.8_GH0.tar.gz) = 2382364
+SHA256 (tboox-tbox-914bd30_GH0.tar.gz) =
6caa1c839a2af8faaf8e412cf8c41d08b3704d772785d85df50134c37b343793
+SIZE (tboox-tbox-914bd30_GH0.tar.gz) = 863997
+SHA256 (xmake-io-xmake-core-luajit-7cdc078_GH0.tar.gz) =
82c518ab37117ba2dabf06d2a8bf363eab6a8b88508fa91b4e116bf8d3c83c83
+SIZE (xmake-io-xmake-core-luajit-7cdc078_GH0.tar.gz) = 1495704
+SHA256 (xmake-io-xmake-core-sv-b3363a3_GH0.tar.gz) =
cb5a51596a88296dfa4c53535656f5ba582c15a68fdd6f63a3621f6b9526496e
+SIZE (xmake-io-xmake-core-sv-b3363a3_GH0.tar.gz) = 25879
+SHA256 (xmake-io-xmake-core-pdcurses-5c62af0_GH0.tar.gz) =
b1183fcbe03ed1856a959015c65e4423dfae63468ef942f86d1c7d7aef0a0ad3
+SIZE (xmake-io-xmake-core-pdcurses-5c62af0_GH0.tar.gz) = 364822
+SHA256 (xmake-io-xmake-core-lua-cjson-ddcecf3_GH0.tar.gz) =
7a491b76f7f5104f1399b66295d4b1652ca07c33458cb52a3bc89b05d2382ebf
+SIZE (xmake-io-xmake-core-lua-cjson-ddcecf3_GH0.tar.gz) = 67613
+SHA256 (xmake-io-xmake-core-lua-1ab3208_GH0.tar.gz) =
dc4845fd4454896d714c41b6791f8df386f13336907d5ddb5500c9fc60053a3b
+SIZE (xmake-io-xmake-core-lua-1ab3208_GH0.tar.gz) = 463003
+SHA256 (xmake-io-xmake-core-lz4-ebb370c_GH0.tar.gz) =
6d2d47dc895571c0db1417613387f409b5d74d0deec0fc77a5999ad3ac36f0e5
+SIZE (xmake-io-xmake-core-lz4-ebb370c_GH0.tar.gz) = 387241
diff --git a/devel/xmake-io/pkg-descr b/devel/xmake-io/pkg-descr
new file mode 100644
index 000000000000..64dbd2192de6
--- /dev/null
+++ b/devel/xmake-io/pkg-descr
@@ -0,0 +1,4 @@
+What is Xmake?
+- Xmake is a cross-platform build utility based on the Lua scripting language.
+- Xmake is very lightweight and has no dependencies outside of the standard
library.
+- Uses the xmake.lua file to maintain project builds with a simple and
readable syntax.
-- 
2.48.1

-- 
You are receiving this mail because:
You are the assignee for the bug.