1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

XorGramana is a maze based logical puzzle game where you must escape

each maze by arranging letters to form pre-defined words. XorGramana
is based upon the game Xor which appeared in the early 1990's on
8bit home computers. XorGramana implements a version of Xor too.

WWW:	http://www.jwm-art.net/XorGramana/
This commit is contained in:
Dmitry Marakasov 2009-04-02 23:45:10 +00:00
parent 2e36f107a0
commit cad7bd51e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231503
6 changed files with 254 additions and 0 deletions

View File

@ -984,6 +984,7 @@
SUBDIR += xoids
SUBDIR += xoj
SUBDIR += xonix
SUBDIR += xorgramana
SUBDIR += xosmulti
SUBDIR += xpacman
SUBDIR += xpanex

42
games/xorgramana/Makefile Normal file
View File

@ -0,0 +1,42 @@
# New ports collection makefile for: xorgramana
# Date created: 27 Mar 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xorgramana
PORTVERSION= 0.0.8
CATEGORIES= games
MASTER_SITES= http://www.jwm-art.net/XorGramana/ \
http://mirror.amdmi3.ru/
DISTNAME= XorGramana-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Logic word puzzle game set inside a series of mazes
USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl image
USE_GL= glu
ALL_TARGET= ${PORTNAME}
PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (XorGramana-0.0.8.tar.bz2) = 24cced5953ea9331f580bc5e6ebf4e87
SHA256 (XorGramana-0.0.8.tar.bz2) = 669dfd3f2d58663374a4c6df9bd2faf5164c8fad6c0fc816d8b50ef8976239df
SIZE (XorGramana-0.0.8.tar.bz2) = 441460

View File

@ -0,0 +1,40 @@
--- Makefile.orig 2009-04-01 17:46:11.000000000 +0400
+++ Makefile 2009-04-02 20:31:54.000000000 +0400
@@ -1,13 +1,13 @@
-PREFIX=/usr/local/
-BINDIR=$(PREFIX)bin/
-SHAREDIR=$(PREFIX)share/XorGramana/
-MAPDIR=$(SHAREDIR)maps/
+PREFIX?=/usr/local
+BINDIR=$(PREFIX)/bin
+SHAREDIR=$(PREFIX)/share/xorgramana/data
+MAPDIR=$(SHAREDIR)/maps
-SDL_CFLAGS := $(shell sdl-config --cflags)
-SDL_LDFLAGS := $(shell sdl-config --libs)
+SDL_CFLAGS := $(shell ${SDL_CONFIG} --cflags)
+SDL_LDFLAGS := $(shell ${SDL_CONFIG} --libs)
-CFLAGS := -Wall -g2 $(SDL_CFLAGS) -lGLU -lSDL_image -DDATADIR=\"$(SHAREDIR)\"
+CFLAGS += -Wall $(SDL_CFLAGS) -DDATADIR=\"$(SHAREDIR)\"
# -DPLAYER_XY_DEBUG
# -DMAP_DEBUG
@@ -23,14 +23,14 @@
PROG := xorgramana
-CC := gcc
+CC ?= gcc
SRC := $(wildcard *.c)
OBJS := $(patsubst %.c, %.o, $(SRC))
HEADERS:= $(wildcard *.h)
$(PROG): $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(SDL_LDFLAGS)
+ $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(SDL_LDFLAGS) -lGLU -lSDL_image
%.o : %.c $(HEADERS)
$(CC) $(CFLAGS) -c $<

View File

@ -0,0 +1,6 @@
XorGramana is a maze based logical puzzle game where you must escape
each maze by arranging letters to form pre-defined words. XorGramana
is based upon the game Xor which appeared in the early 1990's on
8bit home computers. XorGramana implements a version of Xor too.
WWW: http://www.jwm-art.net/XorGramana/

162
games/xorgramana/pkg-plist Normal file
View File

@ -0,0 +1,162 @@
bin/xorgramana
%%DATADIR%%/GFX/0.png
%%DATADIR%%/GFX/1.png
%%DATADIR%%/GFX/2.png
%%DATADIR%%/GFX/2/edge3_b.png
%%DATADIR%%/GFX/2/edge3_l.png
%%DATADIR%%/GFX/2/edge3_r.png
%%DATADIR%%/GFX/2/edge3_t.png
%%DATADIR%%/GFX/2/floor3.png
%%DATADIR%%/GFX/2/wall3.png
%%DATADIR%%/GFX/3.png
%%DATADIR%%/GFX/3/edge2_b.png
%%DATADIR%%/GFX/3/edge2_l.png
%%DATADIR%%/GFX/3/edge2_r.png
%%DATADIR%%/GFX/3/edge2_t.png
%%DATADIR%%/GFX/3/floor2.png
%%DATADIR%%/GFX/3/wall2.png
%%DATADIR%%/GFX/4.png
%%DATADIR%%/GFX/5.png
%%DATADIR%%/GFX/6.png
%%DATADIR%%/GFX/7.png
%%DATADIR%%/GFX/8.png
%%DATADIR%%/GFX/9.png
%%DATADIR%%/GFX/a.png
%%DATADIR%%/GFX/b.png
%%DATADIR%%/GFX/blank.png
%%DATADIR%%/GFX/box_blank.png
%%DATADIR%%/GFX/c.png
%%DATADIR%%/GFX/d.png
%%DATADIR%%/GFX/dot.png
%%DATADIR%%/GFX/e.png
%%DATADIR%%/GFX/edge1_b.png
%%DATADIR%%/GFX/edge1_l.png
%%DATADIR%%/GFX/edge1_r.png
%%DATADIR%%/GFX/edge1_t.png
%%DATADIR%%/GFX/edge2_b.png
%%DATADIR%%/GFX/edge2_l.png
%%DATADIR%%/GFX/edge2_r.png
%%DATADIR%%/GFX/edge2_t.png
%%DATADIR%%/GFX/edge3_b.png
%%DATADIR%%/GFX/edge3_l.png
%%DATADIR%%/GFX/edge3_r.png
%%DATADIR%%/GFX/edge3_t.png
%%DATADIR%%/GFX/edge4_b.png
%%DATADIR%%/GFX/edge4_l.png
%%DATADIR%%/GFX/edge4_r.png
%%DATADIR%%/GFX/edge4_t.png
%%DATADIR%%/GFX/edge5_b.png
%%DATADIR%%/GFX/edge5_l.png
%%DATADIR%%/GFX/edge5_r.png
%%DATADIR%%/GFX/edge5_t.png
%%DATADIR%%/GFX/edge6_b.png
%%DATADIR%%/GFX/edge6_l.png
%%DATADIR%%/GFX/edge6_r.png
%%DATADIR%%/GFX/edge6_t.png
%%DATADIR%%/GFX/edge7_b.png
%%DATADIR%%/GFX/edge7_l.png
%%DATADIR%%/GFX/edge7_r.png
%%DATADIR%%/GFX/edge7_t.png
%%DATADIR%%/GFX/exit.png
%%DATADIR%%/GFX/exit_open.png
%%DATADIR%%/GFX/explode01.png
%%DATADIR%%/GFX/explode02.png
%%DATADIR%%/GFX/explode03.png
%%DATADIR%%/GFX/explode04.png
%%DATADIR%%/GFX/explode05.png
%%DATADIR%%/GFX/explode_h.png
%%DATADIR%%/GFX/explode_v.png
%%DATADIR%%/GFX/f.png
%%DATADIR%%/GFX/floor1.png
%%DATADIR%%/GFX/floor2.png
%%DATADIR%%/GFX/floor3.png
%%DATADIR%%/GFX/floor4.png
%%DATADIR%%/GFX/floor5.png
%%DATADIR%%/GFX/floor6.png
%%DATADIR%%/GFX/floor7.png
%%DATADIR%%/GFX/g.png
%%DATADIR%%/GFX/grav_d.png
%%DATADIR%%/GFX/grav_l.png
%%DATADIR%%/GFX/grav_r.png
%%DATADIR%%/GFX/grav_u.png
%%DATADIR%%/GFX/h-field.png
%%DATADIR%%/GFX/h.png
%%DATADIR%%/GFX/hard_push_d.png
%%DATADIR%%/GFX/hard_push_l.png
%%DATADIR%%/GFX/hard_push_r.png
%%DATADIR%%/GFX/hard_push_u.png
%%DATADIR%%/GFX/hash.png
%%DATADIR%%/GFX/i.png
%%DATADIR%%/GFX/j.png
%%DATADIR%%/GFX/k.png
%%DATADIR%%/GFX/l.png
%%DATADIR%%/GFX/line-b.png
%%DATADIR%%/GFX/line-bl.png
%%DATADIR%%/GFX/line-br.png
%%DATADIR%%/GFX/line-l.png
%%DATADIR%%/GFX/line-r.png
%%DATADIR%%/GFX/line-t.png
%%DATADIR%%/GFX/line-tl.png
%%DATADIR%%/GFX/line-tr.png
%%DATADIR%%/GFX/m.png
%%DATADIR%%/GFX/map.png
%%DATADIR%%/GFX/mask.png
%%DATADIR%%/GFX/movements.xcf
%%DATADIR%%/GFX/n.png
%%DATADIR%%/GFX/o.png
%%DATADIR%%/GFX/p.png
%%DATADIR%%/GFX/push_d.png
%%DATADIR%%/GFX/push_l.png
%%DATADIR%%/GFX/push_r.png
%%DATADIR%%/GFX/push_u.png
%%DATADIR%%/GFX/q.png
%%DATADIR%%/GFX/r.png
%%DATADIR%%/GFX/s.png
%%DATADIR%%/GFX/space.png
%%DATADIR%%/GFX/star.png
%%DATADIR%%/GFX/t.png
%%DATADIR%%/GFX/teleport.png
%%DATADIR%%/GFX/u.png
%%DATADIR%%/GFX/v-field.png
%%DATADIR%%/GFX/v.png
%%DATADIR%%/GFX/w.png
%%DATADIR%%/GFX/wall1.png
%%DATADIR%%/GFX/wall2.png
%%DATADIR%%/GFX/wall3.png
%%DATADIR%%/GFX/wall4.png
%%DATADIR%%/GFX/wall5.png
%%DATADIR%%/GFX/wall6.png
%%DATADIR%%/GFX/wall7.png
%%DATADIR%%/GFX/x.png
%%DATADIR%%/GFX/y.png
%%DATADIR%%/GFX/z.png
%%DATADIR%%/data/maps/1.txt
%%DATADIR%%/data/maps/2.txt
%%DATADIR%%/data/maps/3.txt
%%DATADIR%%/data/maps/4.txt
%%DATADIR%%/data/maps/5.txt
%%DATADIR%%/data/maps/6.txt
%%DATADIR%%/data/maps/7.txt
%%DATADIR%%/data/maps/8.txt
%%DATADIR%%/data/xormaps/1.txt
%%DATADIR%%/data/xormaps/10.txt
%%DATADIR%%/data/xormaps/11.txt
%%DATADIR%%/data/xormaps/12.txt
%%DATADIR%%/data/xormaps/13.txt
%%DATADIR%%/data/xormaps/14.txt
%%DATADIR%%/data/xormaps/15.txt
%%DATADIR%%/data/xormaps/2.txt
%%DATADIR%%/data/xormaps/3.txt
%%DATADIR%%/data/xormaps/4.txt
%%DATADIR%%/data/xormaps/5.txt
%%DATADIR%%/data/xormaps/6.txt
%%DATADIR%%/data/xormaps/7.txt
%%DATADIR%%/data/xormaps/8.txt
%%DATADIR%%/data/xormaps/9.txt
@dirrm %%DATADIR%%/data/xormaps
@dirrm %%DATADIR%%/data/maps
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%/GFX/3
@dirrm %%DATADIR%%/GFX/2
@dirrm %%DATADIR%%/GFX
@dirrm %%DATADIR%%