From ccdbd11758139a85eefd84cb1c65621886ca6e90 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 10 Aug 1998 00:12:43 +0000 Subject: Initial import of g2 version 0.23. An easy to use, portable, and powerful 2D graphics library. PR: 7416 Submitted by: Bill Fumerola --- graphics/g2/Makefile | 23 +++++++++++++++++++++++ graphics/g2/distinfo | 1 + graphics/g2/files/patch-aa | 22 ++++++++++++++++++++++ graphics/g2/pkg-comment | 1 + graphics/g2/pkg-descr | 7 +++++++ graphics/g2/pkg-plist | 5 +++++ 6 files changed, 59 insertions(+) create mode 100644 graphics/g2/Makefile create mode 100644 graphics/g2/distinfo create mode 100644 graphics/g2/files/patch-aa create mode 100644 graphics/g2/pkg-comment create mode 100644 graphics/g2/pkg-descr create mode 100644 graphics/g2/pkg-plist 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 +# +# $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 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 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 -- cgit v1.2.3