Date: Mon, 27 Jul 1998 13:24:18 -0400 (EDT) From: Bill Fumerola <billf@jade.chc-chimes.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/7416: New port: g2 (graphics/g2) Message-ID: <199807271724.NAA15398@jade.chc-chimes.com>
next in thread | raw e-mail | index | archive | help
>Number: 7416 >Category: ports >Synopsis: New port: g2 (graphics/g2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 10:30:00 PDT 1998 >Last-Modified: >Originator: Bill Fumerola >Organization: >Release: FreeBSD 2.2.6-STABLE i386 >Environment: port is fairly simple and should work on either branch, though it has NOT been tested with -CURRENT >Description: New port >How-To-Repeat: shar to follow >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./patches # ./patches/patch-aa # ./patches/patch-ab # ./pkg # ./pkg/COMMENT # ./pkg/DESCR # ./pkg/PLIST # ./files # ./files/md5 # ./Makefile # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./patches mkdir -p ./patches > /dev/null 2>&1 echo x - ./patches/patch-aa sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa' X--- Makefile.in.old Mon Jul 27 13:12:08 1998 X+++ Makefile.in Mon Jul 27 13:15:39 1998 X@@ -7,8 +7,8 @@ X # X # g2 installation directories X # X-LIBDIR = /usr/lib X-INCDIR = /usr/include X+LIBDIR = /usr/local/lib X+INCDIR = /usr/local/include X X #LIBDIR = $(HOME)/local/lib X #INCDIR = $(HOME)/local/include X@@ -25,7 +25,7 @@ X FIND = @FIND@ X MAKEDEPEND = @MAKEDEPEND@ X AR = ar X-ARFLAGS = -rs X+ARFLAGS = -r X X BASE_DIR = ./src X BASE_SRC = $(BASE_DIR)/g2_device.c $(BASE_DIR)/g2_ui_control.c \ END-of-./patches/patch-aa echo x - ./patches/patch-ab sed 's/^X//' >./patches/patch-ab << 'END-of-./patches/patch-ab' X--- configure.in.old Thu Jul 16 21:34:49 1998 X+++ configure.in Thu Jul 16 21:35:13 1998 X@@ -30,7 +30,7 @@ X # and add /usr/local to include and lib path and add -lm (for testing) X # X AC_PATH_XTRA X-CFLAGS="$CFLAGS $X_CFLAGS -I/usr/local/include" X+CFLAGS="$CFLAGS $X_CFLAGS -I/usr/local/include -I/usr/local/include/gd" X LDFLAGS="$LDFLAGS $X_LIBS -L/usr/local/lib" X X END-of-./patches/patch-ab echo c - ./pkg mkdir -p ./pkg > /dev/null 2>&1 echo x - ./pkg/COMMENT sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT' Xan easy to use, portable and powerful 2D graphics library END-of-./pkg/COMMENT echo x - ./pkg/DESCR sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR' Xg2 is an easy to use, portable and powerful 2D graphics library. It provides a Xcomprehensive set of functions for simultaneous generation of graphical output Xon different types of devices. Presently, the following devices are supported: XPostScript, GIF and X11 (xfig is in development). g2 is written in C (ANSI) Xand additionally has a Fortran interface. X XBill Fumerola <billf@chc-chimes.com> END-of-./pkg/DESCR echo x - ./pkg/PLIST sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST' Xlib/libg2.a Xinclude/g2.h Xinclude/g2_PS.h Xinclude/g2_GIF.h Xinclude/g2_X11.h END-of-./pkg/PLIST echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/md5 sed 's/^X//' >./files/md5 << 'END-of-./files/md5' XMD5 (g2-0.23.tar.gz) = cb8b1c63be70235cc8490da1a1e83c0c END-of-./files/md5 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: g2 X# Version required: 0.23 X# Date created: 16 July 1998 X# Whom: Bill Fumerola <billf@chc-chimes.com> X# X# $Id$ X# X XDISTNAME= g2-0.23 XCATEGORIES= graphics XMASTER_SITES= ${MASTER_SITE_SUNSITE} XMASTER_SITE_SUBDIR= libs/graphics X XMAINTAINER= billf@chc-chimes.com X XBUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd X XUSE_AUTOCONF= yes X Xdo-build: X cd ${WRKSRC} ; make depend ; make X X.include <bsd.port.mk> END-of-./Makefile exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807271724.NAA15398>