Date: Tue, 16 Sep 2008 22:21:45 +0200 (CEST) From: Wouter <wouter@elmoo.shifd.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/127427: [NEW PORT] games/enygma: A text-based puzzle game Message-ID: <20080916202145.C0622B861@elmoo.shifd.nl> Resent-Message-ID: <200809162040.m8GKe1aV067338@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127427 >Category: ports >Synopsis: [NEW PORT] games/enygma: A text-based puzzle game >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 16 20:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Wouter Reckman >Release: FreeBSD 6.2-RELEASE-p7 i386 >Organization: >Environment: System: FreeBSD elmoo.shifd.nl 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #3: Sun Nov 11 23:00:58 CET 2007 >Description: Enigma is a puzzle game involving falling blocks, exploding bombs, and pushing stuff around. It has elements of Boulderdash and elements of Sokoban, and anybody old enough to remember XOR on the Spectrum will see large elements of that in it. The port and executable have been named 'enygma' to avoid a name collision. WWW: http://www.chiark.greenend.org.uk/~sgtatham/enigma/ Generated with FreeBSD Port Tools 0.77 NOTE: As mentioned, I had to change the name in order to avoid a name-clash. My choice was sort of arbitrary by lack of any good alternative (that I could think of). This change was the least intrusive I could think of, feel free however to change it to something more sensible. >How-To-Repeat: >Fix: --- enygma-1.04.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # enygma # enygma/Makefile # enygma/files # enygma/files/patch-Makefile.in # enygma/files/patch-engine.c # enygma/files/patch-main.c # enygma/files/patch-memory.c # enygma/files/patch-screen.c # enygma/pkg-descr # enygma/pkg-plist # enygma/distinfo # echo c - enygma mkdir -p enygma > /dev/null 2>&1 echo x - enygma/Makefile sed 's/^X//' >enygma/Makefile << 'END-of-enygma/Makefile' X# New ports collection makefile for: enygma X# Date created: 14 September 2008 X# Whom: Wouter Reckman <gennerate@zonnet.nl> X# X# $FreeBSD$ X# X XPORTNAME= enygma XPORTVERSION= 1.04 XCATEGORIES= games XMASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/enigma/ XDISTNAME= enigma-${DISTVERSION} XDIST_SUBDIR= ${PORTNAME} X XMAINTAINER= gennerate@zonnet.nl XCOMMENT= A text-based puzzle game X XGNU_CONFIGURE= yes X X.include <bsd.port.mk> END-of-enygma/Makefile echo c - enygma/files mkdir -p enygma/files > /dev/null 2>&1 echo x - enygma/files/patch-Makefile.in sed 's/^X//' >enygma/files/patch-Makefile.in << 'END-of-enygma/files/patch-Makefile.in' X--- Makefile.in.orig Sun Feb 29 15:42:32 2004 X+++ Makefile.in Mon Sep 15 01:39:29 2008 X@@ -9,10 +9,12 @@ X datadir = @datadir@ X localstatedir = @localstatedir@ X X+PACKAGE_NAME = enygma X+ X CC = @CC@ X CFLAGS = @CFLAGS@ @GCCFLAGS@ -I$(srcdir) -I. \ X- -DLEVELDIR=\"@datadir@/enigma/\" \ X- -DSAVEDIR=\"@localstatedir@/enigma/\" \ X+ -DLEVELDIR=\"@datadir@/$(PACKAGE_NAME)/\" \ X+ -DSAVEDIR=\"@localstatedir@/$(PACKAGE_NAME)/\" \ X @CURSES@ X LDFLAGS = @LDFLAGS@ X LIBS = @LIBS@ X@@ -32,15 +34,15 @@ X $(CC) $(LDFLAGS) -o enigma $(ENIGMA) $(LIBS) X X install: enigma X- $(INSTALL_PROGRAM) enigma $(bindir)/enigma X- -chown root.games $(bindir)/enigma && chmod 2755 $(bindir)/enigma X- #$(INSTALL_DATA) $(srcdir)/enigma.1 $(mandir)/man1/enigma.1 X- mkdir -p $(datadir)/enigma X+ $(INSTALL_PROGRAM) enigma $(bindir)/$(PACKAGE_NAME) X+ -chown root:games $(bindir)/$(PACKAGE_NAME) && chmod 2755 $(bindir)/$(PACKAGE_NAME) X+ #$(INSTALL_DATA) $(srcdir)/enigma.1 $(mandir)/man1/$(PACKAGE_NAME).1 X+ mkdir -p $(datadir)/$(PACKAGE_NAME) X for i in $(srcdir)/levels/*.set $(srcdir)/levels/*.level; do \ X- $(INSTALL_DATA) $$i $(datadir)/enigma; \ X+ $(INSTALL_DATA) $$i $(datadir)/$(PACKAGE_NAME); \ X done X- mkdir -p $(localstatedir)/enigma X- -chown root.games $(localstatedir)/enigma && chmod 2770 $(localstatedir)/enigma X+ mkdir -p $(localstatedir)/$(PACKAGE_NAME) X+ -chown root:games $(localstatedir)/$(PACKAGE_NAME) && chmod 2770 $(localstatedir)/$(PACKAGE_NAME) X X clean: X rm -f *.o enigma END-of-enygma/files/patch-Makefile.in echo x - enygma/files/patch-engine.c sed 's/^X//' >enygma/files/patch-engine.c << 'END-of-enygma/files/patch-engine.c' X--- engine.c.orig Sun Sep 14 23:23:42 2008 X+++ engine.c Sun Sep 14 22:06:32 2008 X@@ -181,7 +181,7 @@ X * process teleporters X */ X if (i == '#') { X- int x, y; X+ int x, y = 0; X X /* X * First find the other teleporter. END-of-enygma/files/patch-engine.c echo x - enygma/files/patch-main.c sed 's/^X//' >enygma/files/patch-main.c << 'END-of-enygma/files/patch-main.c' X--- main.c.orig Sun Sep 14 23:23:51 2008 X+++ main.c Sun Sep 14 22:13:48 2008 X@@ -11,6 +11,7 @@ X X #include <stdio.h> X #include <stdlib.h> X+#include <string.h> X X #include "enigma.h" X X@@ -131,7 +132,7 @@ X char *fname; X char *sequence; X gamestate **movie; X- int nframes; X+ int nframes = 0; X int frame; X char msg[80]; X int km; END-of-enygma/files/patch-main.c echo x - enygma/files/patch-memory.c sed 's/^X//' >enygma/files/patch-memory.c << 'END-of-enygma/files/patch-memory.c' X--- memory.c.orig Sun Sep 14 23:24:09 2008 X+++ memory.c Sun Sep 14 21:58:40 2008 X@@ -12,6 +12,7 @@ X #include <stdio.h> X #include <stdlib.h> X #include <assert.h> X+#include <string.h> X X #include "enigma.h" X END-of-enygma/files/patch-memory.c echo x - enygma/files/patch-screen.c sed 's/^X//' >enygma/files/patch-screen.c << 'END-of-enygma/files/patch-screen.c' X--- screen.c.orig Sun Sep 14 23:24:17 2008 X+++ screen.c Sun Sep 14 22:01:21 2008 X@@ -13,6 +13,7 @@ X */ X X #include <stdio.h> X+#include <string.h> X #ifdef CURSES_HDR X # include CURSES_HDR X #else END-of-enygma/files/patch-screen.c echo x - enygma/pkg-descr sed 's/^X//' >enygma/pkg-descr << 'END-of-enygma/pkg-descr' XEnigma is a puzzle game involving falling blocks, exploding bombs, and pushing Xstuff around. It has elements of Boulderdash and elements of Sokoban, and Xanybody old enough to remember XOR on the Spectrum will see large elements of Xthat in it. XThe port and executable have been named 'enygma' to avoid a name collision. X XWWW: http://www.chiark.greenend.org.uk/~sgtatham/enigma/ END-of-enygma/pkg-descr echo x - enygma/pkg-plist sed 's/^X//' >enygma/pkg-plist << 'END-of-enygma/pkg-plist' Xbin/enygma X%%DATADIR%%/original.set X%%DATADIR%%/original01.level X%%DATADIR%%/original02.level X%%DATADIR%%/original03.level X%%DATADIR%%/original04.level X%%DATADIR%%/original05.level X%%DATADIR%%/original06.level X%%DATADIR%%/original07.level X%%DATADIR%%/original08.level X%%DATADIR%%/original09.level X%%DATADIR%%/original10.level X%%DATADIR%%/original11.level X%%DATADIR%%/original12.level X@dirrm %%DATADIR%% X@exec mkdir -p %D/var/enygma X@exec chgrp games %D/var/enygma X@exec chmod 2770 %D/var/enygma X@dirrm var/enygma END-of-enygma/pkg-plist echo x - enygma/distinfo sed 's/^X//' >enygma/distinfo << 'END-of-enygma/distinfo' XMD5 (enygma/enigma-1.04.tar.gz) = a54ee9ae40dae781560a3c2b1ce8f45d XSHA256 (enygma/enigma-1.04.tar.gz) = cf022a7809f6c56ce96204d97b38ad4ca2929ada75a88188e4bb989e31ef6b48 XSIZE (enygma/enigma-1.04.tar.gz) = 42526 END-of-enygma/distinfo exit --- enygma-1.04.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080916202145.C0622B861>