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