aboutsummaryrefslogtreecommitdiffstats
path: root/math/pari/Makefile
blob: faa258216ac6e5e63852c99926f43ecbd6902af4 (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
41
42
43
# New ports collection makefile for:    PARI
# Date created:     19 January 1999
# Whom: Yoshiaki UCHIKAWA <yoshiaki@kt.rim.or.jp>
#
# $FreeBSD$
#

PORTNAME=   pari
PORTVERSION=    2.5.0
CATEGORIES= math
MASTER_SITES=   http://pari.math.u-bordeaux.fr/pub/pari/unix/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Mathematics library and advanced calculator package

LICENSE=    GPLv2

LIB_DEPENDS=    gmp.10:${PORTSDIR}/math/gmp

MAKE_JOBS_UNSAFE=   yes

ALL_TARGET= gp
CONFIGURE_SCRIPT=   Configure
CONFIGURE_ARGS= --prefix=${PREFIX} \
        --share-prefix=${PREFIX}/share \
        --with-gmp=${LOCALBASE}
#MAKE_ARGS= gp
HAS_CONFIGURE=  yes
USE_LDCONFIG=   yes

MAN1=       gp.1 gp-${GP_VERSION}.1 gphelp.1 tex2mail.1
MLINKS=     gp.1 pari.1
PORTDOCS=   *
PLIST_SUB=  GP_VERSION=${GP_VERSION} PORTVERSION=${PORTVERSION}

GP_VERSION= ${PORTVERSION:R}

post-install:
    @if [ -L ${MAN1PREFIX}/man/man1/pari.1 ]; then \
        ${RM} -f ${MAN1PREFIX}/man/man1/pari.1 ;\
    fi

.include <bsd.port.mk>