mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add xrot 1.3.2, a falling ball puzzle game for X.
PR: 26377 Submitted by: Mark Pulford <mark@kyne.com.au>
This commit is contained in:
parent
48b2f551ae
commit
c00a15fd54
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41005
@ -303,6 +303,7 @@
|
||||
SUBDIR += xroach
|
||||
SUBDIR += xroads
|
||||
SUBDIR += xrobots
|
||||
SUBDIR += xrot
|
||||
SUBDIR += xrubik
|
||||
SUBDIR += xscavenger
|
||||
SUBDIR += xscorch
|
||||
|
30
games/xrot/Makefile
Normal file
30
games/xrot/Makefile
Normal file
@ -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>
|
1
games/xrot/distinfo
Normal file
1
games/xrot/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xrot-1.3.2.tar.gz) = 1230f2fe9f31db4ac47eac4ffe116db4
|
21
games/xrot/files/patch-Imakefile
Normal file
21
games/xrot/files/patch-Imakefile
Normal file
@ -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)\"
|
11
games/xrot/files/patch-record.c
Normal file
11
games/xrot/files/patch-record.c
Normal file
@ -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
|
1
games/xrot/pkg-comment
Normal file
1
games/xrot/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A falling ball puzzle game for X
|
12
games/xrot/pkg-descr
Normal file
12
games/xrot/pkg-descr
Normal file
@ -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).
|
9
games/xrot/pkg-install
Normal file
9
games/xrot/pkg-install
Normal file
@ -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
|
1
games/xrot/pkg-plist
Normal file
1
games/xrot/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/xrot
|
Loading…
Reference in New Issue
Block a user