Tweak math/geg version 1.0.2_7
[dports.git] / math / p5-Math-Pari / Makefile
1 # Created by: Michael Haro <mharo@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       Math-Pari
5 PORTVERSION=    2.01080607
6 CATEGORIES=     math perl5
7 MASTER_SITES=   CPAN
8 PKGNAMEPREFIX=  p5-
9
10 MAINTAINER=     perl@FreeBSD.org
11 COMMENT=        PARI - numerical/scientific/number-theoretic calculations
12
13 BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/math/pari:configure
14 LIB_DEPENDS=    libpari.so:${PORTSDIR}/math/pari
15
16 USES=           perl5
17 USE_PERL5=      configure
18
19 CONFIGURE_ARGS= parilib="-L${LOCALBASE}/lib -lpari" \
20                 paridir=`${MAKE} -C ${PORTSDIR}/math/pari -V WRKSRC`
21
22 post-patch:
23         ${REINPLACE_CMD} -e 's/2001004/2003000/' ${WRKSRC}/Makefile.PL
24
25 post-clean:
26         ${MAKE} -C ${PORTSDIR}/math/pari -DBATCH clean
27
28 .include <bsd.port.mk>