From owner-freebsd-ports Sat Oct 14 18:50:25 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 22F4437B672 for ; Sat, 14 Oct 2000 18:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA92460; Sat, 14 Oct 2000 18:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from siegfried.utmb.edu (siegfried.utmb.edu [129.109.59.86]) by hub.freebsd.org (Postfix) with ESMTP id 5AECC37B502 for ; Sat, 14 Oct 2000 18:47:47 -0700 (PDT) Received: from histidine.utmb.edu (171.222.nas7.ippool.hypercon.com [198.64.222.171]) by siegfried.utmb.edu (8.9.3/8.9.3) with ESMTP id WAA02970 for ; Sat, 14 Oct 2000 22:09:54 -0500 (CDT) (envelope-from bdodson@histidine.utmb.edu) Received: (from bdodson@localhost) by histidine.utmb.edu (8.11.0/8.11.0) id e9F1nJC07045; Sat, 14 Oct 2000 20:49:19 -0500 (CDT) (envelope-from bdodson) Message-Id: <200010150149.e9F1nJC07045@histidine.utmb.edu> Date: Sat, 14 Oct 2000 20:49:19 -0500 (CDT) From: bdodson@scms.utmb.EDU Reply-To: bdodson@scms.utmb.EDU To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/21995: New port: math/gri Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21995 >Category: ports >Synopsis: New port: math/gri >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: Sat Oct 14 18:50:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: M. L. Dodson >Release: FreeBSD 4.1.1-STABLE i386 >Organization: Sealy Center for Molecular Science University of Texas Medical Branch Galveston, TX 77555-1071 >Environment: FreeBSD wotan.home.net 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Sat Oct 7 12:38:14 CDT 2000 bdodson@wotan.home.net:/usr/obj/usr/src/sys/WOTAN i386 >Description: New port for the scientific graphing program, gri. Gri is similar in purpose and scope to gnuplot, but most people find it easier to use and more flexible. Output is in PostScript, ready to be converted by ghostscript to any further graphics format desired. >How-To-Repeat: >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: # # gri # gri/pkg-plist # gri/pkg-descr # gri/pkg-comment # gri/distinfo # gri/Makefile # gri/files # gri/files/patch-ab # gri/files/patch-aa # echo c - gri mkdir -p gri > /dev/null 2>&1 echo x - gri/pkg-plist sed 's/^X//' >gri/pkg-plist << 'END-of-gri/pkg-plist' Xbin/gri Xbin/gri_merge Xbin/gri_unpage Xshare/doc/gri/html/examples/FEM.gif Xshare/doc/gri/html/examples/model.elements Xshare/doc/gri/html/examples/example9b.dat Xshare/doc/gri/html/examples/example9a.dat Xshare/doc/gri/html/examples/example9.txt Xshare/doc/gri/html/examples/example9.ps Xshare/doc/gri/html/examples/example9.gri Xshare/doc/gri/html/examples/example9.gif Xshare/doc/gri/html/examples/example9-tiny.gif Xshare/doc/gri/html/examples/example8b.dat Xshare/doc/gri/html/examples/example8a.dat Xshare/doc/gri/html/examples/example8.txt Xshare/doc/gri/html/examples/example8.ps Xshare/doc/gri/html/examples/example8.gri Xshare/doc/gri/html/examples/example8.gif Xshare/doc/gri/html/examples/example8-tiny.gif Xshare/doc/gri/html/examples/example7g.dat Xshare/doc/gri/html/examples/example7f.dat Xshare/doc/gri/html/examples/example7e.dat Xshare/doc/gri/html/examples/example7d.dat Xshare/doc/gri/html/examples/FEM.txt Xshare/doc/gri/html/examples/example7c.dat Xshare/doc/gri/html/examples/example7b.dat Xshare/doc/gri/html/examples/example7a.dat Xshare/doc/gri/html/examples/example7.txt Xshare/doc/gri/html/examples/example7.ps Xshare/doc/gri/html/examples/example7.gri Xshare/doc/gri/html/examples/example7.gif Xshare/doc/gri/html/examples/example7-tiny.gif Xshare/doc/gri/html/examples/example6mask.dat Xshare/doc/gri/html/examples/example6image.dat Xshare/doc/gri/html/examples/example6histogram.txt Xshare/doc/gri/html/examples/example6histogram.ps Xshare/doc/gri/html/examples/example6histogram.gri Xshare/doc/gri/html/examples/example6histogram.gif Xshare/doc/gri/html/examples/example6color.txt Xshare/doc/gri/html/examples/example6color.ps Xshare/doc/gri/html/examples/example6color.gri Xshare/doc/gri/html/examples/example6color.gif Xshare/doc/gri/html/examples/example6.txt Xshare/doc/gri/html/examples/example6color-tiny.gif Xshare/doc/gri/html/examples/example6.ps Xshare/doc/gri/html/examples/example6.gri Xshare/doc/gri/html/examples/example6.gif Xshare/doc/gri/html/examples/example6-tiny.gif Xshare/doc/gri/html/examples/example5.txt Xshare/doc/gri/html/examples/example5.ps Xshare/doc/gri/html/examples/example5.gri Xshare/doc/gri/html/examples/example5.gif Xshare/doc/gri/html/examples/example5.dat Xshare/doc/gri/html/examples/example5-tiny.gif Xshare/doc/gri/html/examples/example4.txt Xshare/doc/gri/html/examples/example4.ps Xshare/doc/gri/html/examples/example4.gri Xshare/doc/gri/html/examples/example4.gif Xshare/doc/gri/html/examples/example4-tiny.gif Xshare/doc/gri/html/examples/example3.txt Xshare/doc/gri/html/examples/example3.ps Xshare/doc/gri/html/examples/example3.gri Xshare/doc/gri/html/examples/example3.gif Xshare/doc/gri/html/examples/example3-tiny.gif Xshare/doc/gri/html/examples/example2.txt Xshare/doc/gri/html/examples/example2.ps Xshare/doc/gri/html/examples/example2.gri Xshare/doc/gri/html/examples/example2.gif Xshare/doc/gri/html/examples/example2-tiny.gif Xshare/doc/gri/html/examples/example13.txt Xshare/doc/gri/html/examples/example13.ps Xshare/doc/gri/html/examples/example13.gri Xshare/doc/gri/html/examples/example13.gif Xshare/doc/gri/html/examples/example13.dat Xshare/doc/gri/html/examples/example13-tiny.gif Xshare/doc/gri/html/examples/example12.txt Xshare/doc/gri/html/examples/example12.ps Xshare/doc/gri/html/examples/example12.gri Xshare/doc/gri/html/examples/example12.gif Xshare/doc/gri/html/examples/example12.dat Xshare/doc/gri/html/examples/example12-tiny.gif Xshare/doc/gri/html/examples/example11.txt Xshare/doc/gri/html/examples/example11.ps Xshare/doc/gri/html/examples/example11.gri Xshare/doc/gri/html/examples/example11.gif Xshare/doc/gri/html/examples/example11.dat Xshare/doc/gri/html/examples/example11-tiny.gif Xshare/doc/gri/html/examples/example10color.txt Xshare/doc/gri/html/examples/example10color.ps Xshare/doc/gri/html/examples/example10color.gri Xshare/doc/gri/html/examples/example10color.gif Xshare/doc/gri/html/examples/example10.txt Xshare/doc/gri/html/examples/example10.ps Xshare/doc/gri/html/examples/example10.gri Xshare/doc/gri/html/examples/example10.gif Xshare/doc/gri/html/examples/example10.dat Xshare/doc/gri/html/examples/example10-tiny.gif Xshare/doc/gri/html/examples/example1.txt Xshare/doc/gri/html/examples/example1.ps Xshare/doc/gri/html/examples/example1.gri Xshare/doc/gri/html/examples/example1.gif Xshare/doc/gri/html/examples/example1.dat Xshare/doc/gri/html/examples/example1-tiny.gif Xshare/doc/gri/html/examples/Makefile Xshare/doc/gri/html/examples/FEM.ps Xshare/doc/gri/html/examples/FEM.pl Xshare/doc/gri/html/examples/FEM.gri Xshare/doc/gri/html/examples/model.nodes Xshare/doc/gri/html/resources/bottom_banner.gif Xshare/doc/gri/html/resources/version-diagram-2.2.gif Xshare/doc/gri/html/resources/top_banner.gif Xshare/doc/gri/html/resources/symbols.gif Xshare/doc/gri/html/resources/sm_bg.gif Xshare/doc/gri/html/resources/pixel.gif Xshare/doc/gri/html/resources/math_symbols.gif Xshare/doc/gri/html/resources/logo.gif Xshare/doc/gri/html/resources/logo.eps Xshare/doc/gri/html/resources/version-diagram-2.4.gif Xshare/doc/gri/html/Access.html Xshare/doc/gri/html/gri1.html Xshare/doc/gri/html/X-Y.html Xshare/doc/gri/html/Write.html Xshare/doc/gri/html/While.html Xshare/doc/gri/html/Viewing.html Xshare/doc/gri/html/Variables.html Xshare/doc/gri/html/Text.html Xshare/doc/gri/html/TSDiagram.html Xshare/doc/gri/html/System.html Xshare/doc/gri/html/Synonyms.html Xshare/doc/gri/html/Superuser.html Xshare/doc/gri/html/State.html Xshare/doc/gri/html/Sprintf.html Xshare/doc/gri/html/Smooth.html Xshare/doc/gri/html/Skip.html Xshare/doc/gri/html/SimpleExample.html Xshare/doc/gri/html/Show.html Xshare/doc/gri/html/Set.html Xshare/doc/gri/html/RunningMeans.html Xshare/doc/gri/html/Rpnfunction.html Xshare/doc/gri/html/Rewind.html Xshare/doc/gri/html/ReversePolishMath.html Xshare/doc/gri/html/Return.html Xshare/doc/gri/html/ResourceFile.html Xshare/doc/gri/html/Resize.html Xshare/doc/gri/html/Rescale.html Xshare/doc/gri/html/Reorder.html Xshare/doc/gri/html/Regress.html Xshare/doc/gri/html/Read.html Xshare/doc/gri/html/Quit.html Xshare/doc/gri/html/Query.html Xshare/doc/gri/html/Pwd.html Xshare/doc/gri/html/Programming.html Xshare/doc/gri/html/PostScript.html Xshare/doc/gri/html/Polygons.html Xshare/doc/gri/html/PDFDiagram.html Xshare/doc/gri/html/OverviewSystemTools.html Xshare/doc/gri/html/OperatingSystem.html Xshare/doc/gri/html/Open.html Xshare/doc/gri/html/Newsgroup.html Xshare/doc/gri/html/Newpage.html Xshare/doc/gri/html/Newfeatures.html Xshare/doc/gri/html/NewCommands2.html Xshare/doc/gri/html/NewCommands1.html Xshare/doc/gri/html/New.html Xshare/doc/gri/html/Mathematics.html Xshare/doc/gri/html/Mask.html Xshare/doc/gri/html/Ls.html Xshare/doc/gri/html/Loops.html Xshare/doc/gri/html/List.html Xshare/doc/gri/html/License.html Xshare/doc/gri/html/LibraryFiles.html Xshare/doc/gri/html/Legend.html Xshare/doc/gri/html/InvokingGri.html Xshare/doc/gri/html/Introduction.html Xshare/doc/gri/html/Interpolate.html Xshare/doc/gri/html/Insert.html Xshare/doc/gri/html/Input.html Xshare/doc/gri/html/ImageWithContours.html Xshare/doc/gri/html/ImageExt.html Xshare/doc/gri/html/ImageExample.html Xshare/doc/gri/html/Image.html Xshare/doc/gri/html/Ignore.html Xshare/doc/gri/html/IfStatements.html Xshare/doc/gri/html/If.html Xshare/doc/gri/html/Hints.html Xshare/doc/gri/html/Help.html Xshare/doc/gri/html/Heal.html Xshare/doc/gri/html/GetEnv.html Xshare/doc/gri/html/GeneralIssues.html Xshare/doc/gri/html/Flip.html Xshare/doc/gri/html/Filter.html Xshare/doc/gri/html/Fig2Gri.html Xshare/doc/gri/html/FancyPlot.html Xshare/doc/gri/html/FancyExample.html Xshare/doc/gri/html/FEM.html Xshare/doc/gri/html/Extras.html Xshare/doc/gri/html/Expecting.html Xshare/doc/gri/html/Examples.html Xshare/doc/gri/html/Evolution.html Xshare/doc/gri/html/ErrorMessages.html Xshare/doc/gri/html/Emacs.html Xshare/doc/gri/html/Draw.html Xshare/doc/gri/html/Delete.html Xshare/doc/gri/html/DiscussionGroup.html Xshare/doc/gri/html/Differentiate.html Xshare/doc/gri/html/Defaults.html Xshare/doc/gri/html/Debugging.html Xshare/doc/gri/html/Debug.html Xshare/doc/gri/html/Data.html Xshare/doc/gri/html/Create.html Xshare/doc/gri/html/Convert.html Xshare/doc/gri/html/ContouringExample.html Xshare/doc/gri/html/Contour.html Xshare/doc/gri/html/ConceptIndex.html Xshare/doc/gri/html/CommandsOverview.html Xshare/doc/gri/html/Commands.html Xshare/doc/gri/html/CommandSyntax.html Xshare/doc/gri/html/Color.html Xshare/doc/gri/html/Close.html Xshare/doc/gri/html/Cd.html Xshare/doc/gri/html/Bugs.html Xshare/doc/gri/html/BoxPlots.html Xshare/doc/gri/html/Acknowledgments.html Xshare/doc/gri/html/index.html Xshare/gri/startup.msg Xshare/gri/gri.cmd X@dirrm share/gri X@dirrm share/doc/gri/html/examples X@dirrm share/doc/gri/html/resources X@dirrm share/doc/gri/html X@dirrm share/doc/gri END-of-gri/pkg-plist echo x - gri/pkg-descr sed 's/^X//' >gri/pkg-descr << 'END-of-gri/pkg-descr' XGri is a language for scientific graphics applications. By 'language' I mean Xthat it is a command-driven application, as opposed to a click/point Xapplication. It is analogous to latex or tex, and shares the property that Xextensive power is the reward for tolerating a modest learning curve. Gri Xoutput is in industry-standard PostScript, suitable for incorporation in Xdocuments prepared by various text processors. Gri can make x-y graphs, Xcontour-graphs, and image graphs. In addition to high-level capabilities, it Xhas enough low-level capabilities to allow users to achieve a high degree of Xcustomization. Precise control is extended to all aspects of drawing, including Xline-widths, colors, and fonts. Text includes a subset of the tex language, so Xthat it is easy to incorporate Greek letters and mathematical symbols in labels. END-of-gri/pkg-descr echo x - gri/pkg-comment sed 's/^X//' >gri/pkg-comment << 'END-of-gri/pkg-comment' XGri is an extensible plotting language for producing scientific graphs END-of-gri/pkg-comment echo x - gri/distinfo sed 's/^X//' >gri/distinfo << 'END-of-gri/distinfo' XMD5 (gri-2.4.4.tgz) = 2aaad67d5ffc787dabc32f4aa1d2212a END-of-gri/distinfo echo x - gri/Makefile sed 's/^X//' >gri/Makefile << 'END-of-gri/Makefile' X# New ports collection makefile for: gri X# Date created: 14 Oct 2000 X# Whom: M. L. Dodson, X# X# $FreeBSD$ X# X XPORTNAME= gri XPORTVERSION= 2.4.4 XCATEGORIES= math XMASTER_SITES= ftp://ftp.phys.ocean.dal.ca/users/kelley/gri/source/ XEXTRACT_SUFX= .tgz X XMAINTAINER= bdodson@scms.utmb.edu X XLIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf XBUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk X XGNU_CONFIGURE= YES X XALL_TARGET= gri XMAN1= gri.1 XMANCOMPRESSED= yes X Xpost-install: X.if !defined(${NOPORTDOCS}) X @-mkdir -p ${PREFIX}/share/doc/gri X @-mkdir -p ${PREFIX}/share/doc/gri/html X @-mkdir -p ${PREFIX}/share/doc/gri/html/examples X @-mkdir -p ${PREFIX}/share/doc/gri/html/resources X @cd ${WRKSRC}/doc && make PREFIX=${PREFIX} html-install X.endif X @cd ${WRKSRC}/doc && \ X make PREFIX=${PREFIX} INSTALL_MAN="${INSTALL_MAN}" man-install X ${CHMOD} 555 ${PREFIX}/bin/gri_merge X ${CHMOD} 555 ${PREFIX}/bin/gri_unpage X ${RM} ${PREFIX}/share/gri/license.txt X X.include END-of-gri/Makefile echo c - gri/files mkdir -p gri/files > /dev/null 2>&1 echo x - gri/files/patch-ab sed 's/^X//' >gri/files/patch-ab << 'END-of-gri/files/patch-ab' X*** doc/Makefile.orig Sun May 7 11:44:08 2000 X--- doc/Makefile Sat Sep 23 12:49:29 2000 X*************** X*** 1,6 **** X # Makefile for Gri documentation files. X X! GRI_DIR = /opt/gri X DEST_BIN = /doc/info X RM = rm -f X REFCARD = refcard X--- 1,6 ---- X # Makefile for Gri documentation files. X X! GRI_DIR = $(PREFIX)/share/doc/gri X DEST_BIN = /doc/info X RM = rm -f X REFCARD = refcard X*************** X*** 11,22 **** X FORCE: X X all: X- make info X make html X X! install: X! make info-install X! make html-install X X read: X chmod a+r Makefile X--- 11,27 ---- X FORCE: X X all: X make html X X! # make info X! # make html X! X! man-install: X! gzip -nfc -9 gri-manpage.1 > gri.1.gz X! ${INSTALL_MAN} gri.1.gz ${PREFIX}/man/man1 X! X! # make info-install X! # make html-install X X read: X chmod a+r Makefile X*************** X*** 48,69 **** X perl archive-to-html.pl > Newsgroup.html X X html-install: X! # GRI_DIR = /opt/gri X! if test ! -d $(GRI_DIR) ; then mkdir -m 755 -p $(GRI_DIR) ; fi X! if test ! -d $(GRI_DIR)/doc ; then mkdir -m 755 -p $(GRI_DIR)/doc ; fi X! if test ! -d $(GRI_DIR)/doc/html ; then mkdir -m 755 -p $(GRI_DIR)/doc/html ; fi X! if test ! -d $(GRI_DIR)/doc/html/examples ; then mkdir -m 755 -p $(GRI_DIR)/doc/html/examples ; fi X! if test ! -d $(GRI_DIR)/doc/html/resources ; then mkdir -m 755 -p $(GRI_DIR)/doc/html/resources ; fi X! -cp ./resources/*.gif $(GRI_DIR)/doc/html/resources X! -chmod a+r $(GRI_DIR)/doc/html/resources/* X! -cp ./examples/* $(GRI_DIR)/doc/html/examples X! -chmod a+r $(GRI_DIR)/doc/html/examples/* X! -cp ./*.html $(GRI_DIR)/doc/html X! -cp ./resources/logo.ps $(GRI_DIR)/doc/html/resources X! -cp ./resources/logo.gif $(GRI_DIR)/doc/html/resources X! -cp ./resources/logo.gri $(GRI_DIR)/doc/html/resources X -chmod a+r $(GRI_DIR)/* X- -make html-clean X X html-clean: X -cp FAQ.html save X--- 53,66 ---- X perl archive-to-html.pl > Newsgroup.html X X html-install: X! -cp ./resources/*.gif $(GRI_DIR)/html/resources X! -chmod a+r $(GRI_DIR)/html/resources/* X! -cp ./examples/* $(GRI_DIR)/html/examples X! -chmod a+r $(GRI_DIR)/html/examples/* X! -cp ./*.html $(GRI_DIR)/html X! -cp ./resources/logo.eps $(GRI_DIR)/html/resources X! -cp ./resources/logo.gif $(GRI_DIR)/html/resources X -chmod a+r $(GRI_DIR)/* X X html-clean: X -cp FAQ.html save END-of-gri/files/patch-ab echo x - gri/files/patch-aa sed 's/^X//' >gri/files/patch-aa << 'END-of-gri/files/patch-aa' X*** Makefile.in.orig Sun May 7 11:44:07 2000 X--- Makefile.in Sat Sep 23 12:10:29 2000 X*************** X*** 154,167 **** X install: all X echo "Installing into '$(prefix)' directory" X cat startup.msg | sed -e s,VSN,${VERSION}, > tmp X $(INSTALL_DATA) tmp $(prefix)/share/gri/startup.msg X rm -f tmp X $(INSTALL_PROGRAM) gri $(prefix)/bin/gri X $(INSTALL_DATA) gri.cmd $(prefix)/share/gri/gri.cmd X $(INSTALL_DATA) license.txt $(prefix)/share/gri/license.txt X! $(INSTALL_PROGRAM) gri_merge $(prefix)/bin/gri_merge X! $(INSTALL_PROGRAM) gri_unpage $(prefix)/bin/gri_unpage X! cd doc; prefix=$(prefix) make html-install X X all: force X make gri X--- 154,167 ---- X install: all X echo "Installing into '$(prefix)' directory" X cat startup.msg | sed -e s,VSN,${VERSION}, > tmp X+ -@mkdir $(prefix)/share/gri X $(INSTALL_DATA) tmp $(prefix)/share/gri/startup.msg X rm -f tmp X $(INSTALL_PROGRAM) gri $(prefix)/bin/gri X $(INSTALL_DATA) gri.cmd $(prefix)/share/gri/gri.cmd X $(INSTALL_DATA) license.txt $(prefix)/share/gri/license.txt X! $(INSTALL_DATA) gri_merge $(prefix)/bin/gri_merge X! $(INSTALL_DATA) gri_unpage $(prefix)/bin/gri_unpage X X all: force X make gri END-of-gri/files/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message