diff options
author | Will Andrews <will@FreeBSD.org> | 2001-04-07 05:51:42 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-04-07 05:51:42 +0000 |
commit | c00a15fd548af7047799b9984402dcb92ba5bcdf (patch) | |
tree | a52f3e7fbd96d237230cc3bb320ae5c1751b870d | |
parent | 48b2f551aed7b6f9e56b062dbccc425656695375 (diff) | |
download | ports-c00a15fd548af7047799b9984402dcb92ba5bcdf.tar.gz ports-c00a15fd548af7047799b9984402dcb92ba5bcdf.zip |
Notes
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/xrot/Makefile | 30 | ||||
-rw-r--r-- | games/xrot/distinfo | 1 | ||||
-rw-r--r-- | games/xrot/files/patch-Imakefile | 21 | ||||
-rw-r--r-- | games/xrot/files/patch-record.c | 11 | ||||
-rw-r--r-- | games/xrot/pkg-comment | 1 | ||||
-rw-r--r-- | games/xrot/pkg-descr | 12 | ||||
-rw-r--r-- | games/xrot/pkg-install | 9 | ||||
-rw-r--r-- | games/xrot/pkg-plist | 1 |
9 files changed, 87 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 6d4ed547b237..bd18104a1d35 100644 --- a/games/Makefile +++ b/games/Makefile @@ -303,6 +303,7 @@ SUBDIR += xroach SUBDIR += xroads SUBDIR += xrobots + SUBDIR += xrot SUBDIR += xrubik SUBDIR += xscavenger SUBDIR += xscorch diff --git a/games/xrot/Makefile b/games/xrot/Makefile new file mode 100644 index 000000000000..3a56cafc72bc --- /dev/null +++ b/games/xrot/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: xrot +# Date created: Apr 2, 2001 +# Whom: Mark Pulford <mark@kyne.com.au> +# +# $FreeBSD$ +# + +PORTNAME= xrot +PORTVERSION= 1.3.2 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + ftp://ftp.kobe-u.ac.jp/pub/Linux/packages/Vine/VinePlus/1.1/JG-0.9.1/sources/ +MASTER_SITE_SUBDIR= will + +MAINTAINER= mark@kyne.com.au + +WRKSRC= ${WRKDIR}/xrot +USE_IMAKE= yes +NO_INSTALL_MANPAGES= yes + +post-configure: + ${PERL} -pi -e "s@: xrot.man@:@g; s@xrot.man@/dev/null@g" ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xrot ${PREFIX}/bin + ${CHOWN} root.games ${PREFIX}/bin/xrot + ${CHMOD} g+s ${PREFIX}/bin/xrot + ${SH} pkg-install ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/games/xrot/distinfo b/games/xrot/distinfo new file mode 100644 index 000000000000..018e2df6c0a9 --- /dev/null +++ b/games/xrot/distinfo @@ -0,0 +1 @@ +MD5 (xrot-1.3.2.tar.gz) = 1230f2fe9f31db4ac47eac4ffe116db4 diff --git a/games/xrot/files/patch-Imakefile b/games/xrot/files/patch-Imakefile new file mode 100644 index 000000000000..e1f765e79e88 --- /dev/null +++ b/games/xrot/files/patch-Imakefile @@ -0,0 +1,21 @@ +--- Imakefile.orig Sat Jul 4 11:05:00 1998 ++++ Imakefile Fri Apr 6 18:44:24 2001 +@@ -32,8 +32,8 @@ + + # NORECORD = -DNOREC + +-RECORDDIR = /usr/local/games/lib/xrot +-RECORDFILE = xrot_record ++RECORDDIR = /var/games ++RECORDFILE = xrot.scores + + #------ secure RECORD file ------- + +@@ -62,7 +62,6 @@ + + #--------------------------------------------------------------- + +-CC = gcc + DEPLIBS = $(DEPXLIB) + LOCAL_LIBRARIES = $(XLIB) $(XPMLIB) -lm + RECFLAGS = -DRECDIR=\"$(RECORDDIR)\" -DRECFILE=\"$(RECORDFILE)\" diff --git a/games/xrot/files/patch-record.c b/games/xrot/files/patch-record.c new file mode 100644 index 000000000000..5b80fe6a2caa --- /dev/null +++ b/games/xrot/files/patch-record.c @@ -0,0 +1,11 @@ +--- record.c.orig Fri Apr 6 18:36:55 2001 ++++ record.c Fri Apr 6 18:37:03 2001 +@@ -20,7 +20,7 @@ + extern void conv_time(); + + #ifdef SECURE_RECORDFILE +-#define PERM 0644 ++#define PERM 0664 + #else + #define PERM 0666 + #endif diff --git a/games/xrot/pkg-comment b/games/xrot/pkg-comment new file mode 100644 index 000000000000..773b278f9e93 --- /dev/null +++ b/games/xrot/pkg-comment @@ -0,0 +1 @@ +A falling ball puzzle game for X diff --git a/games/xrot/pkg-descr b/games/xrot/pkg-descr new file mode 100644 index 000000000000..47a6a1930269 --- /dev/null +++ b/games/xrot/pkg-descr @@ -0,0 +1,12 @@ +A falling ball puzzle game for X. Rotate the playfield and use gravity +to guide a ball around a maze toward the goal. + +Use right and left cursor keys to rotate the game screen. +Down for less bounce. +Up for jump. +Space for speed up. +Return to restart. +ESC to return to the title. +q to quit. + +Requires PseudoColor (256 colors). diff --git a/games/xrot/pkg-install b/games/xrot/pkg-install new file mode 100644 index 000000000000..fd24c399636d --- /dev/null +++ b/games/xrot/pkg-install @@ -0,0 +1,9 @@ +#!/bin/sh + +FILE="/var/games/xrot.scores" +[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0 + +echo "===> Creating initial high score file $FILE" +touch $FILE +chown root.games $FILE +chmod 664 $FILE diff --git a/games/xrot/pkg-plist b/games/xrot/pkg-plist new file mode 100644 index 000000000000..593719c749a2 --- /dev/null +++ b/games/xrot/pkg-plist @@ -0,0 +1 @@ +bin/xrot |