From bd8f3b0d43188420db9b9fb7a8092c46b3d7ca1f Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 7 Apr 1997 07:02:51 +0000 Subject: Import of libranlib. libranlib is a library of random number generators from netlib. --- math/randlib/Makefile | 28 ++++++++++++++++++++++++++++ math/randlib/distinfo | 1 + math/randlib/files/Makefile.lib | 17 +++++++++++++++++ math/randlib/pkg-comment | 1 + math/randlib/pkg-descr | 20 ++++++++++++++++++++ math/randlib/pkg-plist | 7 +++++++ 6 files changed, 74 insertions(+) create mode 100644 math/randlib/Makefile create mode 100644 math/randlib/distinfo create mode 100644 math/randlib/files/Makefile.lib create mode 100644 math/randlib/pkg-comment create mode 100644 math/randlib/pkg-descr create mode 100644 math/randlib/pkg-plist (limited to 'math/randlib') diff --git a/math/randlib/Makefile b/math/randlib/Makefile new file mode 100644 index 0000000..356be74 --- /dev/null +++ b/math/randlib/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: ranlib +# Version required: ? +# Date created: 06 April 1997 +# Whom: Thomas Gellekum +# +# $Id$ +# + +DISTNAME= ranlib.f +PKGNAME= ranlib-1.0 +CATEGORIES= math +MASTER_SITES= ftp://ftp.netlib.org/random/ + +MAINTAINER= tg@FreeBSD.ORG + +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +post-extract: + @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/ranlib + @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib +.endif + @${LDCONFIG} -m ${PREFIX}/lib + +.include diff --git a/math/randlib/distinfo b/math/randlib/distinfo new file mode 100644 index 0000000..b375c5c --- /dev/null +++ b/math/randlib/distinfo @@ -0,0 +1 @@ +MD5 (ranlib.f.tar.gz) = b2d4aeb9ea5ec5eec7d32600d0d8de29 diff --git a/math/randlib/files/Makefile.lib b/math/randlib/files/Makefile.lib new file mode 100644 index 0000000..d0e41db --- /dev/null +++ b/math/randlib/files/Makefile.lib @@ -0,0 +1,17 @@ +# bmake'd makefile for ranlib sources + +LIBDIR = $(PREFIX)/lib + +SHLIB_MAJOR= 1 +SHLIB_MINOR= 0 +LIB= ranlib + +SRCS = advnst.f genbet.f genchi.f genexp.f genf.f gengam.f genmn.f \ + genmul.f gennch.f gennf.f gennor.f genprm.f genunf.f getcgn.f \ + getsd.f ignbin.f ignlgi.f ignnbn.f ignpoi.f ignuin.f initgn.f \ + inrgcm.f lennob.f mltmod.f phrtsd.f qrgnin.f ranf.f setall.f \ + setant.f setgmn.f setsd.f sexpo.f sgamma.f snorm.f + +CLEANFILES+= ${SRC:.f=.c} + +.include diff --git a/math/randlib/pkg-comment b/math/randlib/pkg-comment new file mode 100644 index 0000000..49c4cb8 --- /dev/null +++ b/math/randlib/pkg-comment @@ -0,0 +1 @@ +Library of Routines for Random Number Generation diff --git a/math/randlib/pkg-descr b/math/randlib/pkg-descr new file mode 100644 index 0000000..e42d512 --- /dev/null +++ b/math/randlib/pkg-descr @@ -0,0 +1,20 @@ +This library provides routines that return: + (1) Beta random deviates + (2) Chi-square random deviates + (3) Exponential random deviates + (4) F random deviates + (5) Gamma random deviates + (6) Multivariate normal random deviates (mean and covariance + matrix specified) + (7) Noncentral chi-square random deviates + (8) Noncentral F random deviates + (9) Univariate normal random deviates + (10) Random permutations of an integer array + (11) Real uniform random deviates between specif + (12) Binomial random deviates + (13) Negative Binomial random deviates + (14) Multinomial random deviates + (15) Poisson random deviates + (16) Integer uniform deviates between specified limits + (17) Seeds for the random number generator calculated from a + character string diff --git a/math/randlib/pkg-plist b/math/randlib/pkg-plist new file mode 100644 index 0000000..acb3b7b --- /dev/null +++ b/math/randlib/pkg-plist @@ -0,0 +1,7 @@ +lib/libranlib.a +lib/libranlib.so.1.0 +@exec /sbin/ldconfig -m %B +share/doc/ranlib/Basegen.doc +share/doc/ranlib/ranlib.chs +share/doc/ranlib/ranlib.fdoc +@dirrm %B -- cgit v1.1