1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

New port: graphics/gmt

The Generic Mapping Tools data processing and display
	software package.

PR:		ports/37972
Submitted by:	Stefan `Sec` Zehl <sec@ice.42.org>
This commit is contained in:
Edwin Groothuis 2003-02-03 08:42:41 +00:00
parent 5e1eef83e4
commit 242c54a918
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74551
7 changed files with 511 additions and 0 deletions

View File

@ -105,6 +105,7 @@
SUBDIR += glide3
SUBDIR += gliv
SUBDIR += gltk
SUBDIR += gmt
SUBDIR += gnofract4d
SUBDIR += gnomecanvas
SUBDIR += gnomeiconedit

91
graphics/gmt/Makefile Normal file
View File

@ -0,0 +1,91 @@
# New ports collection makefile for: gmt
# Date created: 10 May 2001
# Whom: sec@42.org
#
# $FreeBSD$
#
PORTNAME= gmt
PORTVERSION= 3.4.1
CATEGORIES= graphics
MASTER_SITES= ftp://gmt.soest.hawaii.edu/pub/gmt/ \
ftp://falcon.grdl.noaa.gov/pub/gmt/ \
ftp://ftp.iag.usp.br/pub/gmt/ \
ftp://ftp.geologi.uio.no/pub/gmt/ \
ftp://life.csu.edu.au/pub/gmt/ \
ftp://ftp.eos.hokudai.ac.jp/pub/gmt/
DISTNAME= GMT${PORTVERSION}
DISTFILES= ${EXTRACT_ONLY} ${EXTRACT_SUB}
DIST_SUBDIR= gmt
EXTRACT_ONLY= ${DISTNAME}_progs${EXTRACT_SUFX} \
${DISTNAME}_man${EXTRACT_SUFX}
MAINTAINER= sec@42.org
LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
EXTRACT_SUB= GMT_share${EXTRACT_SUFX}
USE_BZIP2= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/${PORTNAME} \
--enable-wrapbin=${PREFIX}/bin \
--enable-wrapman=${PREFIX}/man \
--enable-shared
MAKE_ENV+= NETCDFHOME=${LOCALBASE}
INSTALL_TARGET= install install-data install-man install-wrapper
post-extract:
@for file in ${EXTRACT_SUB}; do \
if ! (cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
then \
exit 1; \
fi \
done
.ifdef(WITH_EVERYTHING)
WITH_COAST_HIGH=YES
WITH_COAST_FULL=YES
WITH_FAST_TRIANGLE=YES
WITH_SUPPL=YES
.endif
# High-rez coastlines (8M):
.ifdef(WITH_COAST_HIGH)
EXTRACT_SUB+= GMT_high${EXTRACT_SUFX}
PLIST_SUB+= COAST_HIGH=""
.else
PLIST_SUB+= COAST_HIGH="@comment "
.endif
# Full-rez coastlines (28M):
.ifdef(WITH_COAST_FULL)
EXTRACT_SUB+= GMT_full${EXTRACT_SUFX}
PLIST_SUB+= COAST_FULL=""
.else
PLIST_SUB+= COAST_FULL="@comment "
.endif
# Jonathan Shewchuck's Delauney triangulation routines (non-GPL)
.ifdef(WITH_FAST_TRIANGLE)
EXTRACT_SUB+= triangle${EXTRACT_SUFX}
RESTRICTED= No commercial use
RESTRICTED_FILES= triangle${EXTRACT_SUFX}
CONFIGURE_ARGS+= --enable-triangle
.endif
WITH_SUPPL?= YES
# Supplemental programs which use GMT
.if defined(WITH_SUPPL) && ${WITH_SUPPL} != "NO"
EXTRACT_ONLY+= ${DISTNAME}_suppl${EXTRACT_SUFX}
INSTALL_TARGET+= install-suppl
PLIST_SUB+= SUPPL=""
post-configure:
${TOUCH} ${WRKSRC}/src/mex/.skip
.else
PLIST_SUB+= SUPPL="@comment "
.endif
MANL= GMT.l
.include <bsd.port.mk>

4
graphics/gmt/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (gmt/GMT3.4.1_progs.tar.bz2) = 18e41b07681ef727421048b2779ff268
MD5 (gmt/GMT3.4.1_man.tar.bz2) = 4d22cf8bdf42fdbc7828630ae1090b55
MD5 (gmt/GMT3.4.1_suppl.tar.bz2) = fac0a898fdc75e9ef1542608c9b28218
MD5 (gmt/GMT_share.tar.bz2) = 7375498ea9894255e753bd377ef6eafb

View File

@ -0,0 +1,19 @@
--- Makefile.org Thu Jan 17 18:42:50 2002
+++ Makefile Sat May 11 20:22:31 2002
@@ -104,14 +104,14 @@
done
mex_config:
- if [ ! -f src/mex/makefile ]; then \
+ if [ -d src/mex -a ! -f src/mex/makefile ]; then \
cd src/mex; \
\rm -f config.{cache,log,status}; \
./configure; \
fi
xgrid_config:
- if [ ! -f src/xgrid/makefile ]; then \
+ if [ -d src/xgrid -a ! -f src/xgrid/makefile ]; then \
cd src/xgrid; \
\rm -f config.{cache,log,status}; \
./configure; \

1
graphics/gmt/pkg-comment Normal file
View File

@ -0,0 +1 @@
The Generic Mapping Tools data processing and display software package

18
graphics/gmt/pkg-descr Normal file
View File

@ -0,0 +1,18 @@
GMT is a collection of public-domain Unix tools that allows you to
manipulate x,y and x,y,z data sets (filtering, trend fitting,
gridding, projecting, etc.) and produce PostScript illustrations
ranging from simple x-y plots, via contour maps, to artificially
illuminated surfaces and 3-d perspective views in black/white or
24bit color. Linear, log10, and power scaling is supported in
addition to 25 common map projections. The processing and display
routines within GMT are completely general and will handle any (x,y)
or (x,y,z) data as input.
This port installs only the GMT manpages, there is a tutorial and
documentation in .ps, .pdf and .html format on the ftp site, too.
In case you look for data to plot, there is topological data at
ftp://topex.ucsd.edu/pub/global_topo_2min/topo_8.2.img
(140MB, covers nearly the whole earth)
WWW: http://gmt.soest.hawaii.edu/

377
graphics/gmt/pkg-plist Normal file
View File

@ -0,0 +1,377 @@
bin/GMT
gmt/bin/blockmean
gmt/bin/blockmedian
gmt/bin/blockmode
gmt/bin/filter1d
gmt/bin/fitcircle
gmt/bin/grdfilter
gmt/bin/gmtconvert
gmt/bin/gmtdefaults
gmt/bin/gmtmath
gmt/bin/gmtselect
gmt/bin/gmtset
gmt/bin/grd2cpt
gmt/bin/grd2xyz
gmt/bin/grdcontour
gmt/bin/grdcut
gmt/bin/grdclip
gmt/bin/grdedit
gmt/bin/grdfft
gmt/bin/grdgradient
gmt/bin/grdhisteq
gmt/bin/grdimage
gmt/bin/grdinfo
gmt/bin/grdlandmask
gmt/bin/grdmask
gmt/bin/grdtrack
gmt/bin/grdreformat
gmt/bin/grdmath
gmt/bin/grdpaste
gmt/bin/grdproject
gmt/bin/grdsample
gmt/bin/grdtrend
gmt/bin/grdvector
gmt/bin/grdview
gmt/bin/grdvolume
gmt/bin/makecpt
gmt/bin/mapproject
gmt/bin/minmax
gmt/bin/nearneighbor
gmt/bin/project
gmt/bin/psbasemap
gmt/bin/psclip
gmt/bin/pscoast
gmt/bin/pshistogram
gmt/bin/psimage
gmt/bin/psmask
gmt/bin/psrose
gmt/bin/psscale
gmt/bin/pstext
gmt/bin/pscontour
gmt/bin/pswiggle
gmt/bin/psxy
gmt/bin/psxyz
gmt/bin/sample1d
gmt/bin/spectrum1d
gmt/bin/splitxyz
gmt/bin/surface
gmt/bin/trend1d
gmt/bin/trend2d
gmt/bin/triangulate
gmt/bin/xyz2grd
gmt/bin/GMT
gmt/lib/libpsl.a
gmt/lib/libgmt.a
gmt/lib/libpsl.so
gmt/lib/libgmt.so
gmt/include/gmt.h
gmt/include/gmt_math.h
gmt/include/gmt_nan.h
gmt/include/gmt_map.h
gmt/include/gmt_boundcond.h
gmt/include/gmt_shore.h
gmt/include/gmt_project.h
gmt/include/gmt_grd.h
gmt/include/gmt_funcnames.h
gmt/include/gmt_colors.h
gmt/include/gmt_grdio.h
gmt/include/gmt_customio.h
gmt/include/gmt_bcr.h
gmt/include/gmt_unique.h
gmt/include/gmt_keywords.h
gmt/include/gmt_io.h
gmt/include/gmt_notposix.h
gmt/include/gmt_notunix.h
gmt/include/pslib.h
gmt/share/GMT_CPT.lis
gmt/share/ps_pattern_89.ras
gmt/share/ps_pattern_88.ras
gmt/share/ps_pattern_87.ras
gmt/share/ps_pattern_86.ras
gmt/share/ps_pattern_85.ras
gmt/share/ps_pattern_84.ras
gmt/share/ps_pattern_83.ras
gmt/share/ps_pattern_82.ras
gmt/share/ps_pattern_81.ras
gmt/share/ps_pattern_80.ras
gmt/share/ps_pattern_79.ras
gmt/share/ps_pattern_78.ras
gmt/share/ps_pattern_77.ras
gmt/share/ps_pattern_76.ras
gmt/share/ps_pattern_75.ras
gmt/share/ps_pattern_74.ras
gmt/share/gmtmedia.d
gmt/share/ps_pattern_73.ras
gmt/share/ps_pattern_72.ras
gmt/share/ps_pattern_71.ras
gmt/share/ps_pattern_70.ras
gmt/share/ps_pattern_69.ras
gmt/share/ps_pattern_68.ras
gmt/share/ps_pattern_67.ras
gmt/share/ps_pattern_66.ras
gmt/share/ps_pattern_65.ras
gmt/share/ps_pattern_64.ras
gmt/share/ps_pattern_63.ras
gmt/share/ps_pattern_62.ras
gmt/share/ps_pattern_61.ras
gmt/share/ps_pattern_60.ras
gmt/share/ps_pattern_59.ras
gmt/share/ps_pattern_58.ras
gmt/share/ps_pattern_57.ras
gmt/share/ps_pattern_56.ras
gmt/share/ps_pattern_55.ras
gmt/share/ps_pattern_54.ras
gmt/share/ps_pattern_53.ras
gmt/share/ps_pattern_52.ras
gmt/share/ps_pattern_51.ras
gmt/share/ps_pattern_50.ras
gmt/share/ps_pattern_49.ras
gmt/share/ps_pattern_48.ras
gmt/share/ps_pattern_47.ras
gmt/share/ps_pattern_46.ras
gmt/share/ps_pattern_45.ras
gmt/share/ps_pattern_44.ras
gmt/share/ps_pattern_43.ras
gmt/share/ps_pattern_42.ras
gmt/share/ps_pattern_41.ras
gmt/share/ps_pattern_40.ras
gmt/share/ps_pattern_39.ras
gmt/share/ps_pattern_38.ras
gmt/share/ps_pattern_37.ras
gmt/share/ps_pattern_36.ras
gmt/share/ps_pattern_35.ras
gmt/share/ps_pattern_34.ras
gmt/share/ps_pattern_33.ras
gmt/share/ps_pattern_32.ras
gmt/share/ps_pattern_31.ras
gmt/share/ps_pattern_30.ras
gmt/share/ps_pattern_29.ras
gmt/share/ps_pattern_28.ras
gmt/share/ps_pattern_27.ras
gmt/share/ps_pattern_26.ras
gmt/share/ps_pattern_25.ras
gmt/share/ps_pattern_24.ras
gmt/share/ps_pattern_23.ras
gmt/share/ps_pattern_22.ras
gmt/share/ps_pattern_21.ras
gmt/share/ps_pattern_20.ras
gmt/share/ps_pattern_19.ras
gmt/share/ps_pattern_18.ras
gmt/share/ps_pattern_17.ras
gmt/share/ps_pattern_16.ras
gmt/share/ps_pattern_15.ras
gmt/share/ps_pattern_14.ras
gmt/share/ps_pattern_13.ras
gmt/share/ps_pattern_12.ras
gmt/share/ps_pattern_11.ras
gmt/share/ps_pattern_10.ras
gmt/share/ps_pattern_09.ras
gmt/share/ps_pattern_08.ras
gmt/share/ps_pattern_07.ras
gmt/share/ps_pattern_06.ras
gmt/share/ps_pattern_05.ras
gmt/share/ps_pattern_04.ras
gmt/share/ps_pattern_03.ras
gmt/share/ps_pattern_02.ras
gmt/share/ps_pattern_01.ras
gmt/share/gmtformats.d
gmt/share/gmt.conf.orig
gmt/share/gmt.conf
gmt/share/binned_river_l.cdf
gmt/share/binned_river_i.cdf
gmt/share/binned_river_c.cdf
gmt/share/binned_border_l.cdf
gmt/share/binned_border_i.cdf
gmt/share/binned_border_c.cdf
gmt/share/binned_GSHHS_l.cdf
gmt/share/binned_GSHHS_i.cdf
gmt/share/binned_GSHHS_c.cdf
gmt/share/PSL_text.ps
gmt/share/GMT_wysiwyg.cpt
gmt/share/GMT_topo.cpt
gmt/share/GMT_split.cpt
gmt/share/GMT_seis.cpt
gmt/share/GMT_sealand.cpt
gmt/share/GMT_relief.cpt
gmt/share/GMT_red2green.cpt
gmt/share/GMT_rainbow.cpt
gmt/share/GMT_polar.cpt
gmt/share/GMT_ocean.cpt
gmt/share/GMT_no_green.cpt
gmt/share/GMT_jet.cpt
gmt/share/GMT_hot.cpt
gmt/share/GMT_haxby.cpt
gmt/share/GMT_gray.cpt
gmt/share/GMT_globe.cpt
gmt/share/GMT_gebco.cpt
gmt/share/GMT_copper.cpt
gmt/share/GMT_cool.cpt
gmt/share/ps_pattern_90.ras
gmt/share/.gmtdefaults_US.orig
gmt/share/.gmtdefaults_US
gmt/share/.gmtdefaults_SI.orig
gmt/share/.gmtdefaults_SI
gmt/man/manl/GMT.l
gmt/man/manl/triangulate.l
gmt/man/manl/trend2d.l
gmt/man/manl/trend1d.l
gmt/man/manl/surface.l
gmt/man/manl/splitxyz.l
gmt/man/manl/spectrum1d.l
gmt/man/manl/sample1d.l
gmt/man/manl/psxyz.l
gmt/man/manl/psxy.l
gmt/man/manl/pswiggle.l
gmt/man/manl/pstext.l
gmt/man/manl/psscale.l
gmt/man/manl/psrose.l
gmt/man/manl/psmask.l
gmt/man/manl/pslib.l
gmt/man/manl/psimage.l
gmt/man/manl/pshistogram.l
gmt/man/manl/pscontour.l
gmt/man/manl/pscoast.l
gmt/man/manl/psclip.l
gmt/man/manl/psbasemap.l
gmt/man/manl/project.l
gmt/man/manl/nearneighbor.l
gmt/man/manl/minmax.l
gmt/man/manl/mapproject.l
gmt/man/manl/makecpt.l
gmt/man/manl/grdvolume.l
gmt/man/manl/grdview.l
gmt/man/manl/grdvector.l
gmt/man/manl/grdtrend.l
gmt/man/manl/grdtrack.l
gmt/man/manl/grdsample.l
gmt/man/manl/grdreformat.l
gmt/man/manl/grdproject.l
gmt/man/manl/grdpaste.l
gmt/man/manl/grdmath.l
gmt/man/manl/grdmask.l
gmt/man/manl/grdlandmask.l
gmt/man/manl/grdinfo.l
gmt/man/manl/grdimage.l
gmt/man/manl/grdhisteq.l
gmt/man/manl/grdgradient.l
gmt/man/manl/grdfilter.l
gmt/man/manl/grdfft.l
gmt/man/manl/grdedit.l
gmt/man/manl/grdcut.l
gmt/man/manl/grdcontour.l
gmt/man/manl/grdclip.l
gmt/man/manl/grd2xyz.l
gmt/man/manl/grd2cpt.l
gmt/man/manl/gmtset.l
gmt/man/manl/gmtselect.l
gmt/man/manl/gmtmath.l
gmt/man/manl/gmtdefaults.l
gmt/man/manl/gmtconvert.l
gmt/man/manl/fitcircle.l
gmt/man/manl/filter1d.l
gmt/man/manl/blockmode.l
gmt/man/manl/blockmedian.l
gmt/man/manl/blockmean.l
gmt/man/manl/xyz2grd.l
%%COAST_FULL%%gmt/share/binned_GSHHS_f.cdf
%%COAST_FULL%%gmt/share/binned_border_f.cdf
%%COAST_FULL%%gmt/share/binned_river_f.cdf
%%COAST_HIGH%%gmt/share/binned_GSHHS_h.cdf
%%COAST_HIGH%%gmt/share/binned_border_h.cdf
%%COAST_HIGH%%gmt/share/binned_river_h.cdf
%%SUPPL%%gmt/bin/cpsencode
%%SUPPL%%gmt/bin/cpsdecode
%%SUPPL%%gmt/bin/grdraster
%%SUPPL%%gmt/bin/gshhs
%%SUPPL%%gmt/bin/gshhs_dp
%%SUPPL%%gmt/bin/img2mercgrd
%%SUPPL%%gmt/bin/img2grd
%%SUPPL%%gmt/bin/psmeca
%%SUPPL%%gmt/bin/pscoupe
%%SUPPL%%gmt/bin/pspolar
%%SUPPL%%gmt/bin/psvelo
%%SUPPL%%gmt/bin/binlegs
%%SUPPL%%gmt/bin/gmt2bin
%%SUPPL%%gmt/bin/gmt2dat
%%SUPPL%%gmt/bin/dat2gmt
%%SUPPL%%gmt/bin/gmtinfo
%%SUPPL%%gmt/bin/gmtlegs
%%SUPPL%%gmt/bin/gmtlist
%%SUPPL%%gmt/bin/gmtpath
%%SUPPL%%gmt/bin/gmttrack
%%SUPPL%%gmt/bin/mgd77togmt
%%SUPPL%%gmt/bin/psmegaplot
%%SUPPL%%gmt/bin/makepattern
%%SUPPL%%gmt/bin/pssegyz
%%SUPPL%%gmt/bin/pssegy
%%SUPPL%%gmt/bin/backtracker
%%SUPPL%%gmt/bin/hotspotter
%%SUPPL%%gmt/bin/originator
%%SUPPL%%gmt/bin/x2sys_datalist
%%SUPPL%%gmt/bin/x2sys_cross
%%SUPPL%%gmt/bin/x_edit
%%SUPPL%%gmt/bin/x_init
%%SUPPL%%gmt/bin/x_list
%%SUPPL%%gmt/bin/x_over
%%SUPPL%%gmt/bin/x_report
%%SUPPL%%gmt/bin/x_remove
%%SUPPL%%gmt/bin/x_setup
%%SUPPL%%gmt/bin/x_solve_dc_drift
%%SUPPL%%gmt/bin/x_update
%%SUPPL%%gmt/lib/libgmt_mgg.a
%%SUPPL%%gmt/lib/libx2sys.a
%%SUPPL%%gmt/share/x2sys/gmt.def
%%SUPPL%%gmt/share/x2sys/mgd77.def
%%SUPPL%%gmt/share/x2sys/xy.def
%%SUPPL%%gmt/share/x2sys/xyz.def
%%SUPPL%%gmt/man/manl/x_update.l
%%SUPPL%%gmt/man/manl/x_system.l
%%SUPPL%%gmt/man/manl/x_solve_dc_drift.l
%%SUPPL%%gmt/man/manl/x_setup.l
%%SUPPL%%gmt/man/manl/x_report.l
%%SUPPL%%gmt/man/manl/x_remove.l
%%SUPPL%%gmt/man/manl/x_over.l
%%SUPPL%%gmt/man/manl/x_list.l
%%SUPPL%%gmt/man/manl/x_init.l
%%SUPPL%%gmt/man/manl/x_edit.l
%%SUPPL%%gmt/man/manl/x2sys_datalist.l
%%SUPPL%%gmt/man/manl/x2sys_cross.l
%%SUPPL%%gmt/man/manl/psvelo.l
%%SUPPL%%gmt/man/manl/pssegyz.l
%%SUPPL%%gmt/man/manl/pssegy.l
%%SUPPL%%gmt/man/manl/pspolar.l
%%SUPPL%%gmt/man/manl/psmegaplot.l
%%SUPPL%%gmt/man/manl/psmeca.l
%%SUPPL%%gmt/man/manl/pscoupe.l
%%SUPPL%%gmt/man/manl/originator.l
%%SUPPL%%gmt/man/manl/mgd77togmt.l
%%SUPPL%%gmt/man/manl/makepattern.l
%%SUPPL%%gmt/man/manl/img2mercgrd.l
%%SUPPL%%gmt/man/manl/img2grd.l
%%SUPPL%%gmt/man/manl/hotspotter.l
%%SUPPL%%gmt/man/manl/grdraster.l
%%SUPPL%%gmt/man/manl/gmttrack.l
%%SUPPL%%gmt/man/manl/gmtpath.l
%%SUPPL%%gmt/man/manl/gmtlist.l
%%SUPPL%%gmt/man/manl/gmtlegs.l
%%SUPPL%%gmt/man/manl/gmtinfo.l
%%SUPPL%%gmt/man/manl/gmt2dat.l
%%SUPPL%%gmt/man/manl/gmt2bin.l
%%SUPPL%%gmt/man/manl/dat2gmt.l
%%SUPPL%%gmt/man/manl/cpsencode.l
%%SUPPL%%gmt/man/manl/cpsdecode.l
%%SUPPL%%gmt/man/manl/binlegs.l
%%SUPPL%%gmt/man/manl/backtracker.l
%%SUPPL%%gmt/share/mgg/carter.d
%%SUPPL%%gmt/share/mgg/gmtfile_paths
%%SUPPL%%gmt/share/dbase/grdraster.info
@dirrm gmt/bin
@dirrm gmt/lib
@dirrm gmt/include
%%SUPPL%%@dirrm gmt/share/x2sys
%%SUPPL%%@dirrm gmt/share/mgg
%%SUPPL%%@dirrm gmt/share/dbase
@dirrm gmt/share
@dirrm gmt/man/manl
@dirrm gmt/man
@dirrm gmt