From 828b9d5e00cd6903adc4c3db8f84e53ec17f497e Mon Sep 17 00:00:00 2001 From: Marijn van Vliet Date: Mon, 30 Nov 2009 15:48:32 +0000 Subject: [PATCH] Created a FreeBSD port for Chimara git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@194 ddfedd41-794f-dd11-ae45-00112f111e67 --- freebsd-port/libchimara/Makefile | 25 ++++++++++++++++ freebsd-port/libchimara/distinfo | 3 ++ freebsd-port/libchimara/pkg-descr | 3 ++ freebsd-port/libchimara/pkg-plist | 48 +++++++++++++++++++++++++++++++ player/main.c | 4 +-- 5 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 freebsd-port/libchimara/Makefile create mode 100644 freebsd-port/libchimara/distinfo create mode 100644 freebsd-port/libchimara/pkg-descr create mode 100644 freebsd-port/libchimara/pkg-plist diff --git a/freebsd-port/libchimara/Makefile b/freebsd-port/libchimara/Makefile new file mode 100644 index 0000000..8e8ea0c --- /dev/null +++ b/freebsd-port/libchimara/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: libchimara +# Date created: 30 November 2009 +# Whom: W. M. van Vliet +# +# $FreeBSD$ +# + +PORTNAME= libchimara +PORTVERSION= 0.1 +CATEGORIES= devel +MASTER_SITES= http://lassie.student.utwente.nl/chimara/ +DISTNAME= chimara-0.1 + +MAINTAINER= w.m.vanvliet@student.utwente.nl +COMMENT= A GTK widget that implements the GLK interface for interactive fiction. + +LIB_DEPENDS= libchimara.0:${PORTSDIR}/devel/libchimara \ + gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \ + glib-2.0:${PORTSDIR}/devel/glib20 + +GNU_CONFIGURE= yes +USE_GMAKE= yes + + +.include diff --git a/freebsd-port/libchimara/distinfo b/freebsd-port/libchimara/distinfo new file mode 100644 index 0000000..6179b41 --- /dev/null +++ b/freebsd-port/libchimara/distinfo @@ -0,0 +1,3 @@ +MD5 (chimara-0.1.tar.gz) = 511fa505e6af8f3a07621ac1001d7fe7 +SHA256 (chimara-0.1.tar.gz) = 90923a7af0fe66c179fa4dcfa8968563b1bbba1f8638038dfb98548cf25ca9ca +SIZE (chimara-0.1.tar.gz) = 1252441 diff --git a/freebsd-port/libchimara/pkg-descr b/freebsd-port/libchimara/pkg-descr new file mode 100644 index 0000000..3865fa7 --- /dev/null +++ b/freebsd-port/libchimara/pkg-descr @@ -0,0 +1,3 @@ +This is a GTK widget that implements the GLK interface to play interactive fiction. It means that the widget can load any interpreter plugin that uses GLK to provide a central render for interactive fiction. Many interpreters for popular formats such as Z8 and inform7 are included. + +WWW: http://lassie.student.utwente.nl/chimara diff --git a/freebsd-port/libchimara/pkg-plist b/freebsd-port/libchimara/pkg-plist new file mode 100644 index 0000000..362676c --- /dev/null +++ b/freebsd-port/libchimara/pkg-plist @@ -0,0 +1,48 @@ +bin/chimara +doc/chimara/AUTHORS +doc/chimara/COPYING +doc/chimara/ChangeLog +doc/chimara/INSTALL +doc/chimara/NEWS +doc/chimara/README +include/chimara/libchimara/chimara-glk.h +include/chimara/libchimara/chimara-if.h +include/chimara/libchimara/garglk.h +include/chimara/libchimara/gi_blorb.h +include/chimara/libchimara/glk.h +include/chimara/libchimara/glkstart.h +lib/chimara/first.a +lib/chimara/first.la +lib/chimara/first.so +lib/chimara/frotz.la +lib/chimara/frotz.so +lib/chimara/git.la +lib/chimara/git.so +lib/chimara/glulxe.la +lib/chimara/glulxe.so +lib/chimara/gridtest.a +lib/chimara/gridtest.la +lib/chimara/gridtest.so +lib/chimara/model.a +lib/chimara/model.la +lib/chimara/model.so +lib/chimara/multiwin.a +lib/chimara/multiwin.la +lib/chimara/multiwin.so +lib/chimara/nitfol.la +lib/chimara/nitfol.so +lib/chimara/splittest.a +lib/chimara/splittest.la +lib/chimara/splittest.so +lib/chimara/styletest.a +lib/chimara/styletest.la +lib/chimara/styletest.so +lib/libchimara.a +lib/libchimara.la +lib/libchimara.so.0 +lib/pkgconfig/chimara.pc +lib/pkgconfig/chimara-plugin.pc +@dirrm doc/chimara +@dirrm include/chimara/libchimara +@dirrm include/chimara +@dirrm lib/chimara diff --git a/player/main.c b/player/main.c index b86badd..089fc24 100644 --- a/player/main.c +++ b/player/main.c @@ -81,11 +81,9 @@ create_window(void) const gchar *actions[] = { "game", "", "open", "F7", + "restore", "O", "save", NULL, /* NULL means use stock accelerator */ "quit", NULL, - "hint", "", - "char_input", "", - "char_input2", "", NULL }; const gchar **ptr; -- 2.30.2