summaryrefslogtreecommitdiffstats
path: root/math/libranlib
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-04-07 07:02:51 +0000
committertg <tg@FreeBSD.org>1997-04-07 07:02:51 +0000
commitbd8f3b0d43188420db9b9fb7a8092c46b3d7ca1f (patch)
tree0e4eaca3e95c63aac74c42eb154ba98fed765725 /math/libranlib
parent694a54c24f927279aaa70b8aa3f36f998ca1bc97 (diff)
downloadFreeBSD-ports-bd8f3b0d43188420db9b9fb7a8092c46b3d7ca1f.zip
FreeBSD-ports-bd8f3b0d43188420db9b9fb7a8092c46b3d7ca1f.tar.gz
Import of libranlib. libranlib is a library of random number
generators from netlib.
Diffstat (limited to 'math/libranlib')
-rw-r--r--math/libranlib/Makefile28
-rw-r--r--math/libranlib/distinfo1
-rw-r--r--math/libranlib/files/Makefile.lib17
-rw-r--r--math/libranlib/pkg-comment1
-rw-r--r--math/libranlib/pkg-descr20
-rw-r--r--math/libranlib/pkg-plist7
6 files changed, 74 insertions, 0 deletions
diff --git a/math/libranlib/Makefile b/math/libranlib/Makefile
new file mode 100644
index 0000000..356be74
--- /dev/null
+++ b/math/libranlib/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: ranlib
+# Version required: ?
+# Date created: 06 April 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $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 <bsd.port.mk>
diff --git a/math/libranlib/distinfo b/math/libranlib/distinfo
new file mode 100644
index 0000000..b375c5c
--- /dev/null
+++ b/math/libranlib/distinfo
@@ -0,0 +1 @@
+MD5 (ranlib.f.tar.gz) = b2d4aeb9ea5ec5eec7d32600d0d8de29
diff --git a/math/libranlib/files/Makefile.lib b/math/libranlib/files/Makefile.lib
new file mode 100644
index 0000000..d0e41db
--- /dev/null
+++ b/math/libranlib/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 <bsd.lib.mk>
diff --git a/math/libranlib/pkg-comment b/math/libranlib/pkg-comment
new file mode 100644
index 0000000..49c4cb8
--- /dev/null
+++ b/math/libranlib/pkg-comment
@@ -0,0 +1 @@
+Library of Routines for Random Number Generation
diff --git a/math/libranlib/pkg-descr b/math/libranlib/pkg-descr
new file mode 100644
index 0000000..e42d512
--- /dev/null
+++ b/math/libranlib/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/libranlib/pkg-plist b/math/libranlib/pkg-plist
new file mode 100644
index 0000000..acb3b7b
--- /dev/null
+++ b/math/libranlib/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
OpenPOWER on IntegriCloud