diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-08-14 11:52:28 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-08-14 11:52:28 +0800 |
commit | 345a07aae402679b05df122d59b8a40363051ff5 (patch) | |
tree | 7a0a69238f2591ad59ea069a8b62e697467b2db2 /games | |
parent | b9efa4250f4a3dacc5102f3692b28efbf9cc4446 (diff) | |
download | freebsd-ports-gnome-345a07aae402679b05df122d59b8a40363051ff5.tar.gz freebsd-ports-gnome-345a07aae402679b05df122d59b8a40363051ff5.tar.zst freebsd-ports-gnome-345a07aae402679b05df122d59b8a40363051ff5.zip |
Import of Hex.
Hex is a clone of "Puzzle Bobble" for X11 w/ GTK+/Imlib.
PR: 13063
Submitted by: Will Andrews <andrews@technologist.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/hex/Makefile | 41 | ||||
-rw-r--r-- | games/hex/distinfo | 1 | ||||
-rw-r--r-- | games/hex/files/patch-aa | 11 | ||||
-rw-r--r-- | games/hex/files/patch-ab | 10 | ||||
-rw-r--r-- | games/hex/files/patch-ac | 21 | ||||
-rw-r--r-- | games/hex/pkg-comment | 1 | ||||
-rw-r--r-- | games/hex/pkg-descr | 7 | ||||
-rw-r--r-- | games/hex/pkg-plist | 17 |
8 files changed, 109 insertions, 0 deletions
diff --git a/games/hex/Makefile b/games/hex/Makefile new file mode 100644 index 000000000000..c6ecdb1f6a5f --- /dev/null +++ b/games/hex/Makefile @@ -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> diff --git a/games/hex/distinfo b/games/hex/distinfo new file mode 100644 index 000000000000..f2d29f47c173 --- /dev/null +++ b/games/hex/distinfo @@ -0,0 +1 @@ +MD5 (hex-0.0.2.tar.gz) = 13191ef9192c3f1641b009b23cb8ebe3 diff --git a/games/hex/files/patch-aa b/games/hex/files/patch-aa new file mode 100644 index 000000000000..6d54475b4816 --- /dev/null +++ b/games/hex/files/patch-aa @@ -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 diff --git a/games/hex/files/patch-ab b/games/hex/files/patch-ab new file mode 100644 index 000000000000..747fae578649 --- /dev/null +++ b/games/hex/files/patch-ab @@ -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 diff --git a/games/hex/files/patch-ac b/games/hex/files/patch-ac new file mode 100644 index 000000000000..ef00d2dd9927 --- /dev/null +++ b/games/hex/files/patch-ac @@ -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 diff --git a/games/hex/pkg-comment b/games/hex/pkg-comment new file mode 100644 index 000000000000..e6046548257f --- /dev/null +++ b/games/hex/pkg-comment @@ -0,0 +1 @@ +Clone of "Puzzle Bobble" for X11 that uses GTK/Imlib diff --git a/games/hex/pkg-descr b/games/hex/pkg-descr new file mode 100644 index 000000000000..b8ac681c6cf3 --- /dev/null +++ b/games/hex/pkg-descr @@ -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> diff --git a/games/hex/pkg-plist b/games/hex/pkg-plist new file mode 100644 index 000000000000..58d0f267b5f2 --- /dev/null +++ b/games/hex/pkg-plist @@ -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 |