FreeBSD Bugzilla – Attachment 247034 Details for
Bug 275752
[NEW PORT] games/glkterm - curses.h implementation of the Glk API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ports patch
0001-feat-add-glkterm.patch (text/plain), 3.83 KB, created by
mms
on 2023-12-13 20:52:11 UTC
(
hide
)
Description:
ports patch
Filename:
MIME Type:
Creator:
mms
Created:
2023-12-13 20:52:11 UTC
Size:
3.83 KB
patch
obsolete
>From c9c63048175ec038977795a38522958f98c76be8 Mon Sep 17 00:00:00 2001 >From: mms <ports@sapka.me> >Date: Wed, 13 Dec 2023 15:00:44 +0100 >Subject: [PATCH] feat: add glkterm > >--- > games/glkterm/Makefile | 34 ++++++++++++++++++++++++++++++ > games/glkterm/distinfo | 5 +++++ > games/glkterm/files/patch-Makefile | 13 ++++++++++++ > games/glkterm/pkg-descr | 7 ++++++ > 4 files changed, 59 insertions(+) > create mode 100644 games/glkterm/Makefile > create mode 100644 games/glkterm/distinfo > create mode 100644 games/glkterm/files/patch-Makefile > create mode 100644 games/glkterm/pkg-descr > >diff --git a/games/glkterm/Makefile b/games/glkterm/Makefile >new file mode 100644 >index 000000000..812894b1d >--- /dev/null >+++ b/games/glkterm/Makefile >@@ -0,0 +1,34 @@ >+PORTNAME= glkterm >+DISTVERSION= 1.0.4 >+DISTFILES= ${PORTNAME}-${DISTVERSION}.tar.gz >+CATEGORIES= games >+ >+DISTVERSIONPREFIX= ${PORTNAME}- >+USE_GITHUB= yes >+GH_ACCOUNT= erkyrath >+ >+MAINTAINER= ports@sapka.me >+COMMENT= curses.h implementation of the Glk API >+WWW= https://eblong.com/zarf/glk/ >+ >+PLIST_FILES= /usr/local/lib/libglkterm.a \ >+ /usr/local/include/gi_dispa.h \ >+ /usr/local/include/gi_blorb.h \ >+ /usr/local/include/glk.h \ >+ /usr/local/include/glkstart.h \ >+ /usr/local/include/glkterm.h \ >+ /usr/local/include/gtoption.h \ >+ /usr/local/include/gtw_blnk.h \ >+ /usr/local/include/gtw_buf.h \ >+ /usr/local/include/gtw_grid.h \ >+ /usr/local/include/gtw_pair.h \ >+ /usr/local/include/Make.glkterm >+ >+LICENSE= MIT >+ >+do-install: >+ ${INSTALL_DATA} ${WRKSRC}/libglkterm.a ${STAGEDIR}${PREFIX}/lib/ >+ ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/ >+ ${INSTALL_DATA} ${WRKSRC}/Make.glkterm ${STAGEDIR}${PREFIX}/include/ >+ >+.include <bsd.port.mk> >diff --git a/games/glkterm/distinfo b/games/glkterm/distinfo >new file mode 100644 >index 000000000..449cc1f29 >--- /dev/null >+++ b/games/glkterm/distinfo >@@ -0,0 +1,5 @@ >+TIMESTAMP = 1702461756 >+SHA256 (glkterm-1.0.4.tar.gz) = 9f175e16d5314c545955395ca230f7d122eca086101d23e60bd77ff1d5da0866 >+SIZE (glkterm-1.0.4.tar.gz) = 123489 >+SHA256 (erkyrath-glkterm-glkterm-1.0.4_GH0.tar.gz) = 9f175e16d5314c545955395ca230f7d122eca086101d23e60bd77ff1d5da0866 >+SIZE (erkyrath-glkterm-glkterm-1.0.4_GH0.tar.gz) = 123489 >diff --git a/games/glkterm/files/patch-Makefile b/games/glkterm/files/patch-Makefile >new file mode 100644 >index 000000000..8457b76e4 >--- /dev/null >+++ b/games/glkterm/files/patch-Makefile >@@ -0,0 +1,13 @@ >+--- Makefile.orig 2023-12-13 11:59:51 UTC >++++ Makefile >+@@ -9,8 +9,8 @@ >+ # and glk.h, glkstart.h, and Make.glkterm in the include directory. >+ >+ # Pick a C compiler. >+-#CC = cc >+-CC = gcc -ansi >++CC = cc >++#CC = gcc -ansi >+ >+ # You may need to set directories to pick up the ncurses library. >+ #INCLUDEDIRS = -I/usr/5include >diff --git a/games/glkterm/pkg-descr b/games/glkterm/pkg-descr >new file mode 100644 >index 000000000..0ca19113b >--- /dev/null >+++ b/games/glkterm/pkg-descr >@@ -0,0 +1,7 @@ >+Glulx is a solution to the need for a virtual machine which the Inform compiler can compile to, without the increasingly restrictions of the Z-machine. >+ >+Glulx does this, without much fuss. All arithmetic is 32-bit (although there are opcodes to handle 8-bit and 16-bit memory access.) Input and output are handled through the Glk API (which chops out half the Z-machine opcodes, and most of the complexity of a Z-code interpreter.) Some care has been taken to make the bytecode small, but simplicity and elbow room are considered more important â bytecode is not a majority of the bulk in current Inform games. >+ >+Glkterm is an implementation of the Glk library which runs in a terminal window, using the curses.h library for screen control. >+ >+This porti nstalls libraries and includes some intepreters require for compilation. A separate install of an interpreter (like Glulxe) is needed to run a Glulx game. >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275752
: 247034