diff options
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/aribas/Makefile | 40 | ||||
-rw-r--r-- | math/aribas/distinfo | 3 | ||||
-rw-r--r-- | math/aribas/pkg-descr | 8 |
4 files changed, 52 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 1eba949a39ab..6343a8b18e43 100644 --- a/math/Makefile +++ b/math/Makefile @@ -13,6 +13,7 @@ SUBDIR += algae SUBDIR += algotutor SUBDIR += apc + SUBDIR += aribas SUBDIR += arpack SUBDIR += arpack++ SUBDIR += asir2000 diff --git a/math/aribas/Makefile b/math/aribas/Makefile new file mode 100644 index 000000000000..3302ccfdd56b --- /dev/null +++ b/math/aribas/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: aribas +# Date created: 2007-06-19 +# Whom: Lars Engels <lars.engels@0x20.net> +# +# $FreeBSD$ +# + +PORTNAME= aribas +PORTVERSION= 1.53 +CATEGORIES= math +MASTER_SITES= ftp://ftp.mathematik.uni-muenchen.de/pub/forster/aribas/ \ + http://bsd-geek.de/FreeBSD/distfiles/ + +MAINTAINER= lars.engels@0x20.net +COMMENT= Interpreter for big integer/multi-precision floating point arithmetic + +BUILD_WRKSRC= ${WRKSRC}/src + +PLIST_FILES= bin/aribas +PORTDOCS= README aribas.doc aribas.man aribas.tut +PORTEXAMPLES= README factor.ari pi.ari queens.ari +MAN1= aribas.1 + +post-patch: + @${REINPLACE_CMD} -e '/^CC/d;' \ + -e '/^CFLAGS/s/-O//' ${BUILD_WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/aribas ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/ +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR} +.endif +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/math/aribas/distinfo b/math/aribas/distinfo new file mode 100644 index 000000000000..5b394509df13 --- /dev/null +++ b/math/aribas/distinfo @@ -0,0 +1,3 @@ +MD5 (aribas-1.53.tar.gz) = 80efac1c3233e9c5dbe6190e444026fd +SHA256 (aribas-1.53.tar.gz) = f267a1b58d4f9d68a635931963066b8b789eb719cd69b1ed04cb2860bd2a3d62 +SIZE (aribas-1.53.tar.gz) = 283085 diff --git a/math/aribas/pkg-descr b/math/aribas/pkg-descr new file mode 100644 index 000000000000..b09080936d36 --- /dev/null +++ b/math/aribas/pkg-descr @@ -0,0 +1,8 @@ +ARIBAS is an interactive interpreter for big integer arithmetic and +multi-precision floating point arithmetic with a Pascal/Modula like +syntax. It has several builtin functions for algorithmic number +theory like gcd, Jacobi symbol, Rabin probabilistic prime test, +continued fraction and quadratic sieve factorization, Pollard rho +factorization, etc. + +WWW: http://www.mathematik.uni-muenchen.de/~forster/sw/adownload.html |