summaryrefslogtreecommitdiff
path: root/games/xpat2
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-03-06 09:22:37 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-03-06 09:22:37 +0000
commit11151e3b8a71e984938dcbc785c528a93e290f9f (patch)
tree2c76684d1e1ca497abb095d15e14547675cf194f /games/xpat2
parentRemove two files (aptly called "1" and "2"), they are included in the (diff)
Import of the xpat2 port. xpat2 is a collection of solitaire
card games with very well designed cards. Closes PR #2887. Submitted by: Matthew Hunt <mph@pobox.com>
Notes
Notes: svn path=/head/; revision=5886
Diffstat (limited to 'games/xpat2')
-rw-r--r--games/xpat2/Makefile26
-rw-r--r--games/xpat2/distinfo1
-rw-r--r--games/xpat2/files/patch-aa80
-rw-r--r--games/xpat2/pkg-comment1
-rw-r--r--games/xpat2/pkg-descr5
-rw-r--r--games/xpat2/pkg-plist94
6 files changed, 207 insertions, 0 deletions
diff --git a/games/xpat2/Makefile b/games/xpat2/Makefile
new file mode 100644
index 000000000000..a71dda7b452d
--- /dev/null
+++ b/games/xpat2/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: xpat2
+# Version required: 1.04
+# Date created: 5 March 1997
+# Whom: Matthew Hunt <mph@pobox.com>
+#
+# $Id$
+#
+
+DISTNAME= xpat2-1.04
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= games/x11/strategy
+EXTRACT_SUFX= -src.tar.gz
+
+MAINTAINER= mph@pobox.com
+
+USE_X11= yes
+MAN6= xpat2.6
+
+post-install:
+ touch $(PREFIX)/lib/X11/xpat/xpat.log
+ chown games $(PREFIX)/lib/X11/xpat/xpat.log $(PREFIX)/bin/xpat2
+ chmod 4555 $(PREFIX)/bin/xpat2
+
+.include <bsd.port.mk>
+
diff --git a/games/xpat2/distinfo b/games/xpat2/distinfo
new file mode 100644
index 000000000000..5ce5926a7768
--- /dev/null
+++ b/games/xpat2/distinfo
@@ -0,0 +1 @@
+MD5 (xpat2-1.04-src.tar.gz) = 81883b4d6d56c5c4e7a76deac3540097
diff --git a/games/xpat2/files/patch-aa b/games/xpat2/files/patch-aa
new file mode 100644
index 000000000000..6e2eef504ba4
--- /dev/null
+++ b/games/xpat2/files/patch-aa
@@ -0,0 +1,80 @@
+*** src/Imakefile.orig Sat Nov 25 12:55:35 1995
+--- src/Imakefile Wed Mar 5 16:18:39 1997
+***************
+*** 22,29 ****
+ # 4.) specify, if you want sound (must copy the appropriate sound module)
+ # SOUNDOBJ should be one module of X-sound_*.o if USE_SOUND is on, else empty
+ # Note: for X-sound_SUN.o, /dev/audio must have 666 permissions */
+! #define USE_SOUND /* doesn't harm if you don't have a sound card */
+! SOUNDOBJ = X-sound_SUN.o
+
+ # 5.) specify, if you want the antialiased card construction set (SLOW!)
+ #define USE_CARD_CONSTRUCTION
+--- 22,29 ----
+ # 4.) specify, if you want sound (must copy the appropriate sound module)
+ # SOUNDOBJ should be one module of X-sound_*.o if USE_SOUND is on, else empty
+ # Note: for X-sound_SUN.o, /dev/audio must have 666 permissions */
+! #undef USE_SOUND /* doesn't harm if you don't have a sound card */
+! SOUNDOBJ =
+
+ # 5.) specify, if you want the antialiased card construction set (SLOW!)
+ #define USE_CARD_CONSTRUCTION
+***************
+*** 37,49 ****
+ # BINDIR and LIBDIR should be predefined by the templates
+ # BINDIR = /usr/bin/X11
+ # LIBDIR = /usr/lib/X11
+! XPATLIBDIR = /usr/games/lib/xpat
+ APPDEFSDIR = $(LIBDIR)
+! XPATMANDIR = /usr/man/man6
+
+ # This is the name of the log-file, where solved games are stored:
+ # an alternative path would be $(XPATLIBDIR)/xpat.log
+! SCOREFILE = /var/games/xpat.log
+
+
+ # paths for installation in user's home-directory.
+--- 37,49 ----
+ # BINDIR and LIBDIR should be predefined by the templates
+ # BINDIR = /usr/bin/X11
+ # LIBDIR = /usr/lib/X11
+! XPATLIBDIR = $(LIBDIR)/xpat
+ APPDEFSDIR = $(LIBDIR)
+! XPATMANDIR = $(PREFIX)/man/man6
+
+ # This is the name of the log-file, where solved games are stored:
+ # an alternative path would be $(XPATLIBDIR)/xpat.log
+! SCOREFILE = $(XPATLIBDIR)/xpat.log
+
+
+ # paths for installation in user's home-directory.
+***************
+*** 55,60 ****
+--- 55,62 ----
+ XPMLIB = -L$(USRLIBDIR) -lXpm
+ XPMINCLUDE = -I $(INCDIR)
+
++ CFLAGS += -DNO_CUSERID
++
+ # *****************************************************************************
+ # I hope you don't need to change anything below this point
+ # *****************************************************************************
+***************
+*** 181,188 ****
+ chmod 755 $(XPATLIBDIR)/$$f; \
+ done
+ mkdirhier $(XPATMANDIR)
+! cp xpat2.man $(XPATMANDIR)/xpat2.6x
+! chmod 644 $(XPATMANDIR)/xpat2.6x
+
+ ComplexProgramTarget($(MYPROG))
+ InstallAppDefaults(XPat)
+--- 183,190 ----
+ chmod 755 $(XPATLIBDIR)/$$f; \
+ done
+ mkdirhier $(XPATMANDIR)
+! cp xpat2.man $(XPATMANDIR)/xpat2.6
+! chmod 644 $(XPATMANDIR)/xpat2.6
+
+ ComplexProgramTarget($(MYPROG))
+ InstallAppDefaults(XPat)
diff --git a/games/xpat2/pkg-comment b/games/xpat2/pkg-comment
new file mode 100644
index 000000000000..6482251091ca
--- /dev/null
+++ b/games/xpat2/pkg-comment
@@ -0,0 +1 @@
+An X11 solitaire game with 14 variations.
diff --git a/games/xpat2/pkg-descr b/games/xpat2/pkg-descr
new file mode 100644
index 000000000000..9792b1a127fa
--- /dev/null
+++ b/games/xpat2/pkg-descr
@@ -0,0 +1,5 @@
+A solitaire game for X11 that supports 14 different games,
+including Klondike, Free Cell, Spider, Calculation, and Gypsy.
+
+The game features beautifully decorated cards, online help,
+a replay feature, and hints.
diff --git a/games/xpat2/pkg-plist b/games/xpat2/pkg-plist
new file mode 100644
index 000000000000..91a0a67ef32b
--- /dev/null
+++ b/games/xpat2/pkg-plist
@@ -0,0 +1,94 @@
+lib/X11/xpat/xpat.log
+lib/X11/xpat/XPat.ad.Motif
+lib/X11/xpat/XPat.ad.Xaw
+lib/X11/xpat/XPat.ad.Xlib
+lib/X11/xpat/XPat.ad.Xview
+lib/X11/xpat/audio/cannotsave.au
+lib/X11/xpat/audio/giveup.au
+lib/X11/xpat/audio/goodbye.au
+lib/X11/xpat/audio/success.au
+lib/X11/xpat/default/Background.xpm
+lib/X11/xpat/default/Cardback1.xpm
+lib/X11/xpat/default/Cardback2.xpm
+lib/X11/xpat/default/Cardback3.xpm
+lib/X11/xpat/default/Cardback4.xpm
+lib/X11/xpat/default/Cardback5.xpm
+lib/X11/xpat/default/Pictures.xpm
+lib/X11/xpat/default/Ranks.xpm
+lib/X11/xpat/default/Suits.xpm
+lib/X11/xpat/default/Cards.conf
+lib/X11/xpat/french/README.french
+lib/X11/xpat/french/XPat
+lib/X11/xpat/french/aidBakersDozen
+lib/X11/xpat/french/aidCalculation
+lib/X11/xpat/french/aidMidnightOil
+lib/X11/xpat/french/aidMonteCarlo
+lib/X11/xpat/french/aide.Canfield
+lib/X11/xpat/french/aide.Cotillion
+lib/X11/xpat/french/aide.Delight
+lib/X11/xpat/french/aide.FreeCell
+lib/X11/xpat/french/aide.Gypsy
+lib/X11/xpat/french/aide.Klondike
+lib/X11/xpat/french/aide.Michaels
+lib/X11/xpat/french/aide.Seahaven
+lib/X11/xpat/french/aide.Spider
+lib/X11/xpat/french/aide.touches
+lib/X11/xpat/french/aidmodCanfield
+lib/X11/xpat/french/keys
+lib/X11/xpat/french/messages
+lib/X11/xpat/french.cards
+lib/X11/xpat/german/keys
+lib/X11/xpat/german/messages
+lib/X11/xpat/german/XPat
+lib/X11/xpat/help.Canfield
+lib/X11/xpat/help.Cotillion
+lib/X11/xpat/help.Delight
+lib/X11/xpat/help.FreeCell
+lib/X11/xpat/help.Gypsy
+lib/X11/xpat/help.Klondike
+lib/X11/xpat/help.Michaels
+lib/X11/xpat/help.Seahaven
+lib/X11/xpat/help.Spider
+lib/X11/xpat/help.keys
+lib/X11/xpat/hlpBakersDozen
+lib/X11/xpat/hlpCalculation
+lib/X11/xpat/hlpMidnightOil
+lib/X11/xpat/hlpMonteCarlo
+lib/X11/xpat/hlpmodCanfield
+lib/X11/xpat/italian/XPat
+lib/X11/xpat/italian/keys
+lib/X11/xpat/italian/messages
+lib/X11/xpat/italian/help.Cotillion
+lib/X11/xpat/italian/hlpMidnightOil
+lib/X11/xpat/italian/help.Canfield
+lib/X11/xpat/italian/help.Delight
+lib/X11/xpat/italian/help.Gypsy
+lib/X11/xpat/italian/help.Klondike
+lib/X11/xpat/italian/help.Michaels
+lib/X11/xpat/italian/hlpBakersDozen
+lib/X11/xpat/italian/hlpCalculation
+lib/X11/xpat/italian/help.Seahaven
+lib/X11/xpat/italian/help.Spider
+lib/X11/xpat/italian/help.keys
+lib/X11/xpat/italian/hlpMonteCarlo
+lib/X11/xpat/italian/help.FreeCell
+lib/X11/xpat/keys
+lib/X11/xpat/russian/XPat
+lib/X11/xpat/russian/sq01.bdf
+lib/X11/xpat/russian/messages
+lib/X11/xpat/russian/keys
+lib/X11/xpat/small.cards
+man/man6/xpat2.6.gz
+bin/xpat2
+lib/X11/app-defaults/XPat
+lib/X11/italian/app-defaults/XPat
+lib/X11/german/app-defaults/XPat
+lib/X11/russian/app-defaults/XPat
+lib/X11/french/app-defaults/XPat
+@dirrm lib/X11/xpat/audio
+@dirrm lib/X11/xpat/italian
+@dirrm lib/X11/xpat/german
+@dirrm lib/X11/xpat/russian
+@dirrm lib/X11/xpat/french
+@dirrm lib/X11/xpat/default
+@dirrm lib/X11/xpat