diff options
author | jtb <jtb@pkgsrc.org> | 2002-05-03 23:45:10 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2002-05-03 23:45:10 +0000 |
commit | c72750f620031ac01310a395e153b74c2d081444 (patch) | |
tree | 6faa7b9c93fba64bd8c9c0b69898dff634e741c3 /graphics/gri/patches/patch-aa | |
parent | 142a7dae3b7840fbb27a7436f146f9a3ca659f34 (diff) | |
download | pkgsrc-c72750f620031ac01310a395e153b74c2d081444.tar.gz |
Initial import of gri.
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.
Diffstat (limited to 'graphics/gri/patches/patch-aa')
-rw-r--r-- | graphics/gri/patches/patch-aa | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/graphics/gri/patches/patch-aa b/graphics/gri/patches/patch-aa new file mode 100644 index 00000000000..defed2fc84d --- /dev/null +++ b/graphics/gri/patches/patch-aa @@ -0,0 +1,72 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/03 23:45:15 jtb Exp $ + +--- configure.in.orig Wed Apr 3 20:09:30 2002 ++++ configure.in Wed May 1 21:20:19 2002 +@@ -229,60 +229,13 @@ + AC_CHECK_HEADERS(unistd.h) + + +-dnl Check for netcdf library. It might be +-dnl in one of several places, so check +-dnl several locations, reporting location +-dnl if found. +-AC_MSG_CHECKING(for netcdf library) +-define(CHECK_FOR_NETCDF, [ +- if test -d /opt/netcdf/include ; then +- # +- # Solaris often has it here +- CXXFLAGS="$CXXFLAGS -I/opt/netcdf/include" +- LIBS="$LIBS -L/opt/netcdf/lib -lnetcdf" +- if test $gri_cv_is_sun = yes ; then +- LIBS="$LIBS -lnsl" +- fi +- AC_DEFINE(HAVE_LIBNETCDF) +- echo "yes (in /opt/netcdf/include/netcdf.h and /opt/netcdf/lib/libnetcdf.a)" +- else +- if test -f /usr/local/include/netcdf.h ; then +- CXXFLAGS="$CPPFLAGS -I/usr/local/include" +- LIBS="$LIBS -L/usr/local/lib -lnetcdf" +- if test $gri_cv_is_sun = yes ; then +- LIBS="$LIBS -lnsl" +- fi +- AC_DEFINE(HAVE_LIBNETCDF) +- echo "yes (in /usr/local/include/netcdf.h and /usr/local/lib/libnetcdf.a)" +- else +- # +- # Linux/debian often has it here. +- if test -f /usr/include/netcdf.h ; then +- CXXFLAGS="$CPPFLAGS -I/usr/include/netcdf" +- LIBS="$LIBS -L/usr/lib/netcdf -lnetcdf" +- if test $gri_cv_is_sun = yes ; then +- LIBS="$LIBS -lnsl" +- fi +- AC_DEFINE(HAVE_LIBNETCDF) +- echo "yes (in /usr/include/netcdf.h and /usr/lib/libnetcdf.a)" +- else +- if test -f /boot/home/lib/netcdf ; then +- CXXFLAGS="$CPPFLAGS -I/boot/home/include/netcdf" +- LIBS="$LIBS -L/boot/home/lib/netcdf -lnetcdf" +- if test $gri_cv_is_sun = yes ; then +- LIBS="$LIBS -lnsl" +- fi +- echo "yes (in /boot/home/netcdf)" +- AC_DEFINE(HAVE_LIBNETCDF) +- else +- echo "no" +- fi +- fi +- fi +- fi +-])dnl +-dnl +-CHECK_FOR_NETCDF ++AC_CHECK_LIB(netcdf, ncvarid, HAVE_LIBNETCDF="YES", HAVE_LIBNETCDF="") ++[ ++if test -n "$HAVE_LIBNETCDF" ; then ++ ] AC_DEFINE(HAVE_LIBNETCDF) [ ++ LIBS="-lnetcdf $LIBS" ++fi ++] + + AC_CHECK_LIB(m,sin) + AC_SUBST(EXTRA_CXXFLAGS) |