New port: math/gri

Gri is an extensible plotting language for producing scientific graphs

PR:		21995
Submitted by:	M. L. Dodson <bdodson@scms.utmb.EDU>
This commit is contained in:
James E. Housley
2000-10-28 12:36:04 +00:00
parent 9c2af76ca5
commit d391bfd2dd
8 changed files with 405 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
SUBDIR += gnuplot
SUBDIR += gnuplot+
SUBDIR += grace
SUBDIR += gri
SUBDIR += grpn
SUBDIR += gsl
SUBDIR += hexcalc

39
math/gri/Makefile Normal file
View File

@@ -0,0 +1,39 @@
# New ports collection makefile for: gri
# Date created: 14 Oct 2000
# Whom: M. L. Dodson, <bdodson@scms.utmb.edu>
#
# $FreeBSD$
#
PORTNAME= gri
PORTVERSION= 2.4.4
CATEGORIES= math
MASTER_SITES= ftp://ftp.phys.ocean.dal.ca/users/kelley/gri/source/
EXTRACT_SUFX= .tgz
MAINTAINER= bdodson@scms.utmb.edu
LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
GNU_CONFIGURE= YES
ALL_TARGET= gri
MAN1= gri.1
MANCOMPRESSED= yes
post-install:
.if !defined(${NOPORTDOCS})
@-mkdir -p ${PREFIX}/share/doc/gri
@-mkdir -p ${PREFIX}/share/doc/gri/html
@-mkdir -p ${PREFIX}/share/doc/gri/html/examples
@-mkdir -p ${PREFIX}/share/doc/gri/html/resources
@cd ${WRKSRC}/doc && make PREFIX=${PREFIX} html-install
.endif
@cd ${WRKSRC}/doc && \
make PREFIX=${PREFIX} INSTALL_MAN="${INSTALL_MAN}" man-install
${CHMOD} 555 ${PREFIX}/bin/gri_merge
${CHMOD} 555 ${PREFIX}/bin/gri_unpage
${RM} ${PREFIX}/share/gri/license.txt
.include <bsd.port.mk>

1
math/gri/distinfo Normal file
View File

@@ -0,0 +1 @@
MD5 (gri-2.4.4.tgz) = 2aaad67d5ffc787dabc32f4aa1d2212a

33
math/gri/files/patch-aa Normal file
View File

@@ -0,0 +1,33 @@
*** Makefile.in.orig Sun May 7 11:44:07 2000
--- Makefile.in Sat Sep 23 12:10:29 2000
***************
*** 154,167 ****
install: all
echo "Installing into '$(prefix)' directory"
cat startup.msg | sed -e s,VSN,${VERSION}, > tmp
$(INSTALL_DATA) tmp $(prefix)/share/gri/startup.msg
rm -f tmp
$(INSTALL_PROGRAM) gri $(prefix)/bin/gri
$(INSTALL_DATA) gri.cmd $(prefix)/share/gri/gri.cmd
$(INSTALL_DATA) license.txt $(prefix)/share/gri/license.txt
! $(INSTALL_PROGRAM) gri_merge $(prefix)/bin/gri_merge
! $(INSTALL_PROGRAM) gri_unpage $(prefix)/bin/gri_unpage
! cd doc; prefix=$(prefix) make html-install
all: force
make gri
--- 154,167 ----
install: all
echo "Installing into '$(prefix)' directory"
cat startup.msg | sed -e s,VSN,${VERSION}, > tmp
+ -@mkdir $(prefix)/share/gri
$(INSTALL_DATA) tmp $(prefix)/share/gri/startup.msg
rm -f tmp
$(INSTALL_PROGRAM) gri $(prefix)/bin/gri
$(INSTALL_DATA) gri.cmd $(prefix)/share/gri/gri.cmd
$(INSTALL_DATA) license.txt $(prefix)/share/gri/license.txt
! $(INSTALL_DATA) gri_merge $(prefix)/bin/gri_merge
! $(INSTALL_DATA) gri_unpage $(prefix)/bin/gri_unpage
all: force
make gri

88
math/gri/files/patch-ab Normal file
View File

@@ -0,0 +1,88 @@
*** doc/Makefile.orig Sun May 7 11:44:08 2000
--- doc/Makefile Sat Sep 23 12:49:29 2000
***************
*** 1,6 ****
# Makefile for Gri documentation files.
! GRI_DIR = /opt/gri
DEST_BIN = /doc/info
RM = rm -f
REFCARD = refcard
--- 1,6 ----
# Makefile for Gri documentation files.
! GRI_DIR = $(PREFIX)/share/doc/gri
DEST_BIN = /doc/info
RM = rm -f
REFCARD = refcard
***************
*** 11,22 ****
FORCE:
all:
- make info
make html
! install:
! make info-install
! make html-install
read:
chmod a+r Makefile
--- 11,27 ----
FORCE:
all:
make html
! # make info
! # make html
!
! man-install:
! gzip -nfc -9 gri-manpage.1 > gri.1.gz
! ${INSTALL_MAN} gri.1.gz ${PREFIX}/man/man1
!
! # make info-install
! # make html-install
read:
chmod a+r Makefile
***************
*** 48,69 ****
perl archive-to-html.pl > Newsgroup.html
html-install:
! # GRI_DIR = /opt/gri
! if test ! -d $(GRI_DIR) ; then mkdir -m 755 -p $(GRI_DIR) ; fi
! if test ! -d $(GRI_DIR)/doc ; then mkdir -m 755 -p $(GRI_DIR)/doc ; fi
! if test ! -d $(GRI_DIR)/doc/html ; then mkdir -m 755 -p $(GRI_DIR)/doc/html ; fi
! if test ! -d $(GRI_DIR)/doc/html/examples ; then mkdir -m 755 -p $(GRI_DIR)/doc/html/examples ; fi
! if test ! -d $(GRI_DIR)/doc/html/resources ; then mkdir -m 755 -p $(GRI_DIR)/doc/html/resources ; fi
! -cp ./resources/*.gif $(GRI_DIR)/doc/html/resources
! -chmod a+r $(GRI_DIR)/doc/html/resources/*
! -cp ./examples/* $(GRI_DIR)/doc/html/examples
! -chmod a+r $(GRI_DIR)/doc/html/examples/*
! -cp ./*.html $(GRI_DIR)/doc/html
! -cp ./resources/logo.ps $(GRI_DIR)/doc/html/resources
! -cp ./resources/logo.gif $(GRI_DIR)/doc/html/resources
! -cp ./resources/logo.gri $(GRI_DIR)/doc/html/resources
-chmod a+r $(GRI_DIR)/*
- -make html-clean
html-clean:
-cp FAQ.html save
--- 53,66 ----
perl archive-to-html.pl > Newsgroup.html
html-install:
! -cp ./resources/*.gif $(GRI_DIR)/html/resources
! -chmod a+r $(GRI_DIR)/html/resources/*
! -cp ./examples/* $(GRI_DIR)/html/examples
! -chmod a+r $(GRI_DIR)/html/examples/*
! -cp ./*.html $(GRI_DIR)/html
! -cp ./resources/logo.eps $(GRI_DIR)/html/resources
! -cp ./resources/logo.gif $(GRI_DIR)/html/resources
-chmod a+r $(GRI_DIR)/*
html-clean:
-cp FAQ.html save

1
math/gri/pkg-comment Normal file
View File

@@ -0,0 +1 @@
Gri is an extensible plotting language for producing scientific graphs

11
math/gri/pkg-descr Normal file
View File

@@ -0,0 +1,11 @@
Gri is a language for scientific graphics applications. By 'language' I mean
that it is a command-driven application, as opposed to a click/point
application. It is analogous to latex or tex, and shares the property that
extensive power is the reward for tolerating a modest learning curve. Gri
output is in industry-standard PostScript, suitable for incorporation in
documents prepared by various text processors. Gri can make x-y graphs,
contour-graphs, and image graphs. In addition to high-level capabilities, it
has enough low-level capabilities to allow users to achieve a high degree of
customization. Precise control is extended to all aspects of drawing, including
line-widths, colors, and fonts. Text includes a subset of the tex language, so
that it is easy to incorporate Greek letters and mathematical symbols in labels.

231
math/gri/pkg-plist Normal file
View File

@@ -0,0 +1,231 @@
bin/gri
bin/gri_merge
bin/gri_unpage
share/doc/gri/html/examples/FEM.gif
share/doc/gri/html/examples/model.elements
share/doc/gri/html/examples/example9b.dat
share/doc/gri/html/examples/example9a.dat
share/doc/gri/html/examples/example9.txt
share/doc/gri/html/examples/example9.ps
share/doc/gri/html/examples/example9.gri
share/doc/gri/html/examples/example9.gif
share/doc/gri/html/examples/example9-tiny.gif
share/doc/gri/html/examples/example8b.dat
share/doc/gri/html/examples/example8a.dat
share/doc/gri/html/examples/example8.txt
share/doc/gri/html/examples/example8.ps
share/doc/gri/html/examples/example8.gri
share/doc/gri/html/examples/example8.gif
share/doc/gri/html/examples/example8-tiny.gif
share/doc/gri/html/examples/example7g.dat
share/doc/gri/html/examples/example7f.dat
share/doc/gri/html/examples/example7e.dat
share/doc/gri/html/examples/example7d.dat
share/doc/gri/html/examples/FEM.txt
share/doc/gri/html/examples/example7c.dat
share/doc/gri/html/examples/example7b.dat
share/doc/gri/html/examples/example7a.dat
share/doc/gri/html/examples/example7.txt
share/doc/gri/html/examples/example7.ps
share/doc/gri/html/examples/example7.gri
share/doc/gri/html/examples/example7.gif
share/doc/gri/html/examples/example7-tiny.gif
share/doc/gri/html/examples/example6mask.dat
share/doc/gri/html/examples/example6image.dat
share/doc/gri/html/examples/example6histogram.txt
share/doc/gri/html/examples/example6histogram.ps
share/doc/gri/html/examples/example6histogram.gri
share/doc/gri/html/examples/example6histogram.gif
share/doc/gri/html/examples/example6color.txt
share/doc/gri/html/examples/example6color.ps
share/doc/gri/html/examples/example6color.gri
share/doc/gri/html/examples/example6color.gif
share/doc/gri/html/examples/example6.txt
share/doc/gri/html/examples/example6color-tiny.gif
share/doc/gri/html/examples/example6.ps
share/doc/gri/html/examples/example6.gri
share/doc/gri/html/examples/example6.gif
share/doc/gri/html/examples/example6-tiny.gif
share/doc/gri/html/examples/example5.txt
share/doc/gri/html/examples/example5.ps
share/doc/gri/html/examples/example5.gri
share/doc/gri/html/examples/example5.gif
share/doc/gri/html/examples/example5.dat
share/doc/gri/html/examples/example5-tiny.gif
share/doc/gri/html/examples/example4.txt
share/doc/gri/html/examples/example4.ps
share/doc/gri/html/examples/example4.gri
share/doc/gri/html/examples/example4.gif
share/doc/gri/html/examples/example4-tiny.gif
share/doc/gri/html/examples/example3.txt
share/doc/gri/html/examples/example3.ps
share/doc/gri/html/examples/example3.gri
share/doc/gri/html/examples/example3.gif
share/doc/gri/html/examples/example3-tiny.gif
share/doc/gri/html/examples/example2.txt
share/doc/gri/html/examples/example2.ps
share/doc/gri/html/examples/example2.gri
share/doc/gri/html/examples/example2.gif
share/doc/gri/html/examples/example2-tiny.gif
share/doc/gri/html/examples/example13.txt
share/doc/gri/html/examples/example13.ps
share/doc/gri/html/examples/example13.gri
share/doc/gri/html/examples/example13.gif
share/doc/gri/html/examples/example13.dat
share/doc/gri/html/examples/example13-tiny.gif
share/doc/gri/html/examples/example12.txt
share/doc/gri/html/examples/example12.ps
share/doc/gri/html/examples/example12.gri
share/doc/gri/html/examples/example12.gif
share/doc/gri/html/examples/example12.dat
share/doc/gri/html/examples/example12-tiny.gif
share/doc/gri/html/examples/example11.txt
share/doc/gri/html/examples/example11.ps
share/doc/gri/html/examples/example11.gri
share/doc/gri/html/examples/example11.gif
share/doc/gri/html/examples/example11.dat
share/doc/gri/html/examples/example11-tiny.gif
share/doc/gri/html/examples/example10color.txt
share/doc/gri/html/examples/example10color.ps
share/doc/gri/html/examples/example10color.gri
share/doc/gri/html/examples/example10color.gif
share/doc/gri/html/examples/example10.txt
share/doc/gri/html/examples/example10.ps
share/doc/gri/html/examples/example10.gri
share/doc/gri/html/examples/example10.gif
share/doc/gri/html/examples/example10.dat
share/doc/gri/html/examples/example10-tiny.gif
share/doc/gri/html/examples/example1.txt
share/doc/gri/html/examples/example1.ps
share/doc/gri/html/examples/example1.gri
share/doc/gri/html/examples/example1.gif
share/doc/gri/html/examples/example1.dat
share/doc/gri/html/examples/example1-tiny.gif
share/doc/gri/html/examples/Makefile
share/doc/gri/html/examples/FEM.ps
share/doc/gri/html/examples/FEM.pl
share/doc/gri/html/examples/FEM.gri
share/doc/gri/html/examples/model.nodes
share/doc/gri/html/resources/bottom_banner.gif
share/doc/gri/html/resources/version-diagram-2.2.gif
share/doc/gri/html/resources/top_banner.gif
share/doc/gri/html/resources/symbols.gif
share/doc/gri/html/resources/sm_bg.gif
share/doc/gri/html/resources/pixel.gif
share/doc/gri/html/resources/math_symbols.gif
share/doc/gri/html/resources/logo.gif
share/doc/gri/html/resources/logo.eps
share/doc/gri/html/resources/version-diagram-2.4.gif
share/doc/gri/html/Access.html
share/doc/gri/html/gri1.html
share/doc/gri/html/X-Y.html
share/doc/gri/html/Write.html
share/doc/gri/html/While.html
share/doc/gri/html/Viewing.html
share/doc/gri/html/Variables.html
share/doc/gri/html/Text.html
share/doc/gri/html/TSDiagram.html
share/doc/gri/html/System.html
share/doc/gri/html/Synonyms.html
share/doc/gri/html/Superuser.html
share/doc/gri/html/State.html
share/doc/gri/html/Sprintf.html
share/doc/gri/html/Smooth.html
share/doc/gri/html/Skip.html
share/doc/gri/html/SimpleExample.html
share/doc/gri/html/Show.html
share/doc/gri/html/Set.html
share/doc/gri/html/RunningMeans.html
share/doc/gri/html/Rpnfunction.html
share/doc/gri/html/Rewind.html
share/doc/gri/html/ReversePolishMath.html
share/doc/gri/html/Return.html
share/doc/gri/html/ResourceFile.html
share/doc/gri/html/Resize.html
share/doc/gri/html/Rescale.html
share/doc/gri/html/Reorder.html
share/doc/gri/html/Regress.html
share/doc/gri/html/Read.html
share/doc/gri/html/Quit.html
share/doc/gri/html/Query.html
share/doc/gri/html/Pwd.html
share/doc/gri/html/Programming.html
share/doc/gri/html/PostScript.html
share/doc/gri/html/Polygons.html
share/doc/gri/html/PDFDiagram.html
share/doc/gri/html/OverviewSystemTools.html
share/doc/gri/html/OperatingSystem.html
share/doc/gri/html/Open.html
share/doc/gri/html/Newsgroup.html
share/doc/gri/html/Newpage.html
share/doc/gri/html/Newfeatures.html
share/doc/gri/html/NewCommands2.html
share/doc/gri/html/NewCommands1.html
share/doc/gri/html/New.html
share/doc/gri/html/Mathematics.html
share/doc/gri/html/Mask.html
share/doc/gri/html/Ls.html
share/doc/gri/html/Loops.html
share/doc/gri/html/List.html
share/doc/gri/html/License.html
share/doc/gri/html/LibraryFiles.html
share/doc/gri/html/Legend.html
share/doc/gri/html/InvokingGri.html
share/doc/gri/html/Introduction.html
share/doc/gri/html/Interpolate.html
share/doc/gri/html/Insert.html
share/doc/gri/html/Input.html
share/doc/gri/html/ImageWithContours.html
share/doc/gri/html/ImageExt.html
share/doc/gri/html/ImageExample.html
share/doc/gri/html/Image.html
share/doc/gri/html/Ignore.html
share/doc/gri/html/IfStatements.html
share/doc/gri/html/If.html
share/doc/gri/html/Hints.html
share/doc/gri/html/Help.html
share/doc/gri/html/Heal.html
share/doc/gri/html/GetEnv.html
share/doc/gri/html/GeneralIssues.html
share/doc/gri/html/Flip.html
share/doc/gri/html/Filter.html
share/doc/gri/html/Fig2Gri.html
share/doc/gri/html/FancyPlot.html
share/doc/gri/html/FancyExample.html
share/doc/gri/html/FEM.html
share/doc/gri/html/Extras.html
share/doc/gri/html/Expecting.html
share/doc/gri/html/Examples.html
share/doc/gri/html/Evolution.html
share/doc/gri/html/ErrorMessages.html
share/doc/gri/html/Emacs.html
share/doc/gri/html/Draw.html
share/doc/gri/html/Delete.html
share/doc/gri/html/DiscussionGroup.html
share/doc/gri/html/Differentiate.html
share/doc/gri/html/Defaults.html
share/doc/gri/html/Debugging.html
share/doc/gri/html/Debug.html
share/doc/gri/html/Data.html
share/doc/gri/html/Create.html
share/doc/gri/html/Convert.html
share/doc/gri/html/ContouringExample.html
share/doc/gri/html/Contour.html
share/doc/gri/html/ConceptIndex.html
share/doc/gri/html/CommandsOverview.html
share/doc/gri/html/Commands.html
share/doc/gri/html/CommandSyntax.html
share/doc/gri/html/Color.html
share/doc/gri/html/Close.html
share/doc/gri/html/Cd.html
share/doc/gri/html/Bugs.html
share/doc/gri/html/BoxPlots.html
share/doc/gri/html/Acknowledgments.html
share/doc/gri/html/index.html
share/gri/startup.msg
share/gri/gri.cmd
@dirrm share/gri
@dirrm share/doc/gri/html/examples
@dirrm share/doc/gri/html/resources
@dirrm share/doc/gri/html
@dirrm share/doc/gri