1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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>
This commit is contained in:
Thomas Gellekum 1997-03-06 09:22:37 +00:00
parent aadc95461b
commit 11151e3b8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5886
6 changed files with 207 additions and 0 deletions

26
games/xpat2/Makefile Normal file
View File

@ -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>

1
games/xpat2/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xpat2-1.04-src.tar.gz) = 81883b4d6d56c5c4e7a76deac3540097

View File

@ -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)

1
games/xpat2/pkg-comment Normal file
View File

@ -0,0 +1 @@
An X11 solitaire game with 14 variations.

5
games/xpat2/pkg-descr Normal file
View File

@ -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.

94
games/xpat2/pkg-plist Normal file
View File

@ -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