aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Pari/Makefile
blob: f76c5ee0caf2008c3b1bd9541d6005ac375a99ee (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
# New ports collection makefile for:    p5-Math-Pari
# Date created:             Tue Sep 11 02:08:49 PDT 2001
# Whom:                     Michael Haro <mharo@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Math-Pari
PORTVERSION=    2.010709
CATEGORIES= math perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    PARI - numerical/scientific/number-theoretic calculations

BUILD_DEPENDS=  pari:${PORTSDIR}/math/pari:configure
LIB_DEPENDS=    pari:${PORTSDIR}/math/pari

USE_GCC=    3.2+
PERL_CONFIGURE= yes

CONFIGURE_ARGS= parilib="-L${LOCALBASE}/lib -lpari" \
        paridir=`${MAKE} -C ${PORTSDIR}/math/pari -V WRKSRC`

MAN3=       Math::Pari.3 Math::libPARI.3 Math::PariInit.3

post-patch:
    ${REINPLACE_CMD} -e 's/2001004/2003000/' ${WRKSRC}/Makefile.PL

post-clean:
    ${MAKE} -C ${PORTSDIR}/math/pari -DBATCH clean

.include <bsd.port.mk>