import cln, a c++ library for efficient computations

from Paul Irofti <bulibuta at gmail.com> with some tweaks
This commit is contained in:
steven 2007-11-20 12:09:52 +00:00
parent e6f700ebb4
commit 6eff9f4ec6
6 changed files with 188 additions and 0 deletions

32
devel/cln/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/11/20 12:09:52 steven Exp $
NOT_FOR_ARCHS= sparc64
COMMENT= library for efficient computations
DISTNAME= cln-1.1.13
SHARED_LIBS += cln 0.0 # .4.2
CATEGORIES= devel
HOMEPAGE= http://www.ginac.de/CLN/
MAINTAINER= Paul Irofti <bulibuta@gmail.com>
# GPL v2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= gmp::devel/gmp
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

5
devel/cln/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (cln-1.1.13.tar.bz2) = Hz0ic2AAOzibuhTIpcNpWg==
RMD160 (cln-1.1.13.tar.bz2) = eY6OKo1KqBt3C2YGrh/mF7ywy8M=
SHA1 (cln-1.1.13.tar.bz2) = YcEwy7AO2VoZ7p3/wTaygj5FJkc=
SHA256 (cln-1.1.13.tar.bz2) = +1cMCsRK7x/+JR/fKptARIyVqiE5i0klZiA92YKxjAM=
SIZE (cln-1.1.13.tar.bz2) = 1708927

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2007/11/20 12:09:52 steven Exp $
--- doc/Makefile.in.orig Tue Nov 20 11:54:26 2007
+++ doc/Makefile.in Tue Nov 20 11:55:01 2007
@@ -11,10 +11,11 @@ local_prefix = /usr/local
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
datadir = @datadir@
+docdir = @docdir@
infodir = @infodir@
mandir = @mandir@
-htmldir = $(datadir)/html
-dvidir = $(datadir)/dvi
+htmldir = $(docdir)
+dvidir = $(docdir)
DESTDIR =
# Programs used by "make":

21
devel/cln/pkg/DESCR Normal file
View File

@ -0,0 +1,21 @@
CLN is a C++ library providing the following features:
* Rich set of number classes:
Integer (unlimited precision), rational, short float, single
float, double float, long float (unlimited precision), complex,
modular integer, univariate polynomial.
* Elementary, logical, transcendental functions.
* C++ as implementation language brings
o efficiency,
o type safety,
o algebraic syntax.
* Memory efficiency:
o Small integers and short floats are immediate, not heap
allocated.
o Automatic, non-interruptive garbage collection.
* Speed efficiency:
o Assembly language kernel for some CPUs,
o Karatsuba and Schönhage-Strassen multiplication.
* Interoperability:
o Garbage collection with no burden on the main application,
o hooks for memory allocation and exceptions.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/11/20 12:09:52 steven Exp $
@lib lib/libcln.so.${LIBcln_VERSION}

111
devel/cln/pkg/PLIST Normal file
View File

@ -0,0 +1,111 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/11/20 12:09:52 steven Exp $
%%SHARED%%
bin/cln-config
include/cln/
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/pkgconfig/
lib/pkgconfig/cln.pc
@man man/man1/cln-config.1
share/aclocal/
share/aclocal/cln.m4
share/doc/cln/
share/doc/cln/cln.dvi
share/doc/cln/cln_1.html
share/doc/cln/cln_10.html
share/doc/cln/cln_11.html
share/doc/cln/cln_12.html
share/doc/cln/cln_13.html
share/doc/cln/cln_14.html
share/doc/cln/cln_15.html
share/doc/cln/cln_16.html
share/doc/cln/cln_2.html
share/doc/cln/cln_3.html
share/doc/cln/cln_4.html
share/doc/cln/cln_5.html
share/doc/cln/cln_6.html
share/doc/cln/cln_7.html
share/doc/cln/cln_8.html
share/doc/cln/cln_9.html
share/doc/cln/cln_abt.html
share/doc/cln/cln_ovr.html
share/doc/cln/cln_toc.html