diff options
author | jtb <jtb> | 2000-12-10 05:11:31 +0000 |
---|---|---|
committer | jtb <jtb> | 2000-12-10 05:11:31 +0000 |
commit | 9d6042f53c60b42de988981f00b2ed6e6a9cc135 (patch) | |
tree | f8ed4536271a9bb09b06af3edcf3062b279ee8c8 /math/minpack | |
parent | c7540a6f0bf9e85024daab3511edfb316ae419a7 (diff) | |
download | pkgsrc-9d6042f53c60b42de988981f00b2ed6e6a9cc135.tar.gz |
Initial import of new "minpack" package:
FORTRAN 77 library for the solution of nonlinear equations
Diffstat (limited to 'math/minpack')
-rw-r--r-- | math/minpack/Makefile | 21 | ||||
-rw-r--r-- | math/minpack/files/Makefile | 27 | ||||
-rw-r--r-- | math/minpack/files/md5 | 3 | ||||
-rw-r--r-- | math/minpack/pkg/COMMENT | 1 | ||||
-rw-r--r-- | math/minpack/pkg/DESCR | 8 | ||||
-rw-r--r-- | math/minpack/pkg/PLIST | 28 |
6 files changed, 88 insertions, 0 deletions
diff --git a/math/minpack/Makefile b/math/minpack/Makefile new file mode 100644 index 00000000000..798897d7316 --- /dev/null +++ b/math/minpack/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/10 05:11:31 jtb Exp $ + +DISTNAME= minpack-20001130 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= jtb@netbsd.org + +WRKSRC= ${WRKDIR}/minpack +USE_FORTRAN= YES + +pre-build: + @${SED} -e 's:%%F77%%:'${FC}':g' \ + < ${FILESDIR}/Makefile > ${WRKSRC}/Makefile + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/minpack + ${INSTALL_DATA} ${WRKSRC}/ex/file* ${WRKSRC}/ex/index* \ + ${PREFIX}/share/examples/minpack + +.include "../../mk/bsd.pkg.mk"
\ No newline at end of file diff --git a/math/minpack/files/Makefile b/math/minpack/files/Makefile new file mode 100644 index 00000000000..525701fa4f0 --- /dev/null +++ b/math/minpack/files/Makefile @@ -0,0 +1,27 @@ +LIB = minpack + +LIBDIR = ${PREFIX}/lib +F77 = %%F77%% +FFLAGS = -O3 + +all: lib$(LIB).a + +OBJ = covar.o dmchar.o dogleg.o dpmpar.o enorm.o errjac.o fdjac1.o \ + fdjac2.o grdfcn.o hesfcn.o hybipt.o hybrd.o hybrd1.o hybrj.o \ + hybrj1.o lhesfcn.o lmder.o lmder1.o lmdif.o lmdif1.o lmdipt.o \ + lmpar.o lmstr.o lmstr1.o objfcn.o ocpipt.o qform.o qrfac.o \ + qrsolv.o r1mpyq.o r1updt.o rwupdt.o ssqfcn.o ssqjac.o vecfcn.o \ + vecjac.o + +lib$(LIB).a: $(OBJ) + $(AR) ru $@ $? + $(RANLIB) $@ + +.f.o: + $(F77) $(FFLAGS) -c $< + +install: lib$(LIB).a + install -c lib$(LIB).a $(LIBDIR) + +clean: + rm -rf *.o lib$(LIB).a diff --git a/math/minpack/files/md5 b/math/minpack/files/md5 new file mode 100644 index 00000000000..a33f2025b02 --- /dev/null +++ b/math/minpack/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/10 05:11:31 jtb Exp $ + +MD5 (minpack-20001130.tar.gz) = 79685d13d02a75924270ec3d6d4cc951 diff --git a/math/minpack/pkg/COMMENT b/math/minpack/pkg/COMMENT new file mode 100644 index 00000000000..b2b3a5acf0e --- /dev/null +++ b/math/minpack/pkg/COMMENT @@ -0,0 +1 @@ +FORTRAN 77 library for the solution of nonlinear equations diff --git a/math/minpack/pkg/DESCR b/math/minpack/pkg/DESCR new file mode 100644 index 00000000000..728dfc002f1 --- /dev/null +++ b/math/minpack/pkg/DESCR @@ -0,0 +1,8 @@ +Minpack includes software for solving nonlinear equations and +nonlinear least squares problems. Five algorithmic paths each include +a core subroutine and an easy-to-use driver. The algorithms proceed +either from an analytic specification of the Jacobian matrix or +directly from the problem functions. The paths include facilities for +systems of equations with a banded Jacobian matrix, for least squares +problems with a large amount of data, and for checking the consistency +of the Jacobian matrix with the functions. diff --git a/math/minpack/pkg/PLIST b/math/minpack/pkg/PLIST new file mode 100644 index 00000000000..846e34db468 --- /dev/null +++ b/math/minpack/pkg/PLIST @@ -0,0 +1,28 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/10 05:11:31 jtb Exp $ +lib/libminpack.a +share/examples/minpack/file01 +share/examples/minpack/file02 +share/examples/minpack/file03 +share/examples/minpack/file04 +share/examples/minpack/file05 +share/examples/minpack/file06 +share/examples/minpack/file07 +share/examples/minpack/file08 +share/examples/minpack/file09 +share/examples/minpack/file10 +share/examples/minpack/file11 +share/examples/minpack/file12 +share/examples/minpack/file13 +share/examples/minpack/file14 +share/examples/minpack/file15 +share/examples/minpack/file16 +share/examples/minpack/file17 +share/examples/minpack/file18 +share/examples/minpack/file19 +share/examples/minpack/file20 +share/examples/minpack/file21 +share/examples/minpack/file22 +share/examples/minpack/file23 +share/examples/minpack/index +share/examples/minpack/index.html +@dirrm share/examples/minpack |