diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/geg/Makefile | 32 | ||||
-rw-r--r-- | math/geg/distinfo | 3 | ||||
-rw-r--r-- | math/geg/files/patch-ab | 16 | ||||
-rw-r--r-- | math/geg/files/patch-ac | 12 | ||||
-rw-r--r-- | math/geg/pkg-descr | 5 |
5 files changed, 68 insertions, 0 deletions
diff --git a/math/geg/Makefile b/math/geg/Makefile new file mode 100644 index 000000000..d0c349659 --- /dev/null +++ b/math/geg/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: geg +# Date created: 8 Aug 1998 +# Whom: rom +# +# $FreeBSD: ports/math/geg/Makefile,v 1.28 2006/03/07 08:26:49 ade Exp $ +# + +PORTNAME= geg +PORTVERSION= 1.0.2 +PORTREVISION= 2 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SUNSITE} \ + http://www.infolaunch.com/~daveb/ +MASTER_SITE_SUBDIR= science/visualization/plotting + +MAINTAINER= domi@saargate.de +COMMENT= Visualise multiple 2D-functions of one variable + +USE_X_PREFIX= yes +USE_GNOME= gtk12 +USE_AUTOTOOLS= automake:15 autoconf:253 +AUTOMAKE_ARGS= -a -i +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +MAN1= geg.1 +PLIST_FILES= bin/geg + +pre-configure: + @cd ${WRKSRC}; ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -I ${X11BASE}/share/aclocal + +.include <bsd.port.mk> diff --git a/math/geg/distinfo b/math/geg/distinfo new file mode 100644 index 000000000..9126e781b --- /dev/null +++ b/math/geg/distinfo @@ -0,0 +1,3 @@ +MD5 (geg-1.0.2.tar.gz) = 0c3c15874eb10a0463dc12e680b38081 +SHA256 (geg-1.0.2.tar.gz) = b052f16e97de9a7b85f2034a5560c423f661e2575332955b67232007290b60a8 +SIZE (geg-1.0.2.tar.gz) = 68312 diff --git a/math/geg/files/patch-ab b/math/geg/files/patch-ab new file mode 100644 index 000000000..f23a93012 --- /dev/null +++ b/math/geg/files/patch-ab @@ -0,0 +1,16 @@ +--- src/main.c.orig Sat Apr 15 19:50:38 2000 ++++ src/main.c Sat Apr 15 19:50:52 2000 +@@ -10,10 +10,13 @@ + #include "app.h" + #include <gtk/gtk.h> + #include <stdio.h> ++#include <ieeefp.h> + + int + main(int argc, char *argv[]) + { ++ fpsetmask(0); ++ + parse_command_line(argc, argv); + parse_rcfile(); + diff --git a/math/geg/files/patch-ac b/math/geg/files/patch-ac new file mode 100644 index 000000000..8c2451c08 --- /dev/null +++ b/math/geg/files/patch-ac @@ -0,0 +1,12 @@ +--- configure.in.orig Wed Nov 24 08:01:41 1999 ++++ configure.in Sat Jul 1 18:57:50 2000 +@@ -30,8 +30,7 @@ + fi + fi + +-AC_CHECK_PROG(GTK_CFLAGS, gtk-config, `gtk-config --cflags`,,,) +-AC_CHECK_PROG(GTK_LIBS, gtk-config, `gtk-config --libs`,,,) ++AM_PATH_GTK(1.2.0, , AC_MSG_ERROR(GTK+ is not installed or badly configured on your system...)) + + dnl Checks for libraries. + dnl Replace `main' with a function in -libs: diff --git a/math/geg/pkg-descr b/math/geg/pkg-descr new file mode 100644 index 000000000..2b901471e --- /dev/null +++ b/math/geg/pkg-descr @@ -0,0 +1,5 @@ +geg, a GTK+ Equation Grapher is a very simple utility for parsing and plotting +2D-Functions, eg f(x) = 3 + sin(x), and much more complicated functions. +It was written with GTK+ and provides a neat, configurable user interface. + +WWW: http://www.infolaunch.com/~daveb/ |