summaryrefslogtreecommitdiff
path: root/math/quadpack
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-11-30 01:25:21 +0000
committerjtb <jtb@pkgsrc.org>2000-11-30 01:25:21 +0000
commitef92adaa93456123ac9305bdbe3aa5ba8d3ea171 (patch)
treebc758c9ee663bb1e7d18528678d02e58164e5510 /math/quadpack
parent07cecbc07240795e8276e2fa49c7b6a138f1b795 (diff)
downloadpkgsrc-ef92adaa93456123ac9305bdbe3aa5ba8d3ea171.tar.gz
Initial import of new "quadpack" package:
Fortran subroutines for the solution of definite univariate integrals
Diffstat (limited to 'math/quadpack')
-rw-r--r--math/quadpack/Makefile27
-rw-r--r--math/quadpack/files/Makefile32
-rw-r--r--math/quadpack/files/md53
-rw-r--r--math/quadpack/pkg/COMMENT1
-rw-r--r--math/quadpack/pkg/DESCR2
-rw-r--r--math/quadpack/pkg/PLIST7
6 files changed, 72 insertions, 0 deletions
diff --git a/math/quadpack/Makefile b/math/quadpack/Makefile
new file mode 100644
index 00000000000..f8dee4a763b
--- /dev/null
+++ b/math/quadpack/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/30 01:25:21 jtb Exp $
+
+DISTNAME= quadpack-20001129
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= jtb@netbsd.org
+
+WRKSRC= ${WRKDIR}/quadpack
+
+USE_LIBTOOL= YES
+UES_FORTRAN= YES
+
+FOPTS?= -O3
+
+.include "../../mk/bsd.prefs.mk"
+
+pre-build:
+ @${SED} -e 's:%%FORTRAN%%:'${FC}':g;s:%%FOPTS%%:'${FOPTS}':g' \
+ < ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quadpack
+ @for i in doc readme ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/quadpack ; done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/quadpack/files/Makefile b/math/quadpack/files/Makefile
new file mode 100644
index 00000000000..0ef5275baee
--- /dev/null
+++ b/math/quadpack/files/Makefile
@@ -0,0 +1,32 @@
+LIB = quadpack
+
+LIBDIR = ${PREFIX}/lib
+FORTRAN = %%FORTRAN%%
+FOPTS = %%FOPTS%%
+
+all: lib$(LIB)
+
+OBJ= dqag.o dqage.o dqagi.o dqagie.o dqagp.o dqagpe.o dqags.o \
+ dqagse.o dqawc.o dqawce.o dqawf.o dqawfe.o dqawo.o \
+ dqawoe.o dqaws.o dqawse.o dqc25c.o dqc25f.o dqc25s.o \
+ dqcheb.o dqelg.o dqk15.o dqk15i.o dqk15w.o dqk21.o \
+ dqk31.o dqk41.o dqk51.o dqk61.o dqmomo.o dqng.o dqpsrt.o \
+ dqwgtc.o dqwgtf.o dqwgts.o qag.o qage.o qagi.o qagie.o \
+ qagp.o qagpe.o qags.o qagse.o qawc.o qawce.o qawf.o \
+ qawfe.o qawo.o qawoe.o qaws.o qawse.o qc25c.o qc25f.o \
+ qc25s.o qcheb.o qelg.o qk15.o qk15i.o qk15w.o qk21.o \
+ qk31.o qk41.o qk51.o qk61.o qmomo.o qng.o qpsrt.o \
+ qwgtc.o qwgtf.o qwgts.o
+
+lib$(LIB): $(OBJ)
+ @$(LIBTOOL) --mode=link $(FORTRAN) $(FFLAGS) $(FOPTS) \
+ -O -o lib$(LIB).la $(OBJ:.o=.lo) -rpath $(LIBDIR)
+
+.f.o:
+ @$(LIBTOOL) --mode=compile $(FORTRAN) $(FFLAGS) $(FOPTS) -c $*.f
+
+install: lib$(LIB)
+ @$(LIBTOOL) --mode=install install -c lib$(LIB).la $(LIBDIR)
+
+clean:
+ rm -rf *.o *.lo .libs lib$(LIB).la
diff --git a/math/quadpack/files/md5 b/math/quadpack/files/md5
new file mode 100644
index 00000000000..a9f79dc0be4
--- /dev/null
+++ b/math/quadpack/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/30 01:25:21 jtb Exp $
+
+MD5 (quadpack-20001129.tar.gz) = a4030d47ebeda5cdc6daeef9c35cbfb8
diff --git a/math/quadpack/pkg/COMMENT b/math/quadpack/pkg/COMMENT
new file mode 100644
index 00000000000..1504b1a7482
--- /dev/null
+++ b/math/quadpack/pkg/COMMENT
@@ -0,0 +1 @@
+Fortran subroutines for the solution of definite univariate integrals
diff --git a/math/quadpack/pkg/DESCR b/math/quadpack/pkg/DESCR
new file mode 100644
index 00000000000..349ad326681
--- /dev/null
+++ b/math/quadpack/pkg/DESCR
@@ -0,0 +1,2 @@
+QUADPACK is a FORTRAN subroutine package for the numerical
+computation of definite one-dimensional integrals.
diff --git a/math/quadpack/pkg/PLIST b/math/quadpack/pkg/PLIST
new file mode 100644
index 00000000000..42b9a43493f
--- /dev/null
+++ b/math/quadpack/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/30 01:25:21 jtb Exp $
+lib/libquadpack.a
+lib/libquadpack.la
+lib/libquadpack.so.0.0
+share/doc/quadpack/doc
+share/doc/quadpack/readme
+@dirrm share/doc/quadpack