summaryrefslogtreecommitdiff
path: root/graphics/g2
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-10 00:12:43 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-10 00:12:43 +0000
commitccdbd11758139a85eefd84cb1c65621886ca6e90 (patch)
treef38837e0c37e054eedcd41edb3b539ce66770b5f /graphics/g2
parentTurn on libffi. (diff)
Initial import of g2 version 0.23.
An easy to use, portable, and powerful 2D graphics library. PR: 7416 Submitted by: Bill Fumerola <billf@jade.chc-chimes.com>
Diffstat (limited to 'graphics/g2')
-rw-r--r--graphics/g2/Makefile23
-rw-r--r--graphics/g2/distinfo1
-rw-r--r--graphics/g2/files/patch-aa22
-rw-r--r--graphics/g2/pkg-comment1
-rw-r--r--graphics/g2/pkg-descr7
-rw-r--r--graphics/g2/pkg-plist5
6 files changed, 59 insertions, 0 deletions
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
new file mode 100644
index 000000000000..0ca5c89ca5f9
--- /dev/null
+++ b/graphics/g2/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: g2
+# Version required: 0.23
+# Date created: 16 July 1998
+# Whom: Bill Fumerola <billf@chc-chimes.com>
+#
+# $Id$
+#
+
+DISTNAME= g2-0.23
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= libs/graphics
+
+MAINTAINER= billf@chc-chimes.com
+
+BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
+
+USE_AUTOCONF= yes
+
+do-build:
+ cd ${WRKSRC} ; make depend ; make
+
+.include <bsd.port.mk>
diff --git a/graphics/g2/distinfo b/graphics/g2/distinfo
new file mode 100644
index 000000000000..4e9abfbf260a
--- /dev/null
+++ b/graphics/g2/distinfo
@@ -0,0 +1 @@
+MD5 (g2-0.23.tar.gz) = cb8b1c63be70235cc8490da1a1e83c0c
diff --git a/graphics/g2/files/patch-aa b/graphics/g2/files/patch-aa
new file mode 100644
index 000000000000..ad1232268533
--- /dev/null
+++ b/graphics/g2/files/patch-aa
@@ -0,0 +1,22 @@
+--- Makefile.in.old Mon Jul 27 13:12:08 1998
++++ Makefile.in Mon Jul 27 13:15:39 1998
+@@ -7,8 +7,8 @@
+ #
+ # g2 installation directories
+ #
+-LIBDIR = /usr/lib
+-INCDIR = /usr/include
++LIBDIR = /usr/local/lib
++INCDIR = /usr/local/include
+
+ #LIBDIR = $(HOME)/local/lib
+ #INCDIR = $(HOME)/local/include
+@@ -25,7 +25,7 @@
+ FIND = @FIND@
+ MAKEDEPEND = @MAKEDEPEND@
+ AR = ar
+-ARFLAGS = -rs
++ARFLAGS = -r
+
+ BASE_DIR = ./src
+ BASE_SRC = $(BASE_DIR)/g2_device.c $(BASE_DIR)/g2_ui_control.c \
diff --git a/graphics/g2/pkg-comment b/graphics/g2/pkg-comment
new file mode 100644
index 000000000000..d4df7977bc10
--- /dev/null
+++ b/graphics/g2/pkg-comment
@@ -0,0 +1 @@
+an easy to use, portable and powerful 2D graphics library
diff --git a/graphics/g2/pkg-descr b/graphics/g2/pkg-descr
new file mode 100644
index 000000000000..e5963845c81f
--- /dev/null
+++ b/graphics/g2/pkg-descr
@@ -0,0 +1,7 @@
+g2 is an easy to use, portable and powerful 2D graphics library. It provides a
+comprehensive set of functions for simultaneous generation of graphical output
+on different types of devices. Presently, the following devices are supported:
+PostScript, GIF and X11 (xfig is in development). g2 is written in C (ANSI)
+and additionally has a Fortran interface.
+
+Bill Fumerola <billf@chc-chimes.com>
diff --git a/graphics/g2/pkg-plist b/graphics/g2/pkg-plist
new file mode 100644
index 000000000000..1b1a776abaa0
--- /dev/null
+++ b/graphics/g2/pkg-plist
@@ -0,0 +1,5 @@
+lib/libg2.a
+include/g2.h
+include/g2_PS.h
+include/g2_GIF.h
+include/g2_X11.h