summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/cln/DESCR9
-rw-r--r--math/cln/Makefile24
-rw-r--r--math/cln/PLIST110
-rw-r--r--math/cln/buildlink3.mk22
-rw-r--r--math/cln/distinfo7
-rw-r--r--math/cln/patches/patch-aa22
-rw-r--r--math/cln/patches/patch-ab36
-rw-r--r--math/cln/patches/patch-ac21
8 files changed, 251 insertions, 0 deletions
diff --git a/math/cln/DESCR b/math/cln/DESCR
new file mode 100644
index 00000000000..109648da50b
--- /dev/null
+++ b/math/cln/DESCR
@@ -0,0 +1,9 @@
+CLN - Class Library for Numbers is a C++ library providing the following
+features:
+* Rich set of number classes
+* Elementary, logical, transcendental functions
+* C++ as implementation language brings efficiency, type safety,
+ and algebraic syntax
+* Memory efficiency
+* Speed efficiency
+* Interoperability
diff --git a/math/cln/Makefile b/math/cln/Makefile
new file mode 100644
index 00000000000..8696270a351
--- /dev/null
+++ b/math/cln/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $
+#
+
+DISTNAME= cln-1.1.6
+CATEGORIES= math
+MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/gnu/ \
+ ftp://ftp.santafe.edu/pub/gnu/ \
+ ftp://ftp.ilog.fr/pub/Users/haible/gnu/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://www.ginac.de/CLN/
+COMMENT= CLN Class Library for Numbers
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE= ${WRKSRC}/cln.pc.in
+
+INFO_FILES= cln.info
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/cln/PLIST b/math/cln/PLIST
new file mode 100644
index 00000000000..5b2077ed1cf
--- /dev/null
+++ b/math/cln/PLIST
@@ -0,0 +1,110 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $
+bin/cln-config
+include/cln/GV.h
+include/cln/GV_complex.h
+include/cln/GV_integer.h
+include/cln/GV_modinteger.h
+include/cln/GV_number.h
+include/cln/GV_rational.h
+include/cln/GV_real.h
+include/cln/SV.h
+include/cln/SV_complex.h
+include/cln/SV_integer.h
+include/cln/SV_number.h
+include/cln/SV_rational.h
+include/cln/SV_real.h
+include/cln/SV_ringelt.h
+include/cln/V.h
+include/cln/abort.h
+include/cln/cln.h
+include/cln/complex.h
+include/cln/complex_class.h
+include/cln/complex_io.h
+include/cln/complex_ring.h
+include/cln/condition.h
+include/cln/config.h
+include/cln/dfloat.h
+include/cln/dfloat_class.h
+include/cln/dfloat_io.h
+include/cln/ffloat.h
+include/cln/ffloat_class.h
+include/cln/ffloat_io.h
+include/cln/float.h
+include/cln/float_class.h
+include/cln/float_io.h
+include/cln/floatformat.h
+include/cln/floatparam.h
+include/cln/input.h
+include/cln/integer.h
+include/cln/integer_class.h
+include/cln/integer_io.h
+include/cln/integer_ring.h
+include/cln/intparam.h
+include/cln/io.h
+include/cln/lfloat.h
+include/cln/lfloat_class.h
+include/cln/lfloat_io.h
+include/cln/malloc.h
+include/cln/modinteger.h
+include/cln/modules.h
+include/cln/null_ring.h
+include/cln/number.h
+include/cln/number_io.h
+include/cln/numtheory.h
+include/cln/object.h
+include/cln/output.h
+include/cln/proplist.h
+include/cln/random.h
+include/cln/rational.h
+include/cln/rational_class.h
+include/cln/rational_io.h
+include/cln/rational_ring.h
+include/cln/real.h
+include/cln/real_class.h
+include/cln/real_io.h
+include/cln/real_ring.h
+include/cln/ring.h
+include/cln/sfloat.h
+include/cln/sfloat_class.h
+include/cln/sfloat_io.h
+include/cln/string.h
+include/cln/symbol.h
+include/cln/timing.h
+include/cln/types.h
+include/cln/univpoly.h
+include/cln/univpoly_complex.h
+include/cln/univpoly_integer.h
+include/cln/univpoly_modint.h
+include/cln/univpoly_rational.h
+include/cln/univpoly_real.h
+include/cln/version.h
+info/cln.info
+lib/libcln.a
+lib/libcln.la
+lib/libcln.so
+lib/libcln.so.3
+lib/libcln.so.3.0
+lib/pkgconfig/cln.pc
+man/man1/cln-config.1
+share/aclocal/cln.m4
+share/doc/html/cln/cln_1.html
+share/doc/html/cln/cln_10.html
+share/doc/html/cln/cln_11.html
+share/doc/html/cln/cln_12.html
+share/doc/html/cln/cln_13.html
+share/doc/html/cln/cln_14.html
+share/doc/html/cln/cln_15.html
+share/doc/html/cln/cln_16.html
+share/doc/html/cln/cln_2.html
+share/doc/html/cln/cln_3.html
+share/doc/html/cln/cln_4.html
+share/doc/html/cln/cln_5.html
+share/doc/html/cln/cln_6.html
+share/doc/html/cln/cln_7.html
+share/doc/html/cln/cln_8.html
+share/doc/html/cln/cln_9.html
+share/doc/html/cln/cln_abt.html
+share/doc/html/cln/cln_ovr.html
+share/doc/html/cln/cln_toc.html
+@dirrm share/doc/html/cln
+@dirrm include/cln
diff --git a/math/cln/buildlink3.mk b/math/cln/buildlink3.mk
new file mode 100644
index 00000000000..f4fc6cdf720
--- /dev/null
+++ b/math/cln/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $
+#
+# This Makefile fragment is included by packages that use cln.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CLN_BUILDLINK3_MK:= ${CLN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= cln
+.endif
+
+.if !empty(CLN_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= cln
+BUILDLINK_DEPENDS.cln+= cln>=1.1.6
+BUILDLINK_PKGSRCDIR.cln?= ../../adam/cln
+
+.endif # CLN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/math/cln/distinfo b/math/cln/distinfo
new file mode 100644
index 00000000000..8c65635f298
--- /dev/null
+++ b/math/cln/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $
+
+SHA1 (cln-1.1.6.tar.bz2) = f1f9118cf8c3318cbbe88157044b2be4896b6161
+Size (cln-1.1.6.tar.bz2) = 1595522 bytes
+SHA1 (patch-aa) = 5081352b902de9065e7c6645442823ab297bef09
+SHA1 (patch-ab) = 828e467fcb31f536056f8bacc8246b41937630f0
+SHA1 (patch-ac) = 8fdcfafd81c7e660da1c6c379cbb5ef52fa05d1b
diff --git a/math/cln/patches/patch-aa b/math/cln/patches/patch-aa
new file mode 100644
index 00000000000..39eed5e0b15
--- /dev/null
+++ b/math/cln/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $
+
+--- src/base/random/cl_random_from.cc.orig 2003-12-29 19:04:08.000000000 +0000
++++ src/base/random/cl_random_from.cc
+@@ -12,7 +12,7 @@
+ #include "cl_base_config.h"
+ #include "cl_low.h"
+
+-#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__)
++#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__) || defined(__NetBSD__)
+
+ #include <sys/types.h>
+ #include <unistd.h> // declares getpid()
+@@ -64,7 +64,7 @@ random_state::random_state ()
+ {
+ var uint32 seed_hi;
+ var uint32 seed_lo;
+-#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__)
++#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__) || defined(__NetBSD__)
+ seed_lo = ::get_seed();
+ seed_hi = (rand() // zufällige 31 Bit (bei UNIX_BSD) bzw. 16 Bit (bei UNIX_SYSV)
+ << 8) ^ (uintL)(getpid()); // ca. 8 Bit von der Process ID
diff --git a/math/cln/patches/patch-ab b/math/cln/patches/patch-ab
new file mode 100644
index 00000000000..063aba52d67
--- /dev/null
+++ b/math/cln/patches/patch-ab
@@ -0,0 +1,36 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $
+
+--- doc/Makefile.in.orig 2003-11-17 13:22:06.000000000 +0100
++++ doc/Makefile.in
+@@ -12,7 +12,7 @@ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+ infodir = @infodir@
+ mandir = @mandir@
+-htmldir = $(datadir)/html
++htmldir = $(datadir)/doc/html/cln
+ dvidir = $(datadir)/dvi
+ DESTDIR =
+
+@@ -42,7 +42,7 @@ SHELL = /bin/sh
+
+ VPATH = $(srcdir)
+
+-all : info dvi ps html
++all : info html
+
+
+ info : $(srcdir)/$(PACKAGE).info
+@@ -82,13 +82,11 @@ $(PACKAGE)_toc.html : $(srcdir)/$(PACKAG
+ install : all installdirs force
+ $(INSTALL_DATA) $(srcdir)/$(PACKAGE).info $(DESTDIR)$(infodir)/$(PACKAGE).info
+ $(INSTALL_DATA) $(srcdir)/$(PACKAGE)_*.html $(DESTDIR)$(htmldir)
+- $(INSTALL_DATA) $(srcdir)/$(PACKAGE).dvi $(DESTDIR)$(dvidir)/$(PACKAGE).dvi
+
+ installdirs : force
+ $(MKDIR) $(DESTDIR)$(datadir)
+ $(MKDIR) $(DESTDIR)$(infodir)
+ $(MKDIR) $(DESTDIR)$(htmldir)
+- $(MKDIR) $(DESTDIR)$(dvidir)
+
+ uninstall : force
+ $(RM) $(DESTDIR)$(infodir)/$(PACKAGE).info
diff --git a/math/cln/patches/patch-ac b/math/cln/patches/patch-ac
new file mode 100644
index 00000000000..cad90e56d99
--- /dev/null
+++ b/math/cln/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $
+
+--- Makefile.in.orig 2003-11-21 20:48:52.000000000 +0000
++++ Makefile.in
+@@ -21,6 +21,7 @@ MKDIR = mkdir -p
+ @SET_MAKE@
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_DATA = @INSTALL_DATA@
+ UNINSTALL_PROGRAM = @UNINSTALL_PROGRAM@
+
+@@ -33,7 +34,7 @@ all : force
+
+ install : installdirs force
+ cd @subdir@; $(MAKE) install
+- $(INSTALL_PROGRAM) cln-config $(DESTDIR)$(bindir)/cln-config
++ $(INSTALL_SCRIPT) cln-config $(DESTDIR)$(bindir)/cln-config
+ $(INSTALL_DATA) cln-config.1 $(DESTDIR)$(mandir)/man1/cln-config.1
+ $(INSTALL_DATA) cln.m4 $(DESTDIR)$(datadir)/aclocal/cln.m4
+ $(INSTALL_DATA) cln.pc $(DESTDIR)$(libdir)/pkgconfig/cln.pc