git: eb6654757684 - main - lang/mujs: update 1.3.5 → 1.3.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Nov 2025 17:02:08 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eb66547576847c1145f9b6c459f9162dcee43208
commit eb66547576847c1145f9b6c459f9162dcee43208
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-11-25 16:22:02 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-11-25 17:02:00 +0000
lang/mujs: update 1.3.5 → 1.3.8
---
lang/mujs/Makefile | 28 ++++++++++++++++++++++------
lang/mujs/distinfo | 10 +++++++---
2 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/lang/mujs/Makefile b/lang/mujs/Makefile
index 9841489cb1d6..9e91f06fbaea 100644
--- a/lang/mujs/Makefile
+++ b/lang/mujs/Makefile
@@ -1,22 +1,32 @@
PORTNAME= mujs
-DISTVERSION= 1.3.5
+DISTVERSION= 1.3.8
CATEGORIES= lang devel
+MASTER_SITES= https://codeberg.org/ccxvii/mujs/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ \
+ https://www.unicode.org/Public/16.0.0/ucd/:unicode
+DIST_SUBDIR= ${PORTNAME}-${DISTVERSION}
+DISTFILES= UnicodeData.txt:unicode \
+ SpecialCasing.txt:unicode \
+ ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Embeddable Javascript interpreter in C
-WWW= https://mujs.com/
+WWW= https://mujs.com/ \
+ https://github.com/ccxvii/mujs \
+ https://codeberg.org/ccxvii/mujs
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= curl:ftp/curl
TEST_DEPENDS= git:devel/git
-USES= compiler:c11 cpe gmake readline # c11 is induced by the FreeBSD headers via isnan(3), etc, otherwise the project is all c99 code
-CPE_VENDOR= artifex
+USES= compiler:c11 cpe gmake python:build readline # c11 is induced by the FreeBSD headers via isnan(3), etc, otherwise the project is all c99 code
USE_LDCONFIG= yes
-USE_GITHUB= yes
-GH_ACCOUNT= ccxvii
+CPE_VENDOR= artifex
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
LDFLAGS= -Wl,-soname=libmujs.so
@@ -29,6 +39,8 @@ INSTALL_TARGET= install-shared install-static
MAKE_ARGS= build=debug
.endif
+BINARY_ALIAS= python3=${PYTHON_CMD}
+
PLIST_FILES= bin/mujs \
bin/mujs-pp \
include/mujs.h \
@@ -45,6 +57,10 @@ OPTIONS_DEFAULT= 32BIT
SANITIZED_DESC= Sanitized build (only for debugging)
SANITIZED_MAKE_ARGS= build=sanitize
+post-patch:
+ ${REINPLACE_CMD} -e 's|https://www.unicode.org/Public/16.0.0/ucd/|file://${DISTDIR}/${DIST_SUBDIR}/|g' \
+ ${WRKSRC}/Makefile
+
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/bin/mujs \
diff --git a/lang/mujs/distinfo b/lang/mujs/distinfo
index bb5fb7742910..eb6823e09b3a 100644
--- a/lang/mujs/distinfo
+++ b/lang/mujs/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1718952938
-SHA256 (ccxvii-mujs-1.3.5_GH0.tar.gz) = 78a311ae4224400774cb09ef5baa2633c26971513f8b931d3224a0eb85b13e0b
-SIZE (ccxvii-mujs-1.3.5_GH0.tar.gz) = 128938
+TIMESTAMP = 1764086141
+SHA256 (mujs-1.3.8/UnicodeData.txt) = ff58e5823bd095166564a006e47d111130813dcf8bf234ef79fa51a870edb48f
+SIZE (mujs-1.3.8/UnicodeData.txt) = 2175362
+SHA256 (mujs-1.3.8/SpecialCasing.txt) = 8d5de354eef79f2395a54c9c7dcebbaf3d30fc962d0f85611ea97aa973a0c451
+SIZE (mujs-1.3.8/SpecialCasing.txt) = 16809
+SHA256 (mujs-1.3.8/mujs-1.3.8.tar.gz) = 10e8548033924ada0828a821777371861ea3e127d472e8423ad87426118291d9
+SIZE (mujs-1.3.8/mujs-1.3.8.tar.gz) = 130318