View | Details | Raw Unified | Return to bug 275752
Collapse All | Expand All

(-)b/games/glkterm/Makefile (+34 lines)
Added Link Here
1
PORTNAME=	glkterm
2
DISTVERSION=	1.0.4
3
DISTFILES=	${PORTNAME}-${DISTVERSION}.tar.gz
4
CATEGORIES=	games
5
6
DISTVERSIONPREFIX= ${PORTNAME}-
7
USE_GITHUB=     yes
8
GH_ACCOUNT=     erkyrath
9
10
MAINTAINER=	ports@sapka.me
11
COMMENT=	curses.h implementation of the Glk API 
12
WWW=		https://eblong.com/zarf/glk/
13
14
PLIST_FILES=	/usr/local/lib/libglkterm.a \
15
		/usr/local/include/gi_dispa.h \
16
		/usr/local/include/gi_blorb.h \
17
		/usr/local/include/glk.h \
18
		/usr/local/include/glkstart.h \
19
		/usr/local/include/glkterm.h \
20
		/usr/local/include/gtoption.h \
21
		/usr/local/include/gtw_blnk.h \
22
		/usr/local/include/gtw_buf.h \
23
		/usr/local/include/gtw_grid.h \
24
		/usr/local/include/gtw_pair.h \
25
		/usr/local/include/Make.glkterm
26
27
LICENSE=        MIT
28
29
do-install:
30
	${INSTALL_DATA} ${WRKSRC}/libglkterm.a ${STAGEDIR}${PREFIX}/lib/
31
	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/
32
	${INSTALL_DATA} ${WRKSRC}/Make.glkterm ${STAGEDIR}${PREFIX}/include/
33
34
.include <bsd.port.mk>
(-)b/games/glkterm/distinfo (+5 lines)
Added Link Here
1
TIMESTAMP = 1702461756
2
SHA256 (glkterm-1.0.4.tar.gz) = 9f175e16d5314c545955395ca230f7d122eca086101d23e60bd77ff1d5da0866
3
SIZE (glkterm-1.0.4.tar.gz) = 123489
4
SHA256 (erkyrath-glkterm-glkterm-1.0.4_GH0.tar.gz) = 9f175e16d5314c545955395ca230f7d122eca086101d23e60bd77ff1d5da0866
5
SIZE (erkyrath-glkterm-glkterm-1.0.4_GH0.tar.gz) = 123489
(-)b/games/glkterm/files/patch-Makefile (+13 lines)
Added Link Here
1
--- Makefile.orig	2023-12-13 11:59:51 UTC
2
+++ Makefile
3
@@ -9,8 +9,8 @@
4
 # and glk.h, glkstart.h, and Make.glkterm in the include directory.
5
 
6
 # Pick a C compiler.
7
-#CC = cc
8
-CC = gcc -ansi
9
+CC = cc
10
+#CC = gcc -ansi
11
 
12
 # You may need to set directories to pick up the ncurses library.
13
 #INCLUDEDIRS = -I/usr/5include
(-)b/games/glkterm/pkg-descr (-1 / +7 lines)
Added Link Here
0
- 
1
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.
2
3
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.
4
5
Glkterm is an implementation of the Glk library which runs in a terminal window, using the curses.h library for screen control.
6
7
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.

Return to bug 275752