# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.16 5.18 5.20 5.22 perl5.setup Math-Pari 2.010808 license {Artistic-1 GPL} maintainers nomaintainer description perl interface to pari. long_description ${description} platforms darwin use_zip yes master_sites-append http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/:pari dist_subdir pari if {${perl5.major} != ""} { # 2.1.7, though old, is the newest version of pari # supported by p5-math-pari 2.01080*, according to the README. set pari_version 2.1.7 set pari_distfile pari-${pari_version}.tgz # Let the p5-math-pari configure process extract and patch the pari distfile. set p5_distfile ${distfiles} extract.only ${p5_distfile} checksums ${p5_distfile} \ rmd160 4c869bbdf56326eb0f98a06f7abf09891f4627f7 \ sha256 543633b2984a71e8adee2a6130f740cc1e22aefb95ca3e886338aee9e1ae3c06 \ ${pari_distfile} \ rmd160 6d7ca649cdd457d96c12e1f9333143d496a78b7e \ sha256 9142f2cdaf3083c8962f1a5c2bb0e9fe8915f7d9490c03312ac2361c7ea155fa distfiles-append ${pari_distfile}:pari post-patch { file copy ${filespath}/patch-pari-2_1_7-src-kernel-ix86-level0.h.diff ${worksrcpath}/patches/ } # The configure process will extract *and patch* this distfile. configure.args-append pari_tgz=${distpath}/${pari_distfile} platform darwin 9 i386 { patchfiles-append \ patch-libPARI-Makefile.PL.diff \ patch-utils-Math-PariBuild.pm.diff \ patch-MANIFEST.diff } }