[Midnightbsd-cvs] mports: math/cln: Added cln-1.2.2
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Sat Dec 20 00:52:21 EST 2008
Log Message:
-----------
Added cln-1.2.2
Added Files:
-----------
mports/math/cln:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/math/cln/files:
patch-Makefile.in (r1.1)
patch-doc::Makefile.in (r1.1)
-------------- next part --------------
--- /dev/null
+++ math/cln/pkg-descr
@@ -0,0 +1,20 @@
+CLN is a library for computations with all kinds of numbers. It has a
+rich set of number classes:
+
+ - Integers (with unlimited precision),
+ - Rational numbers,
+ - Floating-point numbers:
+ Short float,
+ Single float,
+ Double float,
+ Long float (with unlimited precision),
+ - Complex numbers,
+ - Modular integers (integers modulo a fixed integer),
+ - Univariate polynomials.
+
+The subtypes of the complex numbers among these are exactly the types
+of numbers known to the Common Lisp language. Therefore CLN can be used
+for Common Lisp implementations, giving `CLN' another meaning: it
+becomes an abbreviation of "Common Lisp Numbers".
+
+WWW: http://www.ginac.de/CLN/
--- /dev/null
+++ math/cln/pkg-plist
@@ -0,0 +1,109 @@
+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/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/exception.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
+lib/libcln.a
+lib/libcln.la
+lib/libcln.so
+lib/libcln.so.5
+libdata/pkgconfig/cln.pc
+%%PORTDOCS%%%%DOCSDIR%%/dvi/cln.dvi
+%%PORTDOCS%%%%DOCSDIR%%/html/cln.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_1.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_10.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_11.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_12.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_13.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_14.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_15.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_16.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_2.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_3.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_4.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_5.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_6.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_7.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_8.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_9.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_abt.html
+%%PORTDOCS%%%%DOCSDIR%%/html/cln/cln_fot.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/cln/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/dvi/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm include/cln
--- /dev/null
+++ math/cln/Makefile
@@ -0,0 +1,61 @@
+# ex:ts=8
+#
+# $MidnightBSD: mports/math/cln/Makefile,v 1.1 2008/12/20 05:52:19 ctriv Exp $
+#
+
+PORTNAME= cln
+PORTVERSION= 1.2.2
+CATEGORIES= math devel
+MASTER_SITES= http://www.ginac.de/CLN/ \
+ http://www.mirrors.wiretapped.net/security/cryptography/libraries/math/cln/ \
+ ftp://ftpthep.physik.uni-mainz.de/pub/gnu/
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Class Library for Numbers
+LICENSE= gpl2
+
+LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
+
+USE_AUTOTOOLS= libtool:15
+USE_BZIP2= yes
+USE_GNOME= gnomehack gnometarget pkgconfig
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --with-gmp
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_LDCONFIG= yes
+
+INFO= cln
+
+STRIP= # none
+
+CFLAGS+= -fPIC
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
+BROKEN= Does not compile on sparc64 or ia64
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in
+
+pre-build:
+.if exists(${LOCALBASE}/lib/libcln.so.3)
+BROKEN= Does not compile when older version is installed. Please pkg_delete old cln first
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}/dvi
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.dvi ${DOCSDIR}/dvi/
+ @${MKDIR} ${DOCSDIR}/html
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html/
+ @${MKDIR} ${DOCSDIR}/html/cln
+ ${INSTALL_DATA} ${WRKSRC}/doc/cln/*.html ${DOCSDIR}/html/cln/
+.endif
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ math/cln/distinfo
@@ -0,0 +1,3 @@
+MD5 (cln-1.2.2.tar.bz2) = 6b479281fec86314b4c7a9357bd83ef8
+SHA256 (cln-1.2.2.tar.bz2) = 3de70896cb9eaa7d4cb957890adb88cd7d7a9ce84c0e2a87cd18afde017392e5
+SIZE (cln-1.2.2.tar.bz2) = 1742427
--- /dev/null
+++ math/cln/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2007-09-19 08:01:07.000000000 +0800
++++ Makefile.in 2002-01-05 01:38:21.000000000 +0800
+@@ -10,7 +10,7 @@
+ bindir = @bindir@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+-libdir = @libdir@
++libdir = ${local_prefix}/libdata
+ includedir = @includedir@
+ mandir = @mandir@
+ DESTDIR =
--- /dev/null
+++ math/cln/files/patch-doc::Makefile.in
@@ -0,0 +1,17 @@
+--- doc/Makefile.in.orig 2002-01-05 01:39:59.000000000 +0800
++++ doc/Makefile.in 2002-01-05 01:47:24.000000000 +0800
+@@ -80,14 +80,10 @@
+ echo " install-info --info-dir=${DESTDIR}${infodir} ${DESTDIR}${infodir}/${PACKAGE}.info";\
+ install-info --info-dir=${DESTDIR}${infodir} ${DESTDIR}${infodir}/${PACKAGE}.info || :;\
+ else : ; fi
+- ${INSTALL_DATA} ${srcdir}/${PACKAGE}/${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
+ @if (install-info --version && \
More information about the Midnightbsd-cvs
mailing list