diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-02-09 05:23:06 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-02-09 05:23:06 +0000 |
commit | 07842fac19a1b3f2924f5f7324324baaa8cb58c4 (patch) | |
tree | 9dba22f2343c2b2d7352c6c32d01d9c8f7edacd7 /math/gambit | |
parent | b1d773370be774b1df111e2656d1f6ad32b8340c (diff) | |
download | FreeBSD-ports-07842fac19a1b3f2924f5f7324324baaa8cb58c4.zip FreeBSD-ports-07842fac19a1b3f2924f5f7324324baaa8cb58c4.tar.gz |
re-add gambit 0.97.0.3
A library of tools for doing computation in game theory
Diffstat (limited to 'math/gambit')
-rw-r--r-- | math/gambit/Makefile | 28 | ||||
-rw-r--r-- | math/gambit/distinfo | 1 | ||||
-rw-r--r-- | math/gambit/files/patch-gcmdline.cc | 18 | ||||
-rw-r--r-- | math/gambit/files/patch-gnulib.cc | 11 | ||||
-rw-r--r-- | math/gambit/files/patch-gnulib.h | 24 | ||||
-rw-r--r-- | math/gambit/pkg-comment | 1 | ||||
-rw-r--r-- | math/gambit/pkg-descr | 13 | ||||
-rw-r--r-- | math/gambit/pkg-plist | 3 |
8 files changed, 99 insertions, 0 deletions
diff --git a/math/gambit/Makefile b/math/gambit/Makefile new file mode 100644 index 0000000..b0f9393 --- /dev/null +++ b/math/gambit/Makefile @@ -0,0 +1,28 @@ +# ex:ts=8 +# Ports collection makefile for: gambit +# Date created: Feb 8, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gambit +PORTVERSION= 0.97.0.3 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel + +USE_REINPLACE= yes +GNU_CONFIGURE= yes + +post-patch: + @${GREP} -lR "values\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e "s|values\.h|limits.h|" + @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e "s|malloc\.h|stdlib.h|" + +.include <bsd.port.mk> diff --git a/math/gambit/distinfo b/math/gambit/distinfo new file mode 100644 index 0000000..62e4000 --- /dev/null +++ b/math/gambit/distinfo @@ -0,0 +1 @@ +MD5 (gambit-0.97.0.3.tar.gz) = ec6db5a877c69fe9a7ad7379250c20ff diff --git a/math/gambit/files/patch-gcmdline.cc b/math/gambit/files/patch-gcmdline.cc new file mode 100644 index 0000000..fa99b6d --- /dev/null +++ b/math/gambit/files/patch-gcmdline.cc @@ -0,0 +1,18 @@ +--- sources/gcl/gcmdline.cc.orig Sun Feb 9 02:23:11 2003 ++++ sources/gcl/gcmdline.cc Sun Feb 9 02:26:28 2003 +@@ -81,7 +81,6 @@ + rawTerm.c_iflag &= ~ICRNL; + rawTerm.c_iflag &= ~IXON; + rawTerm.c_iflag &= ~IXOFF; +- rawTerm.c_iflag &= ~IUCLC; + rawTerm.c_iflag &= ~IXANY; + rawTerm.c_iflag &= ~IMAXBEL; + +@@ -90,7 +89,6 @@ + // rawTerm.c_lflag &= ~ISIG; + rawTerm.c_lflag |= ISIG; + rawTerm.c_lflag &= ~ICANON; +- rawTerm.c_lflag &= ~XCASE; + rawTerm.c_lflag &= ~ECHO; + + rawTerm.c_cc[VTIME] = 0; diff --git a/math/gambit/files/patch-gnulib.cc b/math/gambit/files/patch-gnulib.cc new file mode 100644 index 0000000..23310f7 --- /dev/null +++ b/math/gambit/files/patch-gnulib.cc @@ -0,0 +1,11 @@ +--- sources/math/gnulib.cc.orig Sun Feb 9 01:57:37 2003 ++++ sources/math/gnulib.cc Sun Feb 9 01:57:55 2003 +@@ -112,7 +112,7 @@ + v &= chunklimit == chunk->limit; + _obstack_chunk* p = chunk; + // allow lots of chances to find bottom! +- long x = MAXLONG; ++ long x = LONG_MAX; + while (p != 0 && x != 0) { --x; p = p->prev; } + v &= x > 0; + return v; diff --git a/math/gambit/files/patch-gnulib.h b/math/gambit/files/patch-gnulib.h new file mode 100644 index 0000000..80ac59a --- /dev/null +++ b/math/gambit/files/patch-gnulib.h @@ -0,0 +1,24 @@ +--- sources/math/gnulib.h.orig Sun Feb 9 01:54:27 2003 ++++ sources/math/gnulib.h Sun Feb 9 01:56:12 2003 +@@ -32,9 +32,6 @@ + #ifndef GNULIB_H + #define GNULIB_H + +-#ifdef __GNUG__ +-#include <_G_config.h> +-#endif // __GNUG__ + #include <stddef.h> + #include <stdlib.h> + #include <string.h> +@@ -46,11 +43,6 @@ + #include <errno.h> + #include <fcntl.h> + +-#ifdef __GNUG__ +-extern "C" { +-int strcasecmp _G_ARGS((const char*, const char*)); +-} +-#endif // __GNUG__ + + + #include <math.h> diff --git a/math/gambit/pkg-comment b/math/gambit/pkg-comment new file mode 100644 index 0000000..2b60db5 --- /dev/null +++ b/math/gambit/pkg-comment @@ -0,0 +1 @@ +A library of tools for doing computation in game theory diff --git a/math/gambit/pkg-descr b/math/gambit/pkg-descr new file mode 100644 index 0000000..73b2564 --- /dev/null +++ b/math/gambit/pkg-descr @@ -0,0 +1,13 @@ +Gambit is a library of game theory software and tools for the construction +and analysis of finite extensive and normal form games. Gambit is designed +to be portable across platforms. + +Gambit includes: + - A graphical user interface, based upon the wxWindows library, providing + a common look-and-feel across platforms. + - The Gambit Command Language, a scripting language with built-in + primitives for constructing and analyzing games. + - A library of C++ source code for representing games, suitable for use + in other applications. + +WWW: http://www.hss.caltech.edu/gambit/ diff --git a/math/gambit/pkg-plist b/math/gambit/pkg-plist new file mode 100644 index 0000000..c48d837 --- /dev/null +++ b/math/gambit/pkg-plist @@ -0,0 +1,3 @@ +bin/gambit +bin/gcl +bin/wxgcl |