mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
fdf638f9b9
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 PR: ports/113862 Submitted by: Lars Engels <lars.engels at 0x20.net>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# 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>
|