aboutsummaryrefslogtreecommitdiff
path: root/games/xmris
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-09-21 12:42:56 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-09-21 12:42:56 +0000
commitaadb1b67904a3664ec4684356abdddec9c9fb920 (patch)
tree391175e8175e08669defe474c28b526a41624142 /games/xmris
parent6c54fc0fa8f4c8e94f564ea154b1cda8628bd9b5 (diff)
downloadports-aadb1b67904a3664ec4684356abdddec9c9fb920.tar.gz
ports-aadb1b67904a3664ec4684356abdddec9c9fb920.zip
Jean-Marc Zucconi's port of xmris - an X11 based arcade game.
Submitted by: Jean-Marc Zucconi
Notes
Notes: svn path=/head/; revision=106
Diffstat (limited to 'games/xmris')
-rw-r--r--games/xmris/Makefile8
-rw-r--r--games/xmris/pkg-comment1
-rw-r--r--games/xmris/pkg-descr5
-rw-r--r--games/xmris/pkg-plist22
-rw-r--r--games/xmris/scripts/pre-configure20
5 files changed, 56 insertions, 0 deletions
diff --git a/games/xmris/Makefile b/games/xmris/Makefile
new file mode 100644
index 000000000000..188a2b2f4d3b
--- /dev/null
+++ b/games/xmris/Makefile
@@ -0,0 +1,8 @@
+DISTNAME= xmris.4.02
+USE_IMAKE= yes
+MASTER_SITES= ftp://ftp.x.org/R5contrib/
+
+pre-install:
+ @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
+
+.include <bsd.port.mk>
diff --git a/games/xmris/pkg-comment b/games/xmris/pkg-comment
new file mode 100644
index 000000000000..ea7921ffe7f6
--- /dev/null
+++ b/games/xmris/pkg-comment
@@ -0,0 +1 @@
+Xmris: a version of a popular video arcade game for the X Window System.
diff --git a/games/xmris/pkg-descr b/games/xmris/pkg-descr
new file mode 100644
index 000000000000..176777bfec56
--- /dev/null
+++ b/games/xmris/pkg-descr
@@ -0,0 +1,5 @@
+You control a gnome, who can walk around a garden, along paths already
+marked, or create new paths wherever you wish. You also have a ball,
+which can be thrown in the direction you're facing, towards the gnome's
+feet. Points are scored for collecting cherries, killing monsters and
+collecting the prize left when all the monsters have come out of their den.
diff --git a/games/xmris/pkg-plist b/games/xmris/pkg-plist
new file mode 100644
index 000000000000..a0cb6c691bab
--- /dev/null
+++ b/games/xmris/pkg-plist
@@ -0,0 +1,22 @@
+@cd /usr/local
+@owner bin
+@group bin
+@mode 444
+man/man6/xmris.6
+man/man6/xmsit.6
+man/man6/xmred.6
+@chmod a+x %D/man
+@chmod a+x %D/man/man6
+@owner games
+@mode 4755
+bin/xmris
+bin/xmsit
+@mode 755
+bin/xmred
+@cd /usr/X386
+@mode 444
+lib/X11/app-defaults/Xmris
+lib/X11/app-defaults/xmris/alphabet.gdn
+lib/X11/app-defaults/xmris/digits.gdn
+lib/X11/app-defaults/xmris/puzzle.gdn
+lib/X11/app-defaults/xmris/xmred.gdn
diff --git a/games/xmris/scripts/pre-configure b/games/xmris/scripts/pre-configure
new file mode 100644
index 000000000000..6c01b92f1e8c
--- /dev/null
+++ b/games/xmris/scripts/pre-configure
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# X must be running when the scram program creates the bitmaps
+xwd -root >/dev/null
+if [ $? != 0 ]; then
+ echo "X needs to be started to build xmris"
+ exit 1
+fi
+
+mv $3/Imakefile $3/Imakefile.orig
+
+echo "LOCAL=/usr/local" >$3/Imakefile || exit 1;
+
+# remove extra space after \ in continuation lines
+sed -e 's/\\ $/\\/' <$3/Imakefile.orig >>$3/Imakefile || exit 1
+
+echo "CDEBUGFLAGS=-O2" >>$3/Imakefile || exit 1
+echo "MANSUFFIX=6" >>$3/Imakefile || exit 1
+
+exit 0