mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
Import of Hex.
Hex is a clone of "Puzzle Bobble" for X11 w/ GTK+/Imlib. PR: 13063 Submitted by: Will Andrews <andrews@technologist.com>
This commit is contained in:
parent
9e83383a64
commit
52a5b148a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20699
41
games/hex/Makefile
Normal file
41
games/hex/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: Hex
|
||||
# Version required: 0.0.2
|
||||
# Date created: 9 Aug 1999
|
||||
# Whom: Will Andrews <andrews@technologist.com>
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= hex-0.0.2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.nott.ac.uk/~psystrj/ \
|
||||
http://www.psn.net/~andrews/dist/
|
||||
|
||||
MAINTAINER= andrews@technologist.com
|
||||
|
||||
LIB_DEPENDS= Imlib.4:${PORTSDIR}/graphics/imlib \
|
||||
gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
||||
|
||||
USE_X_PREFIX= YES
|
||||
|
||||
USE_GMAKE= YES
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${X11BASE}/share/hex
|
||||
@${MKDIR} ${X11BASE}/share/hex/levels
|
||||
@${MKDIR} ${X11BASE}/share/hex/graphics
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/hex ${X11BASE}/bin/hex
|
||||
@${INSTALL_DATA} ${WRKSRC}/HISTORY ${X11BASE}/share/hex/HISTORY
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${X11BASE}/share/hex/README
|
||||
@${INSTALL_DATA} ${WRKSRC}/TODO ${X11BASE}/share/hex/TODO
|
||||
.for i in 0 1 2 3 4 5 6 7 8
|
||||
@${INSTALL_DATA} ${WRKSRC}/graphics/ball${i}.png \
|
||||
${X11BASE}/share/hex/graphics/ball${i}.png
|
||||
.endfor
|
||||
@${INSTALL_DATA} ${WRKSRC}/levels/Level1 \
|
||||
${X11BASE}/share/hex/levels/Level1
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/hex/distinfo
Normal file
1
games/hex/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (hex-0.0.2.tar.gz) = 13191ef9192c3f1641b009b23cb8ebe3
|
11
games/hex/files/patch-aa
Normal file
11
games/hex/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- hex.c Wed Aug 4 19:36:00 1999
|
||||
+++ hex.c.new Mon Aug 9 23:02:44 1999
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
-#define LEVELPATH "./levels/"
|
||||
+#define LEVELPATH "/usr/X11R6/share/hex/levels/"
|
||||
|
||||
#define XSIZE 8
|
||||
#define YSIZE 12
|
10
games/hex/files/patch-ab
Normal file
10
games/hex/files/patch-ab
Normal file
@ -0,0 +1,10 @@
|
||||
--- hex.h Fri Aug 6 17:27:05 1999
|
||||
+++ hex.h.new Mon Aug 9 23:10:17 1999
|
||||
@@ -1,5 +1,5 @@
|
||||
-#define GRAPHICPATH "./graphics/"
|
||||
-#define LEVELPATH "./levels/"
|
||||
+#define GRAPHICPATH "/usr/X11R6/share/hex/graphics/"
|
||||
+#define LEVELPATH "/usr/X11R6/share/hex/levels/"
|
||||
|
||||
#define XSIZE 8
|
||||
#define YSIZE 12 // add 1 for the ceiling line
|
21
games/hex/files/patch-ac
Normal file
21
games/hex/files/patch-ac
Normal file
@ -0,0 +1,21 @@
|
||||
--- Makefile.orig Fri Aug 13 20:42:49 1999
|
||||
+++ Makefile Fri Aug 13 20:43:18 1999
|
||||
@@ -1,4 +1,4 @@
|
||||
-CC = gcc -Wall -O6 -g
|
||||
+#CC = gcc -Wall -O6 -g
|
||||
|
||||
SRCS = main.c levels.c grid.c player.c touching.c gtkstuff.c plot.c graphics.c
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
@@ -7,10 +7,10 @@
|
||||
all: hex
|
||||
|
||||
.c.o:
|
||||
- $(CC) `gtk-config --cflags` -c $*.c -o $*.o
|
||||
+ $(CC) $(CFLAGS) `gtk12-config --cflags` -c $*.c -o $*.o
|
||||
|
||||
hex: $(OBJS)
|
||||
- $(CC) $(LIBS) `gtk-config --libs` $(OBJS) -o $@
|
||||
+ $(CC) $(LIBS) `gtk12-config --libs` $(OBJS) -o $@
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o hex
|
1
games/hex/pkg-comment
Normal file
1
games/hex/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Clone of "Puzzle Bobble" for X11 that uses GTK/Imlib
|
7
games/hex/pkg-descr
Normal file
7
games/hex/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Hex is a clone of "Puzzle Bobble". It is currently in a rather
|
||||
developmental stage, and needs some bugtesting, so unless you
|
||||
are a Puzzle Bobble diehard, this game probably isn't for you.
|
||||
|
||||
WWW: http://www.nott.ac.uk/~psystrj/hex.html
|
||||
|
||||
- Will <andrews@technologist.com>
|
17
games/hex/pkg-plist
Normal file
17
games/hex/pkg-plist
Normal file
@ -0,0 +1,17 @@
|
||||
bin/hex
|
||||
share/hex/levels/Level1
|
||||
share/hex/graphics/ball0.png
|
||||
share/hex/graphics/ball1.png
|
||||
share/hex/graphics/ball2.png
|
||||
share/hex/graphics/ball3.png
|
||||
share/hex/graphics/ball4.png
|
||||
share/hex/graphics/ball5.png
|
||||
share/hex/graphics/ball6.png
|
||||
share/hex/graphics/ball7.png
|
||||
share/hex/graphics/ball8.png
|
||||
share/hex/README
|
||||
share/hex/TODO
|
||||
share/hex/HISTORY
|
||||
@dirrm share/hex/levels
|
||||
@dirrm share/hex/graphics
|
||||
@dirrm share/hex
|
Loading…
Reference in New Issue
Block a user