Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 13:51:39 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7409: New port: CaribbeanStud-1.0
Message-ID:  <199807270951.NAA01736@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         7409
>Category:       ports
>Synopsis:       New port: CaribbeanStud-1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 27 02:50:01 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of Caribbean Stud gambling game for X Window System.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	CaribbeanStud-1.0
#	CaribbeanStud-1.0/files
#	CaribbeanStud-1.0/files/md5
#	CaribbeanStud-1.0/patches
#	CaribbeanStud-1.0/patches/patch-ab
#	CaribbeanStud-1.0/patches/patch-aa
#	CaribbeanStud-1.0/patches/patch-ac
#	CaribbeanStud-1.0/pkg
#	CaribbeanStud-1.0/pkg/PLIST
#	CaribbeanStud-1.0/pkg/COMMENT
#	CaribbeanStud-1.0/pkg/DESCR
#	CaribbeanStud-1.0/Makefile
#
echo c - CaribbeanStud-1.0
mkdir -p CaribbeanStud-1.0 > /dev/null 2>&1
echo c - CaribbeanStud-1.0/files
mkdir -p CaribbeanStud-1.0/files > /dev/null 2>&1
echo x - CaribbeanStud-1.0/files/md5
sed 's/^X//' >CaribbeanStud-1.0/files/md5 << 'END-of-CaribbeanStud-1.0/files/md5'
XMD5 (CS.tar.gz) = 4d9b732165158b2c29c44825fdb105a6
END-of-CaribbeanStud-1.0/files/md5
echo c - CaribbeanStud-1.0/patches
mkdir -p CaribbeanStud-1.0/patches > /dev/null 2>&1
echo x - CaribbeanStud-1.0/patches/patch-ab
sed 's/^X//' >CaribbeanStud-1.0/patches/patch-ab << 'END-of-CaribbeanStud-1.0/patches/patch-ab'
X--- Hands.cpp	Fri Jan 31 22:47:58 1997
X+++ /home/andy/tmp/wrk/Hands.cpp	Sat Jul  4 18:54:30 1998
X@@ -46,7 +46,7 @@
X 		_next = 0;
X }
X 
X-Hand Hands::HandValue() const
X+enum Hands::Hand Hands::HandValue() const
X {
X 	return _hand;
X }
END-of-CaribbeanStud-1.0/patches/patch-ab
echo x - CaribbeanStud-1.0/patches/patch-aa
sed 's/^X//' >CaribbeanStud-1.0/patches/patch-aa << 'END-of-CaribbeanStud-1.0/patches/patch-aa'
X--- Xmakefile	Fri Jan 31 22:47:59 1997
X+++ /home/andy/tmp/wrk/Xmakefile	Sat Jul  4 19:07:47 1998
X@@ -77,17 +77,27 @@
X #UILFLAGS=-I/usr/include/uil -I/usr/include/Motif1.2/uil
X ###
X 
X+## FreeBSD
X+##
X+XINCLUDES=-I$(X11BASE)/include
X+UILFLAGS=
X+CFLAGS+= -fhandle-exceptions -fno-for-scope
X+CXXFLAGS+= $(XINCLUDES)
X+LDFLAGS+=-L$(X11BASE)/lib
X+LDLIBS=
X+MOTIFLIBS=-lXm -lXmu -lXt -lX11
X+
X #LDLIBS = -lPW
X # Program configuration
X # ---------------------
X 
X-LDFLAGS = ${XLIBS} $(MRMLIBS)
X-MOTIFLIBS = -lXm -lXmu -lXt -lX11
X+#LDFLAGS = ${XLIBS} $(MRMLIBS)
X+#MOTIFLIBS = -lXm -lXmu -lXt -lX11
X 
X-CFLAGS= -g -I. ${XINCLUDES} $(UILFLAGS)
X-CCFLAGS=${CFLAGS} 
X+#CFLAGS+= ${XINCLUDES} $(UILFLAGS)
X+#CCFLAGS=${CFLAGS} 
X 
X-UIL=uil
X+#UIL=uil
X 
X #MOTIFLIBS = -lXm -lXt -lX11 -lPW
X 
X@@ -122,7 +132,7 @@
X 
X CaribbeanStud:  $(OBJS)
X 	rm -f $@
X-	$(CCC) $(CCFLAGS) -o $@  $(OBJS) $(LDFLAGS)  $(LDLIBS)  $(MOTIFLIBS)
X+	$(CXX) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) $(MOTIFLIBS)
X  
X depend:: $(SRCS) $(HEADERS)
X 	makedepend $(CFLAGS) $(CPPFLAGS) -- $(ALLDEFINES) -- $(SRCS)
X@@ -134,5 +144,5 @@
X 
X .SUFFIXES:  .cpp $(SUFFIXES)
X .cpp.o:
X-	$(COMPILE.cc) $(OUTPUT_OPTION) $<
X+	$(CXX) -c $(CXXFLAGS) $(OUTPUT_OPTION) $<
X  
END-of-CaribbeanStud-1.0/patches/patch-aa
echo x - CaribbeanStud-1.0/patches/patch-ac
sed 's/^X//' >CaribbeanStud-1.0/patches/patch-ac << 'END-of-CaribbeanStud-1.0/patches/patch-ac'
X--- Seat.cpp	Fri Jan 31 22:47:58 1997
X+++ /home/andy/tmp/wrk/Seat.cpp	Sat Jul  4 19:48:21 1998
X@@ -151,10 +151,10 @@
X 	   gcv.font = XLoadFont(_dpy, "10x20"); 
X 		gcflags = GCForeground | GCBackground | GCGraphicsExposures;
X 		_redgc = XCreateGC(_dpy, RootWindow(_dpy, _screen), gcflags, &gcv);
X+		// allocate drawing area background color, set areas 
X+		XAllocNamedColor(_dpy, cmap, "Forest Green", &color, &color);
X 	 
X 	}
X-	// allocate drawing area background color, set areas 
X-	XAllocNamedColor(_dpy, cmap, "Forest Green", &color, &color);
X 	i = 0;
X 	XtSetArg(args[i], XmNbackground, color.pixel);   i++;
X 	XtSetArg(args[i], XmNforeground, whitepixel);   i++;
END-of-CaribbeanStud-1.0/patches/patch-ac
echo c - CaribbeanStud-1.0/pkg
mkdir -p CaribbeanStud-1.0/pkg > /dev/null 2>&1
echo x - CaribbeanStud-1.0/pkg/PLIST
sed 's/^X//' >CaribbeanStud-1.0/pkg/PLIST << 'END-of-CaribbeanStud-1.0/pkg/PLIST'
Xbin/CaribbeanStud
Xlib/X11/app-defaults/CaribbeanStud
Xshare/doc/CaribbeanStud/README
Xshare/doc/CaribbeanStud/class.ps
X@dirrm share/doc/CaribbeanStud
END-of-CaribbeanStud-1.0/pkg/PLIST
echo x - CaribbeanStud-1.0/pkg/COMMENT
sed 's/^X//' >CaribbeanStud-1.0/pkg/COMMENT << 'END-of-CaribbeanStud-1.0/pkg/COMMENT'
XCaribbean Stud gambling game for X Window System.
END-of-CaribbeanStud-1.0/pkg/COMMENT
echo x - CaribbeanStud-1.0/pkg/DESCR
sed 's/^X//' >CaribbeanStud-1.0/pkg/DESCR << 'END-of-CaribbeanStud-1.0/pkg/DESCR'
XCaribbean Stud is a Motif based gambling game for X Window System.
X
XOPTIONS: ( All can be changed in CaribbeanStud.res )
X   Default bankroll              200
X   Table minimum                 10
X   Number of Players             2       (1-6)
X   Current Jackpot               34000000
X   Minimum Jackpot               3000000
X
XThe class.ps is the class diagram of this game.
X
XPlease direct comments, suggestions, and patches to:
X------------------------------------------------------------------
XQun  Zhang
Xqzhang@oucsace.cs.ohiou.edu
END-of-CaribbeanStud-1.0/pkg/DESCR
echo x - CaribbeanStud-1.0/Makefile
sed 's/^X//' >CaribbeanStud-1.0/Makefile << 'END-of-CaribbeanStud-1.0/Makefile'
X# New ports collection makefile for:	CaribbeanStud
X# Version required:			1.0
X# Date created:				4 July 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		CS
XPKGNAME=		CaribbeanStud-1.0
XCATEGORIES=		games
XMASTER_SITES=		${MASTER_SITE_XCONTRIB}
XMASTER_SITE_SUBDIR=	games
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XMAKEFILE=		Xmakefile
XREQUIRES_MOTIF=		yes
XUSE_X11=		yes
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/CaribbeanStud ${PREFIX}/bin
X	@ ${INSTALL_DATA} ${WRKSRC}/CaribbeanStud.res ${PREFIX}/lib/X11/app-defaults/CaribbeanStud
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/CaribbeanStud
X	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/CaribbeanStud
X	@ ${INSTALL_DATA} ${WRKSRC}/class.ps ${PREFIX}/share/doc/CaribbeanStud
X.endif
X
X.include <bsd.port.mk>
END-of-CaribbeanStud-1.0/Makefile
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807270951.NAA01736>