git: 1ada9768658a - main - lang/cbmbasic: Update to 20260403
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Sep 2026 02:12:04 UTC
The branch main has been updated by mce:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ada9768658ad3c63a6c36163d96ae33d0c865b2
commit 1ada9768658ad3c63a6c36163d96ae33d0c865b2
Author: Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-08-23 10:27:39 +0000
Commit: Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-09-07 02:10:28 +0000
lang/cbmbasic: Update to 20260403
Take maintainership.
Add DOCS and EXAMPLES options.
Changelog: https://github.com/mist64/cbmbasic/compare/352a313...3b9e48d
PR: 297811
Approved by: osa (mentor)
---
lang/cbmbasic/Makefile | 23 ++++++++++++++++-------
lang/cbmbasic/distinfo | 6 +++---
lang/cbmbasic/files/patch-Makefile | 10 +++++-----
3 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/lang/cbmbasic/Makefile b/lang/cbmbasic/Makefile
index ae28e70a1df9..950a511ab4e8 100644
--- a/lang/cbmbasic/Makefile
+++ b/lang/cbmbasic/Makefile
@@ -1,9 +1,8 @@
PORTNAME= cbmbasic
-DISTVERSION= 20221219
-PORTREVISION= 1
+DISTVERSION= 20260403
CATEGORIES= lang
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mce@FreeBSD.org
COMMENT= Portable version of Commodore 64 BASIC
WWW= https://github.com/mist64/cbmbasic
@@ -12,13 +11,23 @@ LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= mist64
-GH_TAGNAME= 352a313
-
-CFLAGS+= -fcommon
+GH_TAGNAME= 3b9e48d370241deded3bc3341ef7c8fc319bbb1f
PLIST_FILES= bin/cbmbasic
+PORTDOCS= README.md
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cbmbasic ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/cbmbasic ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/lang/cbmbasic/distinfo b/lang/cbmbasic/distinfo
index c9cc9929ba6e..bca3bfc99d22 100644
--- a/lang/cbmbasic/distinfo
+++ b/lang/cbmbasic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710404570
-SHA256 (mist64-cbmbasic-20221219-352a313_GH0.tar.gz) = b103708e201f446aa5d8ced0c450a1379ff4a2d2e227458c02ee867a2a713f36
-SIZE (mist64-cbmbasic-20221219-352a313_GH0.tar.gz) = 171148
+TIMESTAMP = 1787479105
+SHA256 (mist64-cbmbasic-20260403-3b9e48d370241deded3bc3341ef7c8fc319bbb1f_GH0.tar.gz) = 386a5b73a727b074fef9cd5369fc36efd53195f6c7dc2e991a6b2a0652f8f015
+SIZE (mist64-cbmbasic-20260403-3b9e48d370241deded3bc3341ef7c8fc319bbb1f_GH0.tar.gz) = 171240
diff --git a/lang/cbmbasic/files/patch-Makefile b/lang/cbmbasic/files/patch-Makefile
index f1153ee96805..f27856776e36 100644
--- a/lang/cbmbasic/files/patch-Makefile
+++ b/lang/cbmbasic/files/patch-Makefile
@@ -1,14 +1,14 @@
---- Makefile.orig 2014-12-06 23:57:18 UTC
+--- Makefile.orig 2026-08-23 09:59:25 UTC
+++ Makefile
-@@ -1,10 +1,9 @@
+@@ -1,10 +1,9 @@ OBJS=cbmbasic.o runtime.o plugin.o console.o
OBJS=cbmbasic.o runtime.o plugin.o console.o
--CFLAGS=-Wall -O3
+-CFLAGS+=-Wall -O3
all: cbmbasic
cbmbasic: $(OBJS)
-- $(CC) -o cbmbasic $(OBJS)
-+ $(CC) $(CFLAGS) -o cbmbasic $(OBJS)
+- $(CC) $(LDFLAGS) -o cbmbasic $(OBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o cbmbasic $(OBJS)
clean:
rm -f $(OBJS) cbmbasic