diff options
author | sakamoto <sakamoto@pkgsrc.org> | 1999-12-14 01:47:53 +0000 |
---|---|---|
committer | sakamoto <sakamoto@pkgsrc.org> | 1999-12-14 01:47:53 +0000 |
commit | 30e276357a8a3776d71d05b7a3b212b4fc69ad33 (patch) | |
tree | cf62ba8c57a414fcb7e9966686ac5c8e469c7a16 /games | |
parent | 1368a3b410fbb74af1696f6eb123799daf59be75 (diff) | |
download | pkgsrc-30e276357a8a3776d71d05b7a3b212b4fc69ad33.tar.gz |
Import FreeBSD's "xemeraldia" port:
A game of breaking blocks
Diffstat (limited to 'games')
-rw-r--r-- | games/xemeraldia/Makefile | 28 | ||||
-rw-r--r-- | games/xemeraldia/files/md5 | 2 | ||||
-rw-r--r-- | games/xemeraldia/patches/patch-aa | 19 | ||||
-rw-r--r-- | games/xemeraldia/patches/patch-ab | 15 | ||||
-rw-r--r-- | games/xemeraldia/patches/patch-ac | 11 | ||||
-rw-r--r-- | games/xemeraldia/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/xemeraldia/pkg/DESCR | 13 | ||||
-rw-r--r-- | games/xemeraldia/pkg/PLIST | 6 |
8 files changed, 95 insertions, 0 deletions
diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile new file mode 100644 index 00000000000..fb8cbc2a382 --- /dev/null +++ b/games/xemeraldia/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: xemeraldia +# Version required: 0.31 +# Date created: 22 Mar 1995 +# Whom: asami +# +# $FreeBSD: ports/games/xemeraldia/Makefile,v 1.17 1999/12/10 19:24:55 steve Exp $ +# + +DISTNAME= xemeraldia-0.3 +PKGNAME= xemeraldia-0.31 +CATEGORIES= games +MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/mar/ + +PATCH_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/apr/ +PATCHFILES= xemeraldia-0.3to0.31.patch.gz +PATCH_DIST_STRIP= -p1 + +MAINTAINER= ports@FreeBSD.org + +USE_IMAKE= yes +NO_INSTALL_MANPAGES= yes + +post-install: + @${MKDIR} ${PREFIX}/lib/X11/xemeraldia + @${TOUCH} ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores + @${CHMOD} 666 ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores + +.include <bsd.port.mk> diff --git a/games/xemeraldia/files/md5 b/games/xemeraldia/files/md5 new file mode 100644 index 00000000000..998168efc0e --- /dev/null +++ b/games/xemeraldia/files/md5 @@ -0,0 +1,2 @@ +MD5 (xemeraldia-0.3.tar.gz) = 35c30637ea597ce995d8b51a3d8e4080 +MD5 (xemeraldia-0.3to0.31.patch.gz) = 77287135b5d28d67c1245241dbd6534f diff --git a/games/xemeraldia/patches/patch-aa b/games/xemeraldia/patches/patch-aa new file mode 100644 index 00000000000..237c1811c55 --- /dev/null +++ b/games/xemeraldia/patches/patch-aa @@ -0,0 +1,19 @@ +--- Imakefile.orig Thu Dec 9 19:16:34 1999 ++++ Imakefile Thu Dec 9 19:27:40 1999 +@@ -1,5 +1,4 @@ +-BIN_DIR= /usr/local/bin +-HIGH_SCORE_DIR= /usr/local/lib ++HIGH_SCORE_DIR= ${LIBDIR}/xemeraldia + + /*---------------------------------------------------------------------*/ + +@@ -14,8 +13,7 @@ + #endif + #endif + +-BINDIR=$(BIN_DIR) +-EXTRA_DEFINES = -DHIGH_SCORE_TABLE=\"$(HIGH_SCORE_DIR)/.xemeraldia.scores\"\ ++EXTRA_DEFINES = -DHIGH_SCORE_TABLE=\"$(HIGH_SCORE_DIR)/xemeraldia.scores\"\ + -D__USE_FIXED_PROTOTYPES__ + + HEADERS = games.h graphics.h bitmaps.h diff --git a/games/xemeraldia/patches/patch-ab b/games/xemeraldia/patches/patch-ab new file mode 100644 index 00000000000..95f99eb3790 --- /dev/null +++ b/games/xemeraldia/patches/patch-ab @@ -0,0 +1,15 @@ +--- XEmeraldia.ad.orig Thu Dec 9 19:16:35 1999 ++++ XEmeraldia.ad Thu Dec 9 19:23:20 1999 +@@ -32,9 +32,9 @@ + XEmeraldia*useScoreFile: True + + !!!!! fonts !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +-XEmeraldia*nextBox*Font: -adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-* +-XEmeraldia*buttonBox*Font: -adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-* +-XEmeraldia*dispBox*Font: -adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-* ++XEmeraldia*nextBox*Font: -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-* ++XEmeraldia*buttonBox*Font: -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-* ++XEmeraldia*dispBox*Font: -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-* + + !!!!! controls !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + XEmeraldia*bigBox.baseTranslations: #override \ diff --git a/games/xemeraldia/patches/patch-ac b/games/xemeraldia/patches/patch-ac new file mode 100644 index 00000000000..5e0ab91153c --- /dev/null +++ b/games/xemeraldia/patches/patch-ac @@ -0,0 +1,11 @@ +--- init-graphics.c.orig Mon Mar 20 16:15:38 1995 ++++ init-graphics.c Thu Dec 9 19:50:51 1999 +@@ -50,7 +50,7 @@ + clearScreen (w); + + font = XLoadFont (XtDisplay (w), +- "-*-new century schoolbook-*-*-*-*-20-*-*-*-*-*-*-*"); ++ "-*-new century schoolbook-*-*-*-*-18-*-*-*-*-*-*-*"); + XSetFont (XtDisplay (w), draw_gc, font); + } + diff --git a/games/xemeraldia/pkg/COMMENT b/games/xemeraldia/pkg/COMMENT new file mode 100644 index 00000000000..7f3b67ef342 --- /dev/null +++ b/games/xemeraldia/pkg/COMMENT @@ -0,0 +1 @@ +A game of breaking blocks diff --git a/games/xemeraldia/pkg/DESCR b/games/xemeraldia/pkg/DESCR new file mode 100644 index 00000000000..95a3ad42981 --- /dev/null +++ b/games/xemeraldia/pkg/DESCR @@ -0,0 +1,13 @@ +This is version 0.3 of xemeraldia. + +Drop the blocks. If you drop a square on top of one of the same +color, they (as well as any neighboring blocks of the same color) will +both be shaken by an "impact". The first impact will cause fractures; +the second will cause the block(s) to dissolve. + +You can either use the arrow keys or vi-style (hjkl) keys to move/ +rotate the blocks. `s' or `p' will pause the game, and if your boss +comes along, `q' can be used to avoid an unpleasant confrontation. + +- Satoshi +asami@cs.berkeley.edu diff --git a/games/xemeraldia/pkg/PLIST b/games/xemeraldia/pkg/PLIST new file mode 100644 index 00000000000..f8a764b8ab0 --- /dev/null +++ b/games/xemeraldia/pkg/PLIST @@ -0,0 +1,6 @@ +bin/xemeraldia +@exec mkdir -p %D/lib/X11/xemeraldia +@exec touch -f %D/lib/X11/xemeraldia/xemeraldia.scores +@exec chmod 666 %D/lib/X11/xemeraldia/xemeraldia.scores +@unexec rm -f %D/lib/X11/xemeraldia/xemeraldia.scores +@unexec rmdir %D/lib/X11/xemeraldia |