Line # Revision Author
1 3 ahitrov@rambler.ru ##############################################################################
2 # $HeadURL:
3 # $Id:
4 ###############################################################################
5
6 PORTVERSION = 2.010709
7 PERL_MAKEMAKER = yes
8 MASTER_CPAN_SUBDIR = Math
9 PORT_DEPENDS = pari
10
11 CONFIGURE_PRECMD = ${MAKE_RECURSIVE} pre-configure
12 CONFIGURE_POSTARGS = parilib="-L${PREFIX}/lib -lpari" \
13 paridir=`${MAKE_RECURSIVE} -C ${PORTSDIR}/all/pari wrksrc | head -1`
14
15 pre-configure:
16 cd ../pari && ${MAKE_RECURSIVE} extract
17 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch-makefile
18
19 BUILD_POSTCMD = ${MAKE_RECURSIVE} post-build
20
21 post-build:
22 cd ../pari && ${MAKE_RECURSIVE} clean
23
24 include ../../etc/ports.mk