2013-09-20 20:55:04 +00:00
|
|
|
# Created by: Lars Engels <lme@FreeBSD.org>
|
2007-06-20 14:04:09 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= aribas
|
2010-06-02 06:59:05 +00:00
|
|
|
PORTVERSION= 1.64
|
2007-06-20 14:04:09 +00:00
|
|
|
CATEGORIES= math
|
2008-09-04 14:52:05 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mathematik.uni-muenchen.de/pub/forster/aribas/UNIX_LINUX/ \
|
2007-06-20 14:04:09 +00:00
|
|
|
http://bsd-geek.de/FreeBSD/distfiles/
|
|
|
|
|
2007-07-12 18:52:00 +00:00
|
|
|
MAINTAINER= lme@FreeBSD.org
|
2007-06-20 14:04:09 +00:00
|
|
|
COMMENT= Interpreter for big integer/multi-precision floating point arithmetic
|
|
|
|
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
|
2014-06-30 21:43:23 +00:00
|
|
|
PLIST_FILES= bin/aribas man/man1/aribas.1.gz
|
2007-06-20 14:04:09 +00:00
|
|
|
PORTDOCS= README aribas.doc aribas.man aribas.tut
|
|
|
|
PORTEXAMPLES= README factor.ari pi.ari queens.ari
|
|
|
|
|
2014-06-30 21:43:23 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2007-06-20 14:04:09 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^CC/d;' \
|
2010-06-02 06:59:05 +00:00
|
|
|
-e '/^CFLAGS/{s/=/+=/;s/-O -v//;}' \
|
|
|
|
-e 's/CC) -o/CC) $$(CFLAGS) -o/' ${BUILD_WRKSRC}/Makefile
|
2007-06-20 14:04:09 +00:00
|
|
|
|
|
|
|
do-install:
|
2013-10-06 09:58:28 +00:00
|
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/aribas ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
|
|
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}/
|
2007-06-20 14:04:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|