From 083bc46003d5964a4a63ecc026149b82b6bb135f Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 4 Oct 2006 11:45:37 +0000 Subject: - Fix build with gtk move to LOCALBASE git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7538 df743ca5-7f9a-e211-a948-0013205c9059 --- math/geg/Makefile | 32 ++++++++++++++++++++++++++++++++ math/geg/distinfo | 3 +++ math/geg/files/patch-ab | 16 ++++++++++++++++ math/geg/files/patch-ac | 12 ++++++++++++ math/geg/pkg-descr | 5 +++++ 5 files changed, 68 insertions(+) create mode 100644 math/geg/Makefile create mode 100644 math/geg/distinfo create mode 100644 math/geg/files/patch-ab create mode 100644 math/geg/files/patch-ac create mode 100644 math/geg/pkg-descr (limited to 'math') 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 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 + #include ++#include + + 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/ -- cgit v1.2.3