summaryrefslogtreecommitdiff
path: root/graphics/g2
diff options
context:
space:
mode:
authorjtb <jtb>2001-02-07 22:19:40 +0000
committerjtb <jtb>2001-02-07 22:19:40 +0000
commit10a0c0f0a986f428c912afb0c41b18870c0fdd9f (patch)
tree16934837fe9d24c59f604d0ad159f85f886aabae /graphics/g2
parentaff9bfb81d3720c714b3a36a0af69f1dc6270dfc (diff)
downloadpkgsrc-10a0c0f0a986f428c912afb0c41b18870c0fdd9f.tar.gz
Initial import of g2:
Powerful, easy to use 2D graphics library
Diffstat (limited to 'graphics/g2')
-rw-r--r--graphics/g2/Makefile14
-rw-r--r--graphics/g2/files/md53
-rw-r--r--graphics/g2/pkg/COMMENT1
-rw-r--r--graphics/g2/pkg/DESCR20
-rw-r--r--graphics/g2/pkg/PLIST5
5 files changed, 43 insertions, 0 deletions
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
new file mode 100644
index 00000000000..bb881a44ec5
--- /dev/null
+++ b/graphics/g2/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/07 22:19:40 jtb Exp $
+
+DISTNAME= g2-0.40
+CATEGORIES= graphics
+MASTER_SITES= ftp://g2.sourceforge.net/pub/g2/
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://g2.sourceforge.net/
+
+GNU_CONFIGURE= yes
+USE_X11= yes
+ALL_TARGET= depend all
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/g2/files/md5 b/graphics/g2/files/md5
new file mode 100644
index 00000000000..02621c19278
--- /dev/null
+++ b/graphics/g2/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/02/07 22:19:40 jtb Exp $
+
+MD5 (g2-0.40.tar.gz) = 5f6f4a426ba9e111ab23dce657afe7cd
diff --git a/graphics/g2/pkg/COMMENT b/graphics/g2/pkg/COMMENT
new file mode 100644
index 00000000000..f2a5e9e95db
--- /dev/null
+++ b/graphics/g2/pkg/COMMENT
@@ -0,0 +1 @@
+Powerful, easy to use 2D graphics library
diff --git a/graphics/g2/pkg/DESCR b/graphics/g2/pkg/DESCR
new file mode 100644
index 00000000000..3640a6247fa
--- /dev/null
+++ b/graphics/g2/pkg/DESCR
@@ -0,0 +1,20 @@
+g2 is a simple to use graphics library for 2D graphical applications
+written in Ansi-C.
+
+This library provides a comprehensive set of functions for
+simultaneous generation of graphical output on different types of
+devices. Presently, following devices are currently supported by g2:
+X11, GIF, PostScript (xfig and Win32 are in developement).
+
+One major feature of the g2_library is the concept of virtual
+devices. An arbitrary number of physical devices (such as GIF, or X11)
+can be grouped to create a so-called virtual device. Commands sent to
+such a virtual devices will automatically issued to all attached
+physical devices. This allows for example simultaneous output to a GIF
+file and a Postscript file. A virtual device in turn can be attached
+to another virtual device, allowing to construct trees of devices.
+Virtual devices can also be useful when using different
+user-coordinate systems. E.g. one X11 window showing an overview of a
+graphical output, and a second window showing a zoom of a more
+detailed area of the graphic. Drawing in both windows is performed by
+one single command to the virtual device.
diff --git a/graphics/g2/pkg/PLIST b/graphics/g2/pkg/PLIST
new file mode 100644
index 00000000000..3ca88572c2d
--- /dev/null
+++ b/graphics/g2/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/07 22:19:40 jtb Exp $
+include/g2.h
+include/g2_PS.h
+include/g2_X11.h
+lib/libg2.a