FreeBSD Bugzilla – Attachment 90288 Details for
Bug 127427
[NEW PORT] games/enygma: A text-based puzzle game
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
enygma-1.04.shar
enygma-1.04.shar (text/plain), 5.89 KB, created by
Wouter
on 2008-09-16 21:40:01 UTC
(
hide
)
Description:
enygma-1.04.shar
Filename:
MIME Type:
Creator:
Wouter
Created:
2008-09-16 21:40:01 UTC
Size:
5.89 KB
patch
obsolete
># 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
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 Raw
Actions:
View
Attachments on
bug 127427
: 90288