summaryrefslogtreecommitdiff
path: root/graphics/gtkgraph
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gtkgraph')
-rw-r--r--graphics/gtkgraph/Makefile30
-rw-r--r--graphics/gtkgraph/distinfo1
-rw-r--r--graphics/gtkgraph/files/patch-aa18
-rw-r--r--graphics/gtkgraph/pkg-comment1
-rw-r--r--graphics/gtkgraph/pkg-descr21
-rw-r--r--graphics/gtkgraph/pkg-plist1
6 files changed, 72 insertions, 0 deletions
diff --git a/graphics/gtkgraph/Makefile b/graphics/gtkgraph/Makefile
new file mode 100644
index 000000000000..ff59aa5565e5
--- /dev/null
+++ b/graphics/gtkgraph/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gtkgraph
+# Version required: 0.5.0
+# Date created: 12 October 1999
+# Whom: Chris D. Faulhaber <jedgar@fxp.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= gtkgraph-0.5.0
+CATEGORIES= math
+MASTER_SITES= http://gtkgraph.linuxbox.com/
+
+MAINTAINER= jedgar@fxp.org
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ intl.1:${PORTSDIR}/devel/gettext \
+ gdk_imlib.5:${PORTSDIR}/graphics/imlib
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-x
+CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
+ GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/graphics/gtkgraph/distinfo b/graphics/gtkgraph/distinfo
new file mode 100644
index 000000000000..f5de84e84a94
--- /dev/null
+++ b/graphics/gtkgraph/distinfo
@@ -0,0 +1 @@
+MD5 (gtkgraph-0.5.0.tar.gz) = 3c8f79aed751295fab95adb32ef31da2
diff --git a/graphics/gtkgraph/files/patch-aa b/graphics/gtkgraph/files/patch-aa
new file mode 100644
index 000000000000..35f1ea85c019
--- /dev/null
+++ b/graphics/gtkgraph/files/patch-aa
@@ -0,0 +1,18 @@
+--- config.h.in.orig Tue Jul 27 15:09:36 1999
++++ config.h.in Fri Nov 12 11:13:03 1999
+@@ -6,15 +6,6 @@
+ /* Default value for alignment of strings in .mo file. */
+ #define DEFAULT_ALIGNMENT 1
+
+-#ifndef __P
+-# if __STDC__
+-# define __P(args) args
+-# else
+-# define __P(args) ()
+-# endif
+-#endif
+-
+-
+ /* Define if using alloca.c. */
+ #undef C_ALLOCA
+
diff --git a/graphics/gtkgraph/pkg-comment b/graphics/gtkgraph/pkg-comment
new file mode 100644
index 000000000000..1a4858d6d8e5
--- /dev/null
+++ b/graphics/gtkgraph/pkg-comment
@@ -0,0 +1 @@
+Graphing calculator using GTK+
diff --git a/graphics/gtkgraph/pkg-descr b/graphics/gtkgraph/pkg-descr
new file mode 100644
index 000000000000..b75c972013bc
--- /dev/null
+++ b/graphics/gtkgraph/pkg-descr
@@ -0,0 +1,21 @@
+GtkGraph is a simple graphing calculator written
+for X Windows using the GTK+ widget set. It includes
+the following features:
+
+ * Plotting up to ten functions on the same "canvas"
+ * Allowing the user to select the range of the canvas.
+ * Usage of functions exp, sin, tan, cos, asin, atan,
+ acos, sec, csc, cot, log, ln, abs, sqrt, and constants
+ pi and e.
+ * Saving and loading sets of functions to plot
+ * Printing
+ * Exporting the graph to PostScript, or any bitmap format
+ that Imlib supports (JPEG, XPM, PNG...)
+ * Arithmatic and algebraic calculations
+ * Allowing the user to customize colors and axis and plot
+ titles
+
+WWW: http://gtkgraph.linuxbox.com/
+
+- Chris D. Faulhaber
+jedgar@fxp.org
diff --git a/graphics/gtkgraph/pkg-plist b/graphics/gtkgraph/pkg-plist
new file mode 100644
index 000000000000..b9648a16a8d0
--- /dev/null
+++ b/graphics/gtkgraph/pkg-plist
@@ -0,0 +1 @@
+bin/gtkgraph