summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/gtkglarea/Makefile26
-rw-r--r--x11-toolkits/gtkglarea/distinfo1
-rw-r--r--x11-toolkits/gtkglarea/pkg-comment1
-rw-r--r--x11-toolkits/gtkglarea/pkg-descr8
-rw-r--r--x11-toolkits/gtkglarea/pkg-plist9
-rw-r--r--x11-toolkits/gtkglarea2/Makefile26
-rw-r--r--x11-toolkits/gtkglarea2/distinfo1
-rw-r--r--x11-toolkits/gtkglarea2/pkg-comment1
-rw-r--r--x11-toolkits/gtkglarea2/pkg-descr8
-rw-r--r--x11-toolkits/gtkglarea2/pkg-plist9
10 files changed, 90 insertions, 0 deletions
diff --git a/x11-toolkits/gtkglarea/Makefile b/x11-toolkits/gtkglarea/Makefile
new file mode 100644
index 000000000000..6554793035de
--- /dev/null
+++ b/x11-toolkits/gtkglarea/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: gtkglarea
+# Version required: 1.2.1
+# Date created: 1 August 1999
+# Whom: Michael Sardo <jaeger16@yahoo.com>
+#
+# $Id$
+#
+
+DISTNAME= gtkglarea-1.2.1
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://www.student.oulu.fi/~jlof/gtkglarea/download/
+
+MAINTAINER= jaeger16@yahoo.com
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ MesaGL.14:${PORTSDIR}/graphics/Mesa3
+
+FETCH_BEFORE_ARGS= -b
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --with-lib-MesaGL
+CONFIGURE_ENV= LOCALBASE=${LOCALBASE} GTK_CONFIG=${X11BASE}/bin/gtk12-config
+
+post-install:
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/gtkglarea/distinfo b/x11-toolkits/gtkglarea/distinfo
new file mode 100644
index 000000000000..cb7822005717
--- /dev/null
+++ b/x11-toolkits/gtkglarea/distinfo
@@ -0,0 +1 @@
+MD5 (gtkglarea-1.2.1.tar.gz) = 14ef36ec3b027775cc41db0717ef6270
diff --git a/x11-toolkits/gtkglarea/pkg-comment b/x11-toolkits/gtkglarea/pkg-comment
new file mode 100644
index 000000000000..6ee885114334
--- /dev/null
+++ b/x11-toolkits/gtkglarea/pkg-comment
@@ -0,0 +1 @@
+An OpenGL widget for the GTK+ GUI toolkit
diff --git a/x11-toolkits/gtkglarea/pkg-descr b/x11-toolkits/gtkglarea/pkg-descr
new file mode 100644
index 000000000000..8c5b31f7772b
--- /dev/null
+++ b/x11-toolkits/gtkglarea/pkg-descr
@@ -0,0 +1,8 @@
+Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl
+which is basically wrapper around GLX functions. The widget itself is
+derived from GtkDrawinigArea widget and adds only few extra functions.
+Lower level gdkgl functions make it easy to render on any widget that has
+OpenGL capable visual, rendering to off-screen pixmaps is also supported.
+
+Related project which may iterest those who use GTK-- is GtkGLArea--. It is a
+C++ wrapper for gtkglarea written by Karl Nelson <kenelson@ece.ucdavis.edu>.
diff --git a/x11-toolkits/gtkglarea/pkg-plist b/x11-toolkits/gtkglarea/pkg-plist
new file mode 100644
index 000000000000..c903373c149f
--- /dev/null
+++ b/x11-toolkits/gtkglarea/pkg-plist
@@ -0,0 +1,9 @@
+include/gtkgl/gdkgl.h
+include/gtkgl/gtkglarea.h
+lib/libgtkgl.a
+lib/libgtkgl.so
+lib/libgtkgl.so.4
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+share/aclocal/gtkgl.m4
+@dirrm include/gtkgl
diff --git a/x11-toolkits/gtkglarea2/Makefile b/x11-toolkits/gtkglarea2/Makefile
new file mode 100644
index 000000000000..6554793035de
--- /dev/null
+++ b/x11-toolkits/gtkglarea2/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: gtkglarea
+# Version required: 1.2.1
+# Date created: 1 August 1999
+# Whom: Michael Sardo <jaeger16@yahoo.com>
+#
+# $Id$
+#
+
+DISTNAME= gtkglarea-1.2.1
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://www.student.oulu.fi/~jlof/gtkglarea/download/
+
+MAINTAINER= jaeger16@yahoo.com
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ MesaGL.14:${PORTSDIR}/graphics/Mesa3
+
+FETCH_BEFORE_ARGS= -b
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --with-lib-MesaGL
+CONFIGURE_ENV= LOCALBASE=${LOCALBASE} GTK_CONFIG=${X11BASE}/bin/gtk12-config
+
+post-install:
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/gtkglarea2/distinfo b/x11-toolkits/gtkglarea2/distinfo
new file mode 100644
index 000000000000..cb7822005717
--- /dev/null
+++ b/x11-toolkits/gtkglarea2/distinfo
@@ -0,0 +1 @@
+MD5 (gtkglarea-1.2.1.tar.gz) = 14ef36ec3b027775cc41db0717ef6270
diff --git a/x11-toolkits/gtkglarea2/pkg-comment b/x11-toolkits/gtkglarea2/pkg-comment
new file mode 100644
index 000000000000..6ee885114334
--- /dev/null
+++ b/x11-toolkits/gtkglarea2/pkg-comment
@@ -0,0 +1 @@
+An OpenGL widget for the GTK+ GUI toolkit
diff --git a/x11-toolkits/gtkglarea2/pkg-descr b/x11-toolkits/gtkglarea2/pkg-descr
new file mode 100644
index 000000000000..8c5b31f7772b
--- /dev/null
+++ b/x11-toolkits/gtkglarea2/pkg-descr
@@ -0,0 +1,8 @@
+Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl
+which is basically wrapper around GLX functions. The widget itself is
+derived from GtkDrawinigArea widget and adds only few extra functions.
+Lower level gdkgl functions make it easy to render on any widget that has
+OpenGL capable visual, rendering to off-screen pixmaps is also supported.
+
+Related project which may iterest those who use GTK-- is GtkGLArea--. It is a
+C++ wrapper for gtkglarea written by Karl Nelson <kenelson@ece.ucdavis.edu>.
diff --git a/x11-toolkits/gtkglarea2/pkg-plist b/x11-toolkits/gtkglarea2/pkg-plist
new file mode 100644
index 000000000000..c903373c149f
--- /dev/null
+++ b/x11-toolkits/gtkglarea2/pkg-plist
@@ -0,0 +1,9 @@
+include/gtkgl/gdkgl.h
+include/gtkgl/gtkglarea.h
+lib/libgtkgl.a
+lib/libgtkgl.so
+lib/libgtkgl.so.4
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+share/aclocal/gtkgl.m4
+@dirrm include/gtkgl