Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1:/tmp/cvs-serv17302
Added Files:
ccsl-1.0-2.info emboss-2.5.1-2.info emboss-2.5.1-2.patch
grace-5.1.10-2.info grace-5.1.10-2.patch grads-1.8.sl10-4.info
grads-1.8.sl10-4.patch grass-5.0.1-2.info
namot-2.2.0-pre3-2.info pgplot-perl-2.18-3.info
pgplot-perl-2.18-3.patch plotutils-2.4.1-6.info
r-base-atlas-1.6.1-3.info r-base-atlas-1.6.1-3.patch
Log Message:
libpng -> libpng3
--- NEW FILE: ccsl-1.0-2.info ---
Package: ccsl
Version: 1.0
Revision: 2
Source: ftp://ftp.ill.fr/pub/dif/CCSL/ccsl_doc.tar.gz
Source-MD5: d758ebb9e53380d8a45dffcf4d18b94f
Source2: ftp://ftp.ill.fr/pub/dif/CCSL/ccsl_source.tar.gz
SourceDirectory: ../%f
Source2-MD5: 64323f2a41e040259dd62eacefa90f72
Depends: libpng3-shlibs, pgplot, x11
BuildDepends: g77, libpng3
PatchScript: <<
mv Install Install_dist
sed s/sbin/bin/g Install_dist > Install
chmod a+x Install
touch fortran.errors
./Install
rm -f options/graphics_choices
echo "%p/lib/pgplot/libpgplot.a -L/usr/X11R6/lib -lX11 -lpng -framework Foundation
-framework AppKit" > options/graphics_choices
echo "pigpg # version of piglet which uses the above library" >>
options/graphics_choices
mv options/f77_choices options/f77_choices_dist
sed s/"-mips3"/""/g options/f77_choices_dist > options/f77_choices
<<
CompileScript: <<
#!/bin/csh
echo "Please ignore all ranlib errors, they will be corrected."
source environment
make all
mv source/pigmk4.f source/pigmk4.f_dist
grep -v PUTENV source/pigmk4.f_dist > source/pigmk4.f
ranlib lib/libmk4.a
make all
<<
InstallScript: <<
mkdir -p %i/share
mkdir -p %i/share/xtal
mkdir -p %i/share/xtal/%n
cp -R * %i/share/xtal/%n/.
mkdir -p %i/share/xtal/%n/doc
mkdir -p %i/share/xtal/%n/doc/tex
cp -p *.tex %i/share/xtal/%n/doc/tex/.
mkdir -p %i/share/xtal/%n/doc/html
cp -p html.doc/*.html %i/share/xtal/%n/doc/html/.
mkdir -p %i/share/doc
mkdir -p %i/share/doc/ccsl
ln -s %p/share/xtal/%n/doc %i/share/doc/%n
<<
RunTimeVars: <<
CCSL: %p/share/xtal/ccsl
CCSL_DOC: %p/share/xtal/ccsl/doc
CCSL_PERL: %p/share/xtal/ccsl/perl
CCSL_OPT: %p/share/xtal/ccsl/options
CCSL_SRC: %p/share/xtal/ccsl/source
CCSL_LIB: %p/share/xtal/ccsl/lib
CCSL_LIBDEST: %p/share/xtal/ccsl/lib
CCSL_EXE: %p/share/xtal/ccsl/exe
CCSL_GRAF: %p/share/xtal/ccsl/graf
CCSLIB: %p/share/xtal/ccsl/lib/libmk4.a
PATH: %p/share/xtal/ccsl/exe:$PATH
<<
Description: Cambridge Crystallographic Subroutine Library
DescDetail: <<
Cambridge Crystallographic Subroutine Library
is a library of subroutines for doing crystallographic and
related calculations. It is designed not so much as a set of
programs for determining and refining structures, for which
several other systems are available, but as toolbox to allow
the crystallography of non-trivial structures to be easily
introduced into user programs.
http://www.ill.fr/dif/ccsl/html/ccsldoc.html
<<
DocFiles: 0README manual.tex
License: Restrictive
Maintainer: W. G. Scott <[EMAIL PROTECTED]>
--- NEW FILE: emboss-2.5.1-2.info ---
Package: emboss
Version: 2.5.1
Revision: 2
Maintainer: Ben Hines <[EMAIL PROTECTED]>
Depends: x11, libpng3-shlibs, libjpeg-shlibs, gd-shlibs, tcltk-shlibs
BuildDepends: libpng3, libjpeg, gd, tcltk-dev, dlcompat-dev
Source: mirror:custom:EMBOSS-%v.tar.gz
CustomMirror: <<
Primary: ftp://ftp.uk.embnet.org/pub/EMBOSS/
Secondary: ftp://ftp.uk.embnet.org/pub/EMBOSS/old/
<<
Source-MD5: 2df6f29da94831361929a5d083ff716a
Patch: %f.patch
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
ConfigureParams: --with-java=/Library/Java/Home
--with-javaos=/Library/Java/Home/include
Installscript: <<
make install DESTDIR=%d
<<
RunTimeVars: PLPLOT_LIB: %p/share/EMBOSS/
DocFiles: AUTHORS ChangeLog COMPAT COPYING FAQ KNOWN_BUGS LICENSE NEWS ONEWS README
THANKS
Description: Molecular Biology Open Software Suite
DescDetail: <<
EMBOSS is a free Open Source software analysis package specially
developed for the needs of the molecular biology (e.g. EMBnet) user
community. The software automatically copes with data in a variety of
formats and even allows transparent retrieval of sequence data from the
web. Also, as extensive libraries are provided with the package, it is a
platform to allow other scientists to develop and release software in
true open source spirit. EMBOSS also integrates a range of currently
available packages and tools for sequence analysis into a seamless whole.
<<
DescUsage: <<
See the README file for other environment variables you may need to configure.
PLPLOT_LIB is already set by fink in /sw/etc/profile.d/.
script. See http://www.uk.embnet.org/Software/EMBOSS/Jemboss/readme.html
for information on using the Jemboss GUI for EMBOSS.
<<
DescPackaging: <<
The package uses shared libraries, but does not install the headers.
Thus I have not made a splitoff for the libraries since they are not
useful. This may be changed in future versions per the developers.
<<
Homepage: http://www.hgmp.mrc.ac.uk/Software/EMBOSS/
License: GPL
--- NEW FILE: emboss-2.5.1-2.patch ---
--- emboss-2.4.1/jemboss/Makefile.in Tue May 14 14:07:31 2002
+++ emboss-2.4.1-patched/jemboss/Makefile.in Tue Jun 18 22:40:36 2002
@@ -396,12 +396,12 @@
fi
install-exec-hook:
- rm -f $(bindir)/runJemboss.csh; \
- echo "#!/bin/csh" >> $(bindir)/runJemboss.csh; \
- echo "setenv LD_LIBRARY_PATH $(libdir)" >> $(bindir)/runJemboss.csh; \
- echo "setenv CLASSPATH
$(prefix)/share/$(PACKAGE)/jemboss/lib/soap.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/xerces.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/mail.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/activation.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jakarta-regexp-1.2.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jalview.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jcert.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jnet.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jsse.jar:."
>> $(bindir)/runJemboss.csh; \
- echo "(cd $(prefix)/share/$(PACKAGE)/jemboss; java org/emboss/jemboss/Jemboss
&)" >> $(bindir)/runJemboss.csh; \
- chmod 755 $(bindir)/runJemboss.csh;
+ rm -f $(DESTDIR)$(bindir)/runJemboss.csh; \
+ echo "#!/bin/csh" >> $(DESTDIR)$(bindir)/runJemboss.csh; \
+ echo "setenv LD_LIBRARY_PATH $(libdir)" >> $(DESTDIR)$(bindir)/runJemboss.csh;
\
+ echo "setenv CLASSPATH
$(prefix)/share/$(PACKAGE)/jemboss/lib/soap.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/xerces.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/mail.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/activation.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jakarta-regexp-1.2.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jalview.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jcert.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jnet.jar:$(prefix)/share/$(PACKAGE)/jemboss/lib/jsse.jar:."
>> $(DESTDIR)$(bindir)/runJemboss.csh; \
+ echo "(cd $(prefix)/share/$(PACKAGE)/jemboss; java org/emboss/jemboss/Jemboss
&)" >> $(DESTDIR)$(bindir)/runJemboss.csh; \
+ chmod 755 $(DESTDIR)$(bindir)/runJemboss.csh;
# tar to pick up the other directories
# then remove any CVS subdirectories
--- emboss-2.4.1/jemboss/resources/Makefile.in Tue May 14 14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/resources/Makefile.in Wed Jun 19 04:37:55 2002
@@ -250,14 +250,14 @@
install-exec-hook:
@if test "${JAVA_OK}" = "yes" ; then \
- (if test -d $(prefix)/share/$(PACKAGE)/jemboss/resources; then \
+ (if test -d $(DESTDIR)$(pkgdatadir); then \
echo "resources exists"; \
else \
- mkdir $(prefix)/share/$(PACKAGE)/jemboss/resources; \
+ mkdir $(DESTDIR)$(pkgdatadir); \
fi); \
- rm -f $(prefix)/share/$(PACKAGE)/jemboss/resources/acdstore.jar; \
+ rm -f $(DESTDIR)$(pkgdatadir)/acdstore.jar; \
cd $(EMBOSS_TOP)/emboss/acd; \
- jar cvf $(prefix)/share/$(PACKAGE)/jemboss/resources/acdstore.jar
*.acd; \
+ jar cvf $(DESTDIR)$(pkgdatadir)/acdstore.jar *.acd; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/Makefile.in Tue May 14 14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/Makefile.in Wed Jun 19 03:49:47
2002
@@ -375,9 +375,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i $(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/soap/Makefile.in Tue May 14 14:07:32
2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/soap/Makefile.in Wed Jun 19
03:52:11 2002
@@ -258,9 +258,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/soap; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/soap; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/server/Makefile.in Tue May 14 14:07:32
2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/server/Makefile.in Wed Jun 19
03:51:27 2002
@@ -254,9 +254,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/server; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
if test -f JembossServer.class ; then \
- ${INSTALL_DATA} *.class
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/server; \
+ ${INSTALL_DATA} *.class $(DESTDIR)$(pkgdatadir); \
fi \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/programs/Makefile.in Tue May 14
14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/programs/Makefile.in Wed
Jun 19 03:50:47 2002
@@ -253,9 +253,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/programs; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/programs; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/parser/Makefile.in Tue May 14 14:07:32
2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/parser/Makefile.in Wed Jun 19
03:50:10 2002
@@ -378,9 +378,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/parser; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/parser; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/parser/acd/Makefile.in Tue May 14
14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/parser/acd/Makefile.in Wed
Jun 19 03:50:27 2002
@@ -251,9 +251,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/parser/acd; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/parser/acd; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/gui/Makefile.in Tue May 14 14:07:32
2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/gui/Makefile.in Wed Jun 19
03:48:56 2002
@@ -380,9 +380,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/gui/startup/Makefile.in Tue May 14
14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/gui/startup/Makefile.in Wed
Jun 19 04:11:03 2002
@@ -251,9 +251,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/startup; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/startup; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/gui/sequenceChooser/Makefile.in Tue
May 14 14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/gui/sequenceChooser/Makefile.in
Wed Jun 19 04:10:24 2002
@@ -254,9 +254,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/sequenceChooser; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/sequenceChooser; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/gui/form/Makefile.in Tue May 14
14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/gui/form/Makefile.in Wed
Jun 19 03:48:09 2002
@@ -255,9 +255,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/form; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/form; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- emboss-2.4.1/jemboss/org/emboss/jemboss/gui/filetree/Makefile.in Tue May 14
14:07:32 2002
+++ emboss-2.4.1-patched/jemboss/org/emboss/jemboss/gui/filetree/Makefile.in Wed
Jun 19 03:25:48 2002
@@ -254,9 +254,9 @@
@if test "${JAVA_OK}" != "yes" ; then \
echo "No class files to copy"; \
else \
- $(top_srcdir)/mkinstalldirs
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/filetree; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir); \
for i in *.class; do \
- ${INSTALL_DATA} $$i
$(prefix)/share/$(PACKAGE)/jemboss/org/emboss/jemboss/gui/filetree; \
+ ${INSTALL_DATA} $$i $(DESTDIR)$(pkgdatadir); \
done; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
--- NEW FILE: grace-5.1.10-2.info ---
Package: grace
Version: 5.1.10
Revision: 2
Source: mirror:custom:%n-%v.tar.gz
CustomMirror: <<
Primary: ftp://plasma-gate.weizmann.ac.il/pub/grace/src/
Secondary: ftp://plasma-gate.weizmann.ac.il/pub/grace/src/old
<<
Source-MD5: fab6cf49cd233235dac5c5ac5161c081
Depends: lesstif-shlibs, netcdf-shlibs, libjpeg-shlibs, libpng3-shlibs,
libtiff-shlibs, fftw-shlibs, dlcompat, t1lib1-shlibs, pdflib-shlibs (>= 4.0.3-3)
BuildDepends: lesstif, libjpeg, libpng3, libtiff, fftw, t1lib1, pdflib (>= 4.0.3-3),
netcdf, dlcompat-dev
Patch: %f.patch
ConfigureParams: --enable-grace-home=%p/lib/X11/grace --enable-editres
--disable-fortran-wrapper
InstallScript: make DESTDIR=%d install links
Description: Data processing and 2-D visualization tool
DescDetail: <<
Grace is a Motif/Lesstif application for two-dimensional data
visualization. Grace can transform the data using free equations, FFT,
cross- and auto-correlation, differences, integrals, histograms, and
much more. The generated figures are of high quality. Grace is a very
convenient tool for data inspection, data transformation, and for
making figures for publications.
<<
DescPort: <<
Configure test for isnan_decl fails on 10.2 - patch includes config.cache
to force the issue.
Patch to doc/Makefile to force install of man pages in %p/share/man.
<<
License: GPL
DocFiles: README COPYRIGHT LICENSE DEVELOPERS
Homepage: http://plasma-gate.weizmann.ac.il/Grace/
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
--- NEW FILE: grace-5.1.10-2.patch ---
--- grace-5.1.9/config.cache.orig Sun Sep 1 18:21:16 2002
+++ grace-5.1.9/config.cache Sun Sep 1 18:20:12 2002
@@ -0,0 +1 @@
+ice_cv_have_isnan_decl=${ice_cv_have_isnan_decl=yes}
--- grace-5.1.9/doc/Makefile.orig Sun Sep 1 20:33:33 2002
+++ grace-5.1.9/doc/Makefile Sun Sep 1 20:32:42 2002
@@ -94,9 +94,9 @@
$(MAKE) install
links : $(DESTDIR)$(GRACE_HOME)/doc/grace.1
- $(MKINSTALLDIRS) $(DESTDIR)$(PREFIX)/man
- $(MKINSTALLDIRS) $(DESTDIR)$(PREFIX)/man/man1
- cd $(DESTDIR)$(PREFIX)/man/man1; \
+ $(MKINSTALLDIRS) $(DESTDIR)$(PREFIX)/share/man
+ $(MKINSTALLDIRS) $(DESTDIR)$(PREFIX)/share/man/man1
+ cd $(DESTDIR)$(PREFIX)/share/man/man1; \
for i in $(MANPAGES) $(MANLINKS); do $(RM) $$i; $(LN_S) $(GRACE_HOME)/doc/$$i
$$i; done
tests : dummy
--- NEW FILE: grads-1.8.sl10-4.info ---
Package: grads
Version: 1.8.sl10
Revision: 4
Source: ftp://grads.iges.org/pub/gadev/v%v.src.tar.gz
Source2: ftp://grads.iges.org/grads/data.tar.Z
Source3: http://downloads.rhyme.com.au/gd/gd-1.8.4gif.tar.gz
SourceDirectory: src180
Source2ExtractDir: grads
Source-MD5: 347deba57d805864461657aa4453f39b
Source2-MD5: 7eeb4bad7343fd0c65026c7b83d8f475
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%f.patch | patch -p1
BuildDepends: libpng3, netcdf, dlcompat-dev
Depends: x11, libpng3-shlibs, netcdf-shlibs, udunits (>= 1.11.7-3)
CompileScript: <<
(cd ../gd-1.8.4; make PREFIX=%p)
buildinfo="Built on `date -u` by `whoami` (`uname -sr`)"; echo "static char
*buildinfo = \"$buildinfo\" ;" >buildinfo.h
make
<<
InstallScript: <<
mkdir -p %i/bin
mkdir -p %i/lib
mv xgrads %i/bin/grads
mv xgribmap %i/bin/gribmap
mv xgxps %i/bin/gxps
mv xgxtran %i/bin/gxtran
mv xgribscan %i/bin/gribscan
mv xstnmap %i/bin/stnmap
mv gxeps %i/bin
mv wgrib %i/bin
mv INSTALL COPYRIGHT
(cd ..; mv grads %i/lib)
<<
Description: Grid Analysis and Display System
DescDetail: <<
Interactive desktop tool that is used for easy access, manipulation,
and visualization of earth science data.
<<
DescPort: <<
Uses custom Makefile (supplied in patch).
Uses it's own gd library, patched to provided GIF support.
No DODS, HDF support or gui yet.
Thanks to Whit Anderson for supplying his Makefile.
<<
License: Restrictive
DocFiles: COPYRIGHT NOTES VERSION README.sl
Homepage: http://www.iges.org/grads/grads.html
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
--- NEW FILE: grads-1.8.sl10-4.patch ---
--- src180/gaddes.c.orig Mon Aug 19 13:47:10 2002
+++ src180/gaddes.c Mon Aug 19 13:50:40 2002
@@ -20,7 +20,9 @@
#include <stdio.h>
#include <math.h>
#include <ctype.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include "grads.h"
/*mf 961205 --- expose Mike Fiorino's global struct to these routines for 365 day
calandars mf*/
--- src180/gafunc.c.orig Mon Aug 19 13:46:52 2002
+++ src180/gafunc.c Mon Aug 19 13:51:29 2002
@@ -4,7 +4,9 @@
#include <stdio.h>
#include <stdlib.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <math.h>
#include "grads.h"
--- src180/gagmap.c.orig Mon Aug 19 13:46:58 2002
+++ src180/gagmap.c Mon Aug 19 13:52:23 2002
@@ -1,7 +1,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <math.h>
#include "grads.h"
--- src180/gagx.c.orig Mon Aug 19 13:47:03 2002
+++ src180/gagx.c Mon Aug 19 13:53:19 2002
@@ -4,7 +4,9 @@
#include <stdio.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <time.h>
--- src180/gaio.c.orig Mon Aug 19 13:47:09 2002
+++ src180/gaio.c Mon Aug 19 13:50:52 2002
@@ -4,7 +4,9 @@
#include <math.h>
#include <stdio.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include "grads.h"
/*mf 971022 --- expose Mike Fiorino's global struct to these routines for warning
level setting mf*/
--- src180/galats.c.orig Mon Aug 19 13:47:15 2002
+++ src180/galats.c Mon Aug 19 13:51:44 2002
@@ -2,7 +2,9 @@
#include <stdio.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <string.h>
#include "grads.h"
#include "lats.h"
--- src180/gauser.c.orig Mon Aug 19 13:47:24 2002
+++ src180/gauser.c Mon Aug 19 13:52:44 2002
@@ -5,7 +5,9 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include "grads.h"
#include "gx.h"
--- src180/gautil.c.orig Mon Aug 19 13:47:32 2002
+++ src180/gautil.c Mon Aug 19 13:59:55 2002
@@ -9,7 +9,9 @@
#include <stdio.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <limits.h>
@@ -20,8 +22,8 @@
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/errno.h>
-#include "readline.h"
-#include "history.h"
+#include "readline/readline.h"
+#include "readline/history.h"
#endif
/*mf 961205 --- expose Mike Fiorino's global struct to these routines for 365 day
calandars mf*/
--- src180/grads.c.orig Mon Aug 19 13:44:36 2002
+++ src180/grads.c Mon Aug 19 13:50:39 2002
@@ -7,7 +7,9 @@
appropriate routines based on the command entered. */
#include <stdio.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <math.h>
#include <signal.h>
#include "grads.h"
--- src180/gribmap.c.orig Mon Aug 19 13:47:44 2002
+++ src180/gribmap.c Mon Aug 19 13:51:56 2002
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <math.h>
#define DRIVER_GAGMAP
--- src180/gribscan.c.orig Mon Aug 19 13:47:49 2002
+++ src180/gribscan.c Mon Aug 19 13:52:59 2002
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <math.h>
#include <string.h>
#include "grads.h"
--- src180/gxchpl.c.orig Mon Aug 19 13:47:54 2002
+++ src180/gxchpl.c Mon Aug 19 13:53:43 2002
@@ -5,7 +5,9 @@
#include <stdio.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include "gx.h"
static char *fch[10]; /* Pointers to font data once it is read in */
--- src180/gxgif.c.orig Mon Aug 19 13:48:01 2002
+++ src180/gxgif.c Mon Aug 19 13:51:04 2002
@@ -36,7 +36,9 @@
*
***********************************************************/
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <stdio.h>
#include <math.h>
#include <string.h>
--- src180/gxmeta.c.orig Mon Aug 19 13:48:10 2002
+++ src180/gxmeta.c Mon Aug 19 13:52:10 2002
@@ -7,7 +7,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include "gx.h"
static int bopt=BUFOPT; /* Buffering option */
--- src180/gxstrm.c.orig Mon Aug 19 13:48:15 2002
+++ src180/gxstrm.c Mon Aug 19 13:53:09 2002
@@ -1,5 +1,7 @@
#include <stdio.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <math.h>
#include "gx.h"
--- src180/gxsubs.c.orig Mon Aug 19 13:48:21 2002
+++ src180/gxsubs.c Mon Aug 19 13:53:53 2002
@@ -8,7 +8,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include "gx.h"
#ifdef XLIBEMU
--- src180/gxwmap.c.orig Mon Aug 19 13:48:27 2002
+++ src180/gxwmap.c Mon Aug 19 13:51:17 2002
@@ -5,7 +5,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <float.h>
#include "gx.h"
#include "gxmap.h"
--- src180/Makefile.orig Mon Aug 19 15:40:39 2002
+++ src180/Makefile Mon Aug 19 15:34:32 2002
@@ -0,0 +1,319 @@
+#************* Grads 1.7 makefile template for the unified source **************
+#
+# The following directives are set on the command line
+#
+# BYTEORDER 1 = big endian (default)
+# 0 = little endian
+#
+# CRAY 1 = a c90 or j90
+# 0 = not a c90 or j90 (default)
+#
+# GRADS_VERSION the version name in the source and files
+#
+# GRADS_DESC description of the features in this build
+#
+# READLINE 1 = use the readline utilites (default)
+# 0 = readline not available
+#
+# USESDF 1 = use Don Hoopers SDF interface to netCDF and HDF COARDS
data (default)
+# 0 = libraries not available
+#
+# USELATS 1 = use PCMDI LATS library to output GRIB and/or netCDF
(default)
+# 0 = libraries not available
+#
+# LATSNCOBJ unidata or NCSA netcdf libraries
+# config.sh copies the appropriate includes and libraries
+#
+# GXPNG 1 = include GXPNG code into GrADS framebufferless
+# graphics output in batch mode
+# 0 = don't bother
+#
+#
+# To make the actual binaries:
+#
+# make gx
+# make gxutils the utilities
+#
+#
+# REVISION HISTORY:
+#
+# 05May98 da Silva Added $(LDOPTS) to wgrib, gxeps and gxgif rules.
+#
+# 16Oct2000 Hoop Added support for gxpng into GrADS option
+#
+#***************************************************************************************
+
+SHELL= /bin/sh
+
+#
+GAPREFIX= x
+#
+# directory where move will move the binaries
+#
+DIR=
+
+
+COMPILER= cc
+CCOPTS= -O -I./ [EMAIL PROTECTED]@/include -DBYTEORDER=1
-DGRADS_CRAY=0 -DUSEIMG=0 -DUSELATS=1 -DGXPNG=1 -DUSEGUI=0 -DUSESDF=1 -DUSEDODS=0
-DUSEHDF=0 -DREADLINE=1 -DGRADS_VERSION=\"1.8SL10\"
-DGRADS_DESC=\"LATS=GRIB_netCDF__SDF_READ=unidata_netCDF\"
+CCOPTS2= -O [EMAIL PROTECTED]@/include -DBYTEORDER=1 -DGRADS_CRAY=0
-DUSEIMG=0 -DUSELATS=1 -DGXPNG=1 -DUSEGUI=0 -DUSESDF=1 -DUSEDODS=0 -DUSEHDF=0
-DREADLINE=1 -DGRADS_VERSION=\"1.8SL10\"
-DGRADS_DESC=\"LATS=GRIB_netCDF__SDF_READ=unidata_netCDF\"
+
+INCX= -I/usr/X11R6/include
+INCA= [EMAIL PROTECTED]@/include
+IGXPNG= -DGIFSUPPORT -I../gd-1.8.4 [EMAIL PROTECTED]@/include
+
+LIBX= -L/usr/X11R6/lib -lXext -lX11
+LIB.RL= -lreadline
+LIBA=
+LGXPNG= ../gd-1.8.4/libgd.a -lpng -lz
+LIBSDF= -lnetcdf -ludunits -ludport
+
+LDOPTS= [EMAIL PROTECTED]@/lib -Xlinker -m
+
+#
+# the objects
+#
+
+OBJS= grads.o gxsubs.o gxmeta.o gxchpl.o gxX.o gxcntr.o gxstrm.o \
+ gxwmap.o gxshad.o gauser.o gaddes.o gaexpr.o \
+ gaio.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o \
+ gxdxwd.o gacfg.o pcx11e.o galats.o gd13gif.o
+
+OBJSLATS= galats.o lats.o latsint.o latsnc.o latsgrib.o latstime.o latsstat.o
fgbds.o \
+ fgutil.o latsgribmap.o gagmap.o
+
+OBJSSDF= gasdf.o
+
+
+
+#
+# grads binaries
+#
+GRADSBIN= xgrads
+#
+# utility binaries
+#
+UTILS= $(GAPREFIX)gribscan $(GAPREFIX)gribmap $(GAPREFIX)stnmap \
+ $(GAPREFIX)gxps $(GAPREFIX)gxtran \
+ wgrib gxeps # gxgif
+
+#
+# what to make GrADS and the utilities
+#
+all: gx gxutils
+
+gx: $(GRADSBIN)
+gxutils: $(UTILS)
+
+#
+# rules for grads w/ and w/o readline
+#
+
+$(GRADSBIN): $(OBJS) $(OBJSLATS) $(OBJSSDF)
+ $(COMPILER) -g $(LDOPTS) -o $(GRADSBIN) $(OBJS) $(OBJSSDF) $(OBJSLATS) $(LIBX)
$(LIB.RL) $(LIBSDF) $(LGXPNG) $(LIBA)
+
+#
+# utilities
+#
+
+$(GAPREFIX)gribscan: gribscan.o gautilsa.o gamach.o
+ $(COMPILER) $(LDOPTS) gribscan.o gautilsa.o gamach.o \
+ -o $(GAPREFIX)gribscan $(LIB.RL) $(LIBA)
+
+$(GAPREFIX)gribmap: gribmap.o gagmap.o gaddes.sa.o gautilsa.o gamach.o
+ $(COMPILER) $(LDOPTS) gribmap.o gagmap.o gaddes.sa.o gautilsa.o gamach.o \
+ -o $(GAPREFIX)gribmap $(LIB.RL) $(LIBA)
+
+$(GAPREFIX)stnmap: stnmap.o gaddes.sa.o gautilsa.o gamach.o
+ $(COMPILER) $(LDOPTS) stnmap.o gaddes.sa.o gautilsa.o gamach.o \
+ -o $(GAPREFIX)stnmap $(LIB.RL) $(LIBA)
+
+$(GAPREFIX)gxtran: gxtran.c gxsubs.o gxmeta.o gxchpl.o gxX.o gxdxwd.o pcx11esa.o
gd13gif.o
+ $(COMPILER) $(CCOPTS2) $(LDOPTS) gxtran.c gxsubs.o gxmeta.o gxchpl.o \
+ pcx11esa.o gxX.o gxdxwd.o gd13gif.o $(LIBX) $(LGXPNG) \
+ -o $(GAPREFIX)gxtran $(LIBA)
+
+$(GAPREFIX)gxps: gxps.c
+ $(COMPILER) $(CCOPTS2) $(LDOPTS) gxps.c -o $(GAPREFIX)gxps $(LIBA)
+
+#
+# misc utility rules. MS-DOS Note: *must* create *.o first.
+#
+
+wgrib: wgrib.c
+ $(COMPILER) $(CCOPTS) -c wgrib.c
+ $(COMPILER) $(LDOPTS) wgrib.o -o wgrib
+
+gxeps: gxeps.c
+ $(COMPILER) $(CCOPTS) -c gxeps.c
+ $(COMPILER) $(LDOPTS) gxeps.o -o gxeps
+
+# gxgif: gxgif.c
+# $(COMPILER) $(CCOPTS) -c gxgif.c
+# $(COMPILER) $(LDOPTS) gxgif.o -o gxgif
+
+gxpng: gxpng.c
+ $(COMPILER) $(CCOPTS) $(IGXPNG) -c gxgif.c
+ $(COMPILER) $(LDOPTS) gxgif.o -o gxgif $(LGXPNG)
+
+
+clean:
+ -rm -f *.o
+distclean:
+ -rm -f *.o $(GRADSBIN) $(UTILS)
+#
+# rules for the grads source files
+#
+
+gxsubs.o: gxsubs.c gx.h
+ $(COMPILER) -c $(CCOPTS) gxsubs.c
+
+gxmeta.o: gxmeta.c gx.h gxhpng.c gd13gif.c mtables.c
+ $(COMPILER) -c $(CCOPTS) $(IGXPNG) gxmeta.c
+
+gd13gif.o: gd13gif.c mtables.c
+ $(COMPILER) -c $(CCOPTS) $(IGXPNG) gd13gif.c
+
+gxchpl.o: gxchpl.c gx.h
+ $(COMPILER) -c $(CCOPTS) gxchpl.c
+
+gxX.o: gxX.c gx.h
+ $(COMPILER) -c $(CCOPTS) $(INCX) gxX.c
+
+gaimg.o: gaimg.c gaimg.h grads.h
+ $(COMPILER) -c $(CCOPTS) $(INCX) gaimg.c
+
+gxshad.o: gxshad.c gx.h
+ $(COMPILER) -c $(CCOPTS) gxshad.c
+
+gxcntr.o: gxcntr.c gx.h
+ $(COMPILER) -c $(CCOPTS) gxcntr.c
+
+gxstrm.o: gxstrm.c gx.h
+ $(COMPILER) -c $(CCOPTS) gxstrm.c
+
+gxwmap.o: gxwmap.c gx.h gxmap.h
+ $(COMPILER) -c $(CCOPTS) gxwmap.c
+
+gauser.o: gauser.c gxX.c grads.h gx.h
+ $(COMPILER) -c $(CCOPTS) $(INCX) gauser.c
+
+gaddes.o: gaddes.c grads.h gx.h
+ $(COMPILER) -c $(CCOPTS) gaddes.c
+#
+# standalone version of gaddes.o for utilities with SDF
+#
+gaddes.sa.o: gaddes.c grads.h gx.h
+ $(COMPILER) -c $(CCOPTS) -DSTNDALN gaddes.c -o gaddes.sa.o
+
+gaexpr.o: gaexpr.c grads.h
+ $(COMPILER) -c $(CCOPTS) gaexpr.c
+
+gaio.o: gaio.c grads.h
+ $(COMPILER) -c $(CCOPTS) gaio.c
+
+gafunc.o: gafunc.c grads.h
+ $(COMPILER) -c $(CCOPTS) gafunc.c
+#
+# readline stuff is a gautil
+#
+
+gautil.o: gautil.c grads.h
+ $(COMPILER) -c $(CCOPTS) $(INCA) gautil.c -o gautil.o
+
+gautilsa.o: gautil.c grads.h
+ $(COMPILER) -DSTNDALN -c $(CCOPTS) $(INCA) gautil.c -o gautilsa.o
+
+gamach.o: gamach.c grads.h
+ $(COMPILER) -c $(CCOPTS) gamach.c
+
+gagx.o: gagx.c grads.h gx.h
+ $(COMPILER) -c $(CCOPTS) gagx.c
+
+gscrpt.o: gscrpt.c gs.h grads.h
+ $(COMPILER) -c $(CCOPTS) gscrpt.c
+
+gribscan.o: gribscan.c
+ $(COMPILER) -c $(CCOPTS) gribscan.c
+
+gribmap.o: gribmap.c
+ $(COMPILER) -c $(CCOPTS) gribmap.c
+
+gagmap.o: gagmap.c gagmap.h
+ $(COMPILER) -c $(CCOPTS) gagmap.c
+
+stnmap.o: stnmap.c
+ $(COMPILER) -c $(CCOPTS) stnmap.c
+
+gxtran.o: gxtran.c gx.h
+ $(COMPILER) -c $(CCOPTS) gxtran.c
+
+gasdf.o: gasdf.c gasdf.h grads.h gasdf_std_time.h
+ $(COMPILER) -c $(CCOPTS) gasdf.c
+
+galats.o: galats.c grads.h
+ $(COMPILER) -c $(CCOPTS) galats.c
+
+grads.o: grads.c grads.h
+ $(COMPILER) -c $(CCOPTS) $(INCX) grads.c
+
+gxdxwd.o: gxdxwd.c
+ $(COMPILER) -c $(CCOPTS) $(INCX) gxdxwd.c
+
+
+gacfg.o: gacfg.c grads.h
+ $(COMPILER) -c $(CCOPTS) gacfg.c
+#
+# GAGUI rules
+#
+
+gagui.o: gagui.c
+ $(COMPILER) -c $(CCOPTS) $(INCX) gagui.c
+
+gsgui.o: gsgui.c
+ $(COMPILER) -c $(CCOPTS) $(INCX) gsgui.c
+
+#
+# PC/X11e rules
+#
+pcx11e.o: pcx11e.c gx.h
+ $(COMPILER) -c $(CCOPTS) $(INCX) $(INCA) pcx11e.c
+
+pcx11esa.o: pcx11e.c gx.h
+ $(COMPILER) -c $(CCOPTS) $(INCX) $(INCA) -DSTNDALN pcx11e.c -o pcx11esa.o
+
+#
+# LATS obj rules
+#
+
+fgbds.o: grads.h fgbds.c fgrib.h
+ $(COMPILER) $(CCOPTS) -c -O fgbds.c
+
+fgutil.o: fgutil.c fgrib.h
+ $(COMPILER) $(CCOPTS) -c -O fgutil.c
+
+latsgribmap.o: grads.h gagmap.h
+
+latsgribmap.o: grads.h gagmap.h
+ $(COMPILER) $(CCOPTS) -c -O latsgribmap.c
+
+lats.o: lats.c latsint.h lats.h
+ $(COMPILER) $(CCOPTS) -c -O lats.c
+
+latsgrib.o: latsgrib.c fgrib.h fgrib_init.h latsint.h lats.h
+ $(COMPILER) $(CCOPTS) -c -O latsgrib.c
+
+latsint.o: latsint.c latsint.h lats.h latsparm.h
+ $(COMPILER) $(CCOPTS) -c -O latsint.c
+
+latsnc.o: latsnc.c latsint.h lats.h
+ $(COMPILER) $(CCOPTS) $(INCA) -DGOT_NETCDF -c -O latsnc.c
+
+latsnc.sdf.o: latsnc.c latsint.h lats.h
+ $(COMPILER) $(CCOPTS) -c -O latsnc.c -o latsnc.sdf.o
+
+latstime.o: latstime.c latsint.h lats.h latstime.h
+ $(COMPILER) $(CCOPTS) -c -O latstime.c
+
+latsstat.o: latsstat.c latsint.h lats.h
+ $(COMPILER) $(CCOPTS) -c -O latsstat.c
+
--- src180/stnmap.c.orig Mon Aug 19 15:26:51 2002
+++ src180/stnmap.c Mon Aug 19 15:26:56 2002
@@ -12,7 +12,9 @@
#include <stdlib.h>
#include <math.h>
#include <string.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include "grads.h"
#include "gx.h"
--- src180/gx.h.orig Mon Aug 19 17:05:39 2002
+++ src180/gx.h Mon Aug 19 17:05:56 2002
@@ -39,7 +39,7 @@
/* Default directory containing the stroke and map data sets.
User can override this default via setenv GADDIR */
-static char *datad = "/usr/local/lib/grads";
+static char *datad = "@PREFIX@/lib/grads";
/* Option flag. If 0, map data set is only read once into a
dynamically allocated memory area. The memory is held onto
diff -ru gd-1.8.4/gdcache.h gd-1.8.4-patched/gdcache.h
--- src180/../gd-1.8.4/gdcache.h Tue Feb 6 20:44:02 2001
+++ src180/../gd-1.8.4-patched/gdcache.h Wed Jun 13 21:58:15 2001
@@ -40,7 +40,9 @@
/* header */
/*********************************************************/
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#ifndef NULL
#define NULL (void *)0
#endif
--- src180/../gd-1.8.4/gd_lzw_out.c.orig Tue Aug 20 19:20:46 2002
+++ src180/../gd-1.8.4/gd_lzw_out.c Tue Aug 20 19:21:03 2002
@@ -1,4 +1,6 @@
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <stdio.h>
#include <math.h>
#include <string.h>
--- src180/../gd-1.8.4/Makefile.orig Tue Aug 20 18:42:38 2002
+++ src180/../gd-1.8.4/Makefile Tue Aug 20 18:42:46 2002
@@ -1,9 +1,11 @@
#Depending on your system, you will need to modify this makefile.
+PREFIX=/usr/local
+
#If you do not have gcc, change the setting for COMPILER, but you must
#use an ANSI standard C compiler (NOT the old SunOS 4.1.3 cc
#compiler; get gcc if you are still using it).
-COMPILER=gcc
+COMPILER=cc
#If the ar command fails on your system, consult the ar manpage
#for your system.
@@ -16,8 +18,7 @@
#If you do have FreeType, libjpeg and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. See also LIBS below.
-CFLAGS=-O -DHAVE_LIBXPM -DHAVE_LIBPNG -DHAVE_LIBJPEG \
- -DHAVE_LIBFREETYPE
+CFLAGS=-O -DHAVE_LIBXPM -DHAVE_LIBPNG
#-DHAVE_LIBTTF
#To use the old FreeType 1.x library, add this additional #define
@@ -37,7 +38,7 @@
#variation of this and comment out the line above. Note that
#Xpm requires X11. See also CFLAGS above.
-LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm -lttf
+LIBS=../gd-1.8.4/libgd.a -lpng -lz
#Note: for Freetype 1.x, use DHAVE_LIBTTF and -lttf instead.
@@ -46,7 +47,7 @@
#ensure that the version of gd you are installing is used, and not an
#older release in your directory tree somewhere.
-INCLUDEDIRS=-I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11
-I/usr/local/include
+INCLUDEDIRS=-I. -I../gd-1.8.4 -I$(PREFIX)/include/freetype2 -I/usr/X11R6/include/X11
-I$(PREFIX)/include
#Typical install locations for freetype, zlib, xpm and libpng libraries.
#If yours are somewhere else, other than a standard location
@@ -56,16 +57,16 @@
#on your system can't cause conflicts while building a new one.
#This line shouldn't hurt if you don't actually have some of the
#optional libraries and directories.
-LIBDIRS=-L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib
+LIBDIRS=-L. -L$(PREFIX)/lib -L/usr/X11R6/lib
#Location where libgd.a should be installed by "make install".
-INSTALL_LIB=/usr/local/lib
+INSTALL_LIB=$(DESTDIR)$(PREFIX)/lib
#Location where .h files should be installed by "make install".
-INSTALL_INCLUDE=/usr/local/include
+INSTALL_INCLUDE=$(DESTDIR)$(PREFIX)/include
#Location where useful non-test programs should be installed by "make install".
-INSTALL_BIN=/usr/local/bin
+INSTALL_BIN=$(DESTDIR)$(PREFIX)/bin
#
#
--- NEW FILE: grass-5.0.1-2.info ---
Package: grass
Version: 5.0.1
Revision: 2
GCC: 3.1
Maintainer: Matt Stephenson <[EMAIL PROTECTED]>
Depends: gdal (>= 1.1.8), atlas, postgresql (>= 7.2.3-1), libgl, libjpeg-shlibs,
libpng3-shlibs, libtiff-shlibs, fftw-shlibs, tcltk (>= 8.4.1-1), unixodbc-nox-shlibs |
unixodbc-shlibs (>= 2.2.1-15), gd-shlibs, freetype2-shlibs, netpbm-bin, lesstif-shlibs
BuildDepends: libjpeg, libpng3, libtiff, fftw, readline (>= 4.3-5), tcltk-dev (>=
8.4.1-1), unixodbc-nox | unixodbc (>= 2.2.1-15), gdbm, gd, postgresql-dev (>=
7.2.3-1), freetype2, netpbm, dlcompat-dev, lesstif, gdal-dev (>= 1.1.8), g77
Source: mirror:custom:%n-%v_src.tar.gz
CustomMirror: <<
eur-IT: http://grass.itc.it/grass5/source/
nam-US: ftp://grass.baylor.edu/pub/grass/grass5/source/
eur-DE: http://www.geog.uni-hannover.de/grass/grass5/source/
<<
Source2: http://homepage.mac.com/mattsash/fink/%f.patch.tar.gz
Source-MD5: c1d8a5fb45607e47d3531779da0427e9
Source2-MD5: 740da4c6810fa0ca52305e7bc5a85f02
SourceDirectory: %n%v
PatchScript: <<
patch -p1 < ../%f.patch
mv Makefile.in Makefile.in.orig
sed -e 's:GISBASE=${INST_DIR}:GISBASE=%p/share/grass5:' -e
's:\(${GISBASE}.#.\)${INST_DIR}:\1%p/share/grass5:' Makefile.in.orig > Makefile.in
<<
SetCFLAGS: -g -O2 -no-cpp-precomp
ConfigureParams: --prefix=%p/share --with-postgres-includes=%p/include/postgresql
--with-readline --with-includes='%p/include /usr/X11R6/include' --bindir=%i/bin
--with-dbm --with-blas --with-lapack --with-gdal --with-glw --with-freetype
--with-freetype-includes=%p/include/freetype2 --with-motif
--with-glw-includes=/usr/X11R6/include --with-nls
CompileScript: (export CCACHE_DISABLE=1; ./configure %c; make)
InstallScript: <<
make install prefix=%i/share
cd %i/bin; rm gmake5 gmakelinks5
<<
DocFiles: <<
AUTHORS BUGS ChangeLog COPYING GPL.TXT NEWS.html ONGOING README TODO.txt WARNING.html
<<
Description: GIS software
DescDetail: <<
GRASS (Geographic Resources Analysis Support System) is a GIS(Geographical
Information System) with raster, topological vector, image processing, and
graphics production functionality that operates in the UNIX environment
through a graphical user interface and shell in X-Windows.
<<
DescUsage: <<
Just type 'grass5' at the command prompt inside an X environment.
<<
DescPort: Patchs to fix gdal, NVIZ and TclTk8.4 support.
License: GPL
Homepage: http://grass.itc.it
--- NEW FILE: namot-2.2.0-pre3-2.info ---
Package: namot
Version: 2.2.0-pre3
Revision: 2
Source: mirror:sourceforge:%n/%n-%v.tgz
Source-MD5: 601a20037d1e77015fa7c9c72da12a80
Depends: x11, lesstif-shlibs, readline-shlibs, gsl-shlibs, libpng3-shlibs,
scientificpython, dlcompat-shlibs
BuildDepends: libpng3, gsl, lesstif, readline, dlcompat-dev
ConfigureParams: --mandir=%p/share/man
SetCFLAGS: -force_flat_namespace
Description: Nucleic Acid MOdelling Tool
DescDetail: <<
The Nucleic Acid Modeling Tool(NAMOT) is a program to
allow users to manipulate molecular models of nucleic
acids based on a set of reduced co-ordinates developed
at Los Alamos National Laboratory and the Max Planck
Institute for Biophysical Chemistry.
It uses a combination of Xlib and Xt
functions to build the interface. External, user modifi-
able libraries allow the user to customize the program.
The use of an extended description allows for the modeling
of standard and unusual structures.
<<
DocFiles: README AUTHORS COPYING NEWS
Homepage: http://namot.sourceforge.net/
License: Restrictive
Maintainer: W. G. Scott <[EMAIL PROTECTED]>
--- NEW FILE: pgplot-perl-2.18-3.info ---
Package: pgplot-perl
Version: 2.18
Revision: 3
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
BuildDepends: libpng3, dlcompat-dev
Depends: pgplot, extutils-f77, libpng3-shlibs
Source: http://www.cpan.org/authors/id/KGB/PGPLOT-%v.tar.gz
Source-MD5: 0c27c49f6443eb4fdcc9eaee4c756c87
SourceDirectory: PGPLOT-%v
PatchScript: sed 's|<PREFIX>|%p|g' < %a/%f.patch | patch -p1
CompileScript: <<
perl Makefile.PL PREFIX=%i LIB=%i/lib/perl5 INSTALLMAN1DIR=%i/man1
INSTALLMAN3DIR=%i/man3
make
<<
InstallScript: <<
cc -o blib/arch/auto/PGPLOT/PGPLOT.bundle -bundle -flat_namespace -undefined
suppress PGPLOT.o -L%p/lib/pgplot -L%p/lib -lcpgplot -lpgplot -lpng -L/usr/X11R6/lib
-lX11 -L/usr/lib -lg2c -framework Foundation -framework AppKit
make pure_install
<<
DocFiles: LICENSE README HELP CHANGES
License: OSI-Approved
Description: Perl interfaces for the PGPLOT graphics library
Homepage: http://search.cpan.org/search?dist=PGPLOT
--- NEW FILE: pgplot-perl-2.18-3.patch ---
--- PGPLOT-2.18/Makefile.PL.orig Sat Jul 14 06:31:09 2001
+++ PGPLOT-2.18/Makefile.PL Sat Jul 14 06:32:21 2001
@@ -32,13 +32,13 @@
'LIBS' => ['-L/usr/openwin/lib -L/usr/X11/lib -L/usr/X11R6/lib -lX11 '.
ExtUtils::F77->runtime])
:
- ('LIBS' => [$ldir.' -L/usr/local/pgplot -L/usr/local/lib -lcpgplot -lpgplot
'.
+ ('LIBS' => [$ldir.' -L$PGPLOT_DIR -L<PREFIX>/lib -lcpgplot -lpgplot -lpng '.
'-L/usr/openwin/lib -L/usr/X11/lib -L/usr/X11R6/lib -lX11 '.
ExtUtils::F77->runtime])
)),
'DEFINE' => ExtUtils::F77->trail_ ? "" : "-DNO_TRAILING_USCORE",
($^O eq 'VMS' ? ('INC' => 'pgplot_dir:') : (
- 'INC' => $idir.' -I/home/aaossm/kgb/soft/pgplot/bld -I/usr/local/pgplot' #
where cpgplot.h should be
+ 'INC' => $idir.' -I<PREFIX>/pgplot' # where cpgplot.h should be
)),
'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
'depend' => { '$(OBJECT)' => q[pgfun.c arrays.c PGPLOT.c]}
--- NEW FILE: plotutils-2.4.1-6.info ---
Package: plotutils
Version: 2.4.1
Revision: 6
Depends: %N-shlibs (= %v-%r)
BuildDepends: libpng3
Depends: libpng3-shlibs
Description: C/C++ function library for exporting 2-D vector graphics
DescDetail: also contains command-line programs for plotting scientific data.
Source: gnu
SetCXX: g++2
UpdateConfigGuess: true
UpdateLibtool: true
ConfigureParams: --enable-libplotter --mandir='${prefix}/share/man'
--infodir='${prefix}/share/info'
License: GPL
SplitOff: <<
Package: %N-shlibs
Replaces: %N (<= 2.4.1-1)
Depends: libpng3-shlibs
Files: lib/libplot.*.dylib lib/libplotter.*.dylib
Shlibs: <<
%p/lib/libplotter.2.dylib 5.0.0 %n (>= 2.4.1-5)
%p/lib/libplot.2.dylib 5.0.0 %n (>= 2.4.1-5)
<<
DocFiles: README INSTALL.pkg COPYING KNOWN_BUGS PROBLEMS NEWS
<<
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Depends: %N-shlibs (= %v-%r)
Replaces: %N (<= 2.4.1-1)
Files: include lib/*.a lib/*.la lib/libplot.dylib lib/libplotter.dylib
DocFiles: README INSTALL.pkg COPYING KNOWN_BUGS PROBLEMS NEWS
<<
DocFiles: README INSTALL.pkg COPYING KNOWN_BUGS PROBLEMS NEWS
InfoDocs: plotutils.info
Homepage: http://www.gnu.org/software/plotutils
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
--- NEW FILE: r-base-atlas-1.6.1-3.info ---
Package: r-base-atlas
Version: 1.6.1
Revision: 3
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
Depends: tcltk, tcltk-shlibs, readline-shlibs (>= 4.3-5), libjpeg-shlibs,
libpng3-shlibs, dlcompat, atlas, dillo, pcre
BuildDepends: readline (>= 4.3-5), libjpeg, libpng3, tcltk-dev, g77 (>=
3.1-20020420-1), texinfo (>= 4.1-3), dlcompat-dev, pcre-shlibs
Source: http://cran.r-project.org/src/base/R-%v.tgz
Source-MD5: 7c9b8e8582812448aedd0322bcc135eb
SourceDirectory: R-%v
ConfigureParams: --without-gnome --enable-R-shlib --mandir='${prefix}/share/man'
--with-tcl-config=%p/lib/tclConfig.sh --with-tk-config=%p/lib/tkConfig.sh -C
Conflicts: r-base, r-recommended
Replaces: r-base
Provides: r-base
Patch: %f.patch
SourceDirectory: R-%v
CompileScript: (export F77=%p/bin/g77; export FFLAGS="-O3 -funroll-all-loops";
./configure %c; make)
InstallScript: <<
make install prefix=%i
mv -f %i/bin/R %i/bin/R.orig
rm -f %i/lib/R/bin/R
sed -e "s|R_HOME_DIR=%i/lib/R|R_HOME_DIR=%p/lib/R|" < %i/bin/R.orig > %i/lib/R/bin/R
sed -e "s|R_HOME_DIR=%i/lib/R|R_HOME_DIR=%p/lib/R|" < %i/bin/R.orig > %i/bin/R
chmod 755 %i/lib/R/bin/R %i/bin/R
rm -f %i/bin/R.orig
<<
Description: Environment for statistical computing with atlas
DescDetail: <<
R is similar to S, which was developed at Bell Laboratories
by John Chambers et al. It provides a wide variety of statistical and
graphical techniques (linear and nonlinear modelling, statistical
tests, time series analysis, classification, clustering, ...).
R is designed as a true computer language with control-flow
constructions for iteration and alternation, and it allows users to
add additional functionality by defining new functions. For
computationally intensive tasks, C and Fortran code can be linked and
called at run time.
The "recommended" R packages are now included in the distribution, so there
is no longer a need for a r-recommended package. If you already have installed
an earlier version of r-recommended, remove it before installing this package.
This version links optimized blas and lapack routines provided by
the atlas package.
<<
DescPort: <<
R_HOME_DIR variable in wrapper script must be re-set to installation
directory after make install.
uses fake config.cache to trick configure into not using tex.
<<
License: GPL
Homepage: http://cran.R-project.org/
--- NEW FILE: r-base-atlas-1.6.1-3.patch ---
--- R-1.6.0/config.cache.orig Fri Jan 4 09:30:21 2002
+++ R-1.6.0/config.cache Fri Jan 4 09:28:27 2002
@@ -0,0 +1,6 @@
+ac_cv_path_DVIPS=${ac_cv_path_DVIPS=no}
+ac_cv_path_TEX=${ac_cv_path_LATEX=no}
+ac_cv_path_LATEX=${ac_cv_path_LATEX=no}
+ac_cv_path_MAKEINDEX=${ac_cv_path_MAKEINDEX=no}
+ac_cv_path_PDFLATEX=${ac_cv_path_PDFLATEX=no}
+ac_cv_path_PDFTEX=${ac_cv_path_PDFTEX=no}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits