Ticket #42167: demeter-0.9.19.diff
File demeter-0.9.19.diff, 2.8 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup perl5 1.0 6 6 PortGroup github 1.0 7 PortGroup active_variants 1.18 7 9 8 # Need to use perl 5.16 because p5.12-wx does not work. But make the perl version easy to change. 10 9 set perl-version 5.16 11 10 perl5.branches ${perl-version} 12 11 13 name demeter 14 version 0.9.18.2 15 revision 1 16 12 github.setup bruceravel demeter 0.9.19 17 13 categories science 18 14 platforms darwin 19 15 license Permissive … … 24 20 long_description Demeter is a comprehensive system for processing and analyzing X-ray Absorption Spectroscopy data. 25 21 26 22 homepage http://bruceravel.github.com/demeter/ 27 master_sites https://github.com/bruceravel/demeter/archive/28 23 29 distname ${version} 30 worksrcdir ${name}-${version} 24 checksums rmd160 2e2ab1f0c46185996e8c5a189648528d36f95832 \ 25 sha256 82dbdd03db9f01926d66821c48ccbc6c3787ea7c6c3761b37562179e9022c922 31 26 32 checksums rmd160 002f5ec90aacb0a103f8bd5f77872917003b0949 \33 sha256 4cac8067e3d8d62678192c42554b42771baad4299175b9c6693b225055efade634 35 27 depends_build-append \ 28 port:perl${perl-version} \ 36 29 port:p${perl-version}-file-touch \ 37 30 port:p${perl-version}-image-size \ 38 31 port:p${perl-version}-pod-projectdocs \ … … 85 78 patchfiles patch-DocBuilder-Artemis.pm.diff \ 86 79 patch-DocBuilder-Athena.pm.diff 87 80 88 require_active_variants \89 perl5 perl5_1690 91 81 post-patch { 92 82 reinplace "s|@@PERL-VERSION@@|${perl-version}|g" ${worksrcpath}/DocBuilder/Artemis.pm 93 83 reinplace "s|@@PERL-VERSION@@|${perl-version}|g" ${worksrcpath}/DocBuilder/Athena.pm 94 84 } 95 85 96 configure.cmd perlBuild.PL86 configure.cmd ${prefix}/bin/perl${perl-version} Build.PL 97 87 configure.args --destdir ${destroot} 98 88 99 89 build.cmd ./Build … … 101 91 102 92 post-destroot { 103 93 # Put the main executables (perl scripts) into the PATH 104 ln -s ${prefix}/libexec/perl 5.16/sitebin/dartemis ${destroot}${prefix}/bin/artemis105 ln -s ${prefix}/libexec/perl 5.16/sitebin/dathena ${destroot}${prefix}/bin/athena106 ln -s ${prefix}/libexec/perl 5.16/sitebin/dhephaestus ${destroot}${prefix}/bin/hephaestus94 ln -s ${prefix}/libexec/perl${perl-version}/sitebin/dartemis ${destroot}${prefix}/bin/artemis 95 ln -s ${prefix}/libexec/perl${perl-version}/sitebin/dathena ${destroot}${prefix}/bin/athena 96 ln -s ${prefix}/libexec/perl${perl-version}/sitebin/dhephaestus ${destroot}${prefix}/bin/hephaestus 107 97 }