Revision 8 (by ahitrov@rambler.ru, 2010/03/29 11:46:38) Contenido UTF-8 core files
##############################################################################
# $HeadURL: 
# $Id:
###############################################################################

PORTVERSION =		2.010709
PERL_MAKEMAKER =	yes
MASTER_CPAN_SUBDIR =	Math
PORT_DEPENDS = 		pari

CONFIGURE_PRECMD =      ${MAKE_RECURSIVE} pre-configure
CONFIGURE_POSTARGS =	parilib="-L${PREFIX}/lib -lpari"		\
			paridir=`${MAKE_RECURSIVE} -C ${PORTSDIR}/all/pari wrksrc | head -1`

pre-configure:
	cd ../pari && ${MAKE_RECURSIVE} extract
	cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch-makefile

BUILD_POSTCMD =      ${MAKE_RECURSIVE} post-build

post-build:
	cd ../pari && ${MAKE_RECURSIVE} clean

include ../../etc/ports.mk