aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Pari/Makefile
blob: c3049d5d366c993cf42dde84def72091a1d2d976 (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
# Created by: Michael Haro <mharo@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Math-Pari
PORTVERSION=    2.01080605
CATEGORIES= math perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

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

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

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>