blob: 7ae98fcc6697d03631166041ca6b08a5823ac850 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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= lme@FreeBSD.org
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>
|