Ticket #39890: Portfile.scotch.diff
File Portfile.scotch.diff, 1.9 KB (added by wimmer@…, 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name scotch 7 version 5.1.1 18 revision 57 version 5.1.12b 8 revision 6 9 9 10 10 # this is specific to this port and *version* for downloading it: 11 set release 28 04311 set release 28978 12 12 13 13 categories science 14 14 maintainers mk pixilla … … 20 20 21 21 homepage http://gforge.inria.fr/projects/scotch 22 22 master_sites https://gforge.inria.fr/frs/download.php/${release} 23 distname scotch_${version} 23 distname scotch_${version}_esmumps 24 24 25 25 livecheck.type regex 26 26 livecheck.url https://gforge.inria.fr/frs/?group_id=248 27 livecheck.regex "scotch_(5\\.\\d+\\.\\d+ )\\.tar\\.gz"27 livecheck.regex "scotch_(5\\.\\d+\\.\\d+.)_esmumps\\.tar\\.gz" 28 28 29 29 use_bzip2 no 30 30 31 worksrcdir ${name}_ ${version}/src31 worksrcdir ${name}_5.1.12_esmumps/src 32 32 33 checksums md5 36d638a227f38a219b51fe8ddc2093ac\34 sha1 7cee69345bd101b0dbd8aff9b410dea6834c32d6\35 rmd160 2b72f555af192a17eecec65d50bd241ad87adec233 checksums md5 e13b49be804755470b159d7052764dc0 \ 34 sha1 3866deea3199bc364d31ec46c63adcb799a8cf48 \ 35 rmd160 38ed5135e401767d0df8ecea6bcf8f7e4a60a464 36 36 37 37 use_configure no 38 38 … … 71 71 72 72 pre-build { 73 73 copy ${worksrcpath}/Make.inc/Makefile.inc.i686_mac_darwin8 ${worksrcpath}/Makefile.inc 74 reinplace "s|-O3|-O3 -fPIC|" ${worksrcpath}/Makefile.inc 74 75 reinplace "s|gcc|\$(CC)|" ${worksrcpath}/Makefile.inc 75 76 reinplace "s|mpicc|${prefix}/bin/openmpicc|" ${worksrcpath}/Makefile.inc 76 77 } … … 87 88 xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 88 89 eval xinstall -m 755 [glob ${worksrcpath}/../man/man1/*] ${destroot}${prefix}/share/man/man1 89 90 } 90