From nobody Sat Feb 18 16:28:36 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PJvJ50QrZz3sj7B; Sat, 18 Feb 2023 16:28:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PJvJ46zFHz43GF; Sat, 18 Feb 2023 16:28:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676737717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7B3Eahi/fXgv0QH0rYIobH2UZf7joHaHY1J81NElExQ=; b=AOAPcfOdkQ7/WB4fRql4wNQ5pSvvBIN0hvdc+r4qeRnHiBrhgNjp5q9XnaI5P+Z253+5VS hj5h8EhVJpVl42TsYck3KsIaPVjneHKSmMPuoJ4G3jvfYzFAqiUwB/ScnwX9O/VdQgUkTc j4rNWHut9xw2uB/UH2O6mxRiL3wfy5bLTUEepi1Cr5zh79ylo9sbuh7CHrEzzXEA8s8iFf oYN7GAVWP2Bq6WKkRpSR84manYvjRf6nes9CRyNg0AaLocjF/CD8GlhMmBrLPyyzgsKmBU MjJkJ7A1IOUBMD1T0AsyOk5IopaxIYBUrs4+Z+ygkTRwS2/EShxmioXi8A2vog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676737717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7B3Eahi/fXgv0QH0rYIobH2UZf7joHaHY1J81NElExQ=; b=ADcjsIIEMiMawRSnGOgPexVM5LoUA0+8FUCNJVSuvhgyhD9oFYDLuyqVvhTFTvKDn0lu4s l+L/ZZHns8N2gFOGrSEsmV4uQ4diXvOaBcgxjo6n00ffPf7QXCOqy03qA//cBGbSNtJvDb gTlPiIePPCiYDYwxi2EIHmnEolYXIAtvenlA8c8qL8uZ9nXvpEJFuqBOVo+gi4GvsdPoJ1 0dLcKdMhFpLT11DZOOw+r9Zyfz+s5VOOY+K8k8QT4OdoPkWeiH5+zAgiGvWlGbWqb0u/Dm 9bpqbDhYcJo4/vNcTCeVNQrxi1FjZ+xlC7buGCq2RKLvhX67Wu6GyAh2sqv3Cw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676737717; a=rsa-sha256; cv=none; b=yI+V68KA1hDRTrU+B5YC3AP9lFaQtJTeWKD1EwPAldBTt6fX7BbdBOk7sWook3fwktNGvm rRnpWp/Q1hLMApmMMrSH6MyIPC8FtqttaWBSxP8Fs5Niep+7DE7mikrUlSs3QZSgyxMuAB ponWENAT5e48g7Vsnzx7SLu+R58g9cw6hzKMFG2ROQL1IH4ykDO6mN0lne+tqTHZA6wnlR lcxNHjkdTJpJp0oMGrt54C9kKZqp/e4QkQ34tz/KOJY0pkpXGKf0GQ/y56DjbAGfn/R7lq a7FuwsNsCIDHJXEdyyAo0flF/gKb+yT8Jet8akcsxzBqxGGpB8KBIjxNrbWMTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PJvJ460fKzV3K; Sat, 18 Feb 2023 16:28:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31IGSaiB055583; Sat, 18 Feb 2023 16:28:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31IGSaBT055582; Sat, 18 Feb 2023 16:28:36 GMT (envelope-from git) Date: Sat, 18 Feb 2023 16:28:36 GMT Message-Id: <202302181628.31IGSaBT055582@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: e662b8a2a07b - main - devel/sjasmplus: Update to 1.20.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e662b8a2a07b304de09a3d47aa4ddf392951b273 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=e662b8a2a07b304de09a3d47aa4ddf392951b273 commit e662b8a2a07b304de09a3d47aa4ddf392951b273 Author: Juraj Lutter AuthorDate: 2023-02-18 14:30:28 +0000 Commit: Juraj Lutter CommitDate: 2023-02-18 16:28:14 +0000 devel/sjasmplus: Update to 1.20.2 Update to 1.20.2 and use a local patch to Makefile until the next update that allows to drop the patch. --- devel/sjasmplus/Makefile | 44 +++++++++++------- devel/sjasmplus/distinfo | 10 ++-- devel/sjasmplus/files/patch-Makefile | 53 ++++++++++++++++++++++ ...s_docbook-xsl-ns-html-customization-freebsd.xsl | 13 ++++++ 4 files changed, 99 insertions(+), 21 deletions(-) diff --git a/devel/sjasmplus/Makefile b/devel/sjasmplus/Makefile index 0484f022d9a8..b9e0ccdaf5cd 100644 --- a/devel/sjasmplus/Makefile +++ b/devel/sjasmplus/Makefile @@ -1,6 +1,9 @@ PORTNAME= sjasmplus -PORTVERSION= 1.20.1 +DISTVERSION= 1.20.2 CATEGORIES= devel +MASTER_SITES= https://github.com/z00m128/sjasmplus/releases/download/v${DISTVERSION}/ +EXTRACT_SUFX= .tar.xz +DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} MAINTAINER= otis@FreeBSD.org COMMENT= Command-line cross-compiler of assembly language for Z80 CPU @@ -8,12 +11,9 @@ WWW= https://github.com/z00m128/sjasmplus LICENSE= BSD3CLAUSE -USES= compiler:c++14-lang gmake +USES= compiler:c++14-lang gmake tar:xz -USE_GITHUB= yes -GH_ACCOUNT= z00m128 -GH_PROJECT= sjasmplus -GH_TAGNAME= v1.20.1 +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= BUNDLED_LUA @@ -25,17 +25,29 @@ 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 +BUNDLED_LUA_MAKE_ARGS= USE_BUNDLED_LUA=1 \ + USE_LUA=1 +DOCS_BUILD_DEPENDS= docbook-xsl-ns>0:textproc/docbook-xsl-ns \ + 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_MAKE_ARGS= INCDIR_LUA=${LUA_INCDIR} \ + LUA_VER=${LUA_VER} \ + USE_BUNDLED_LUA=0 \ + USE_LUA=1 +LUA_LDFLAGS= -L${LUA_LIBDIR} +NOLUA_MAKE_ARGS= USE_BUNDLED_LUA=0 \ + USE_LUA=0 -_LUA_GH_TUPLE= vinniefalco:LuaBridge:c882d32b:sjasmplus/LuaBridge +.include + +.if !${PORT_OPTIONS:MNOLUA} +USE_GITHUB= nodefault +GH_TUPLE= vinniefalco:LuaBridge:6580b187:sjasmplus/LuaBridge +.endif + +post-patch-DOCS-on: + ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ + ${WRKSRC}/docs/docbook-xsl-ns-html-customization-freebsd.xsl post-build-DOCS-on: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} docs) @@ -54,4 +66,4 @@ do-install-EXAMPLES-on: post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sjasmplus -.include +.include diff --git a/devel/sjasmplus/distinfo b/devel/sjasmplus/distinfo index b477d0bd761f..7c353931e229 100644 --- a/devel/sjasmplus/distinfo +++ b/devel/sjasmplus/distinfo @@ -1,5 +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 +TIMESTAMP = 1676719682 +SHA256 (sjasmplus-1.20.2-src.tar.xz) = 34421abd754639a5add999ef194dbd215aed92ac445eea7981ee46438021870f +SIZE (sjasmplus-1.20.2-src.tar.xz) = 2272400 +SHA256 (vinniefalco-LuaBridge-6580b187_GH0.tar.gz) = e48ab46ff42c53e60ff0baddb995b5f8f0cdb8f295eca6999960d68eec107cff +SIZE (vinniefalco-LuaBridge-6580b187_GH0.tar.gz) = 1197086 diff --git a/devel/sjasmplus/files/patch-Makefile b/devel/sjasmplus/files/patch-Makefile new file mode 100644 index 000000000000..977e9d3a83c8 --- /dev/null +++ b/devel/sjasmplus/files/patch-Makefile @@ -0,0 +1,53 @@ +--- Makefile.orig 2023-02-16 20:39:21 UTC ++++ Makefile +@@ -54,7 +54,8 @@ MEMCHECK?=valgrind --leak-check=yes + EXE_BASE_NAME=sjasmplus + BUILD_DIR=build + +-LUA_VER=5.4 ++LUA_VER?=5.4 ++LUA_LIBNAME=lua-$(LUA_VER) + + SUBDIR_BASE=sjasm + SUBDIR_LUA=lua$(LUA_VER) +@@ -63,15 +64,16 @@ SUBDIR_CRC32C=crc32c + SUBDIR_DOCS=docs + SUBDIR_COV=coverage + +-INCDIR_LUA=/usr/include/lua$(LUA_VER) ++INCDIR_LUA?=/usr/include/lua$(LUA_VER) + + ifeq ($(USE_LUA), 1) +-_LUA_CPPFLAGS=-I$(SUBDIR_LUA) +-endif +- + ifeq ($(USE_BUNDLED_LUA), 0) + _LUA_CPPFLAGS=-I$(INCDIR_LUA) ++LDFLAGS+=-l$(LUA_LIBNAME) ++else ++_LUA_CPPFLAGS=-I$(SUBDIR_LUA) + endif ++endif + + # TODO too many lua5.4 warnings: -pedantic removed + CPPFLAGS+=-Wall -DMAX_PATH=PATH_MAX -I$(SUBDIR_CRC32C) +@@ -85,10 +87,6 @@ ifeq ($(USE_LUA), 1) + LDFLAGS+=-ldl + endif + +-ifeq ($(USE_BUNDLED_LUA), 0) +-LDFLAGS+=-llua$(LUA_VER) +-endif +- + ifdef DEBUG + BUILD_DIR:=$(BUILD_DIR)/debug + CFLAGS+=-g -O0 +@@ -258,7 +256,7 @@ $(SUBDIR_DOCS)/documentation.html: Makefile $(wildcard + --stringparam html.stylesheet docbook.css \ + --stringparam generate.toc "book toc" \ + -o $(SUBDIR_DOCS)/documentation.html \ +- $(SUBDIR_DOCS)/docbook-xsl-ns-html-customization-linux.xsl \ ++ $(SUBDIR_DOCS)/docbook-xsl-ns-html-customization-freebsd.xsl \ + $(SUBDIR_DOCS)/documentation.xml + + clean: diff --git a/devel/sjasmplus/files/patch-docs_docbook-xsl-ns-html-customization-freebsd.xsl b/devel/sjasmplus/files/patch-docs_docbook-xsl-ns-html-customization-freebsd.xsl new file mode 100644 index 000000000000..d69d99fea5b4 --- /dev/null +++ b/devel/sjasmplus/files/patch-docs_docbook-xsl-ns-html-customization-freebsd.xsl @@ -0,0 +1,13 @@ +--- docs/docbook-xsl-ns-html-customization-freebsd.xsl.orig 2023-02-18 11:01:11 UTC ++++ docs/docbook-xsl-ns-html-customization-freebsd.xsl +@@ -0,0 +1,10 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++