Changeset 138658


Ignore:
Timestamp:
Jul 14, 2015, 11:06:32 PM (5 years ago)
Author:
devans@…
Message:

ifeffit: use github port group, correct pgplot configuration, default variant is now +gcc49 to match pgplot and p5-ifeffit, see important build notes in comments, increment revision to rebuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/ifeffit/Portfile

    r132592 r138658  
    33
    44PortSystem          1.0
     5PortGroup           github 1.0
    56
    6 name                ifeffit
     7github.setup        newville ifeffit 1.2.final
    78version             1.2.13
    8 revision            2
     9revision            3
    910
    1011categories          science
     
    2021
    2122homepage            http://cars.uchicago.edu/~ifeffit/
    22 master_sites        https://github.com/newville/ifeffit/archive/
    2323
    2424checksums           rmd160  dedd8b9f6be0d0b0bce67e5f53c18faddf7b0912 \
     
    2828worksrcdir          ${name}-${distname}
    2929
    30 depends_lib         port:pgplot
     30depends_lib         port:pgplot \
     31                    port:libpng \
     32                    port:xorg-libX11
    3133
    32 configure.args      --with-pgplot=${prefix}/lib
     34# the ifeffit script to determine pgplot's linking options is broken
     35# so we have to supply them explicitly
     36
     37configure.args      --with-pgplot \
     38                    --with-pgplot-link="-L${prefix}/lib -lpgplot -lpng16 -lX11"
     39
     40# IMPORTANT BUILD NOTES
     41#
     42# ifeffit, pgplot and p5-ifeffit need to be using the same compiler libraries.
     43# therefore they must be built with the same gcc compiler variants.
     44# currently this is gcc49 by default but it you change one change them all and rebuild.
     45#
     46# p5-ifeffit is configured using a Makefile.PL that is generated when ifeffit is built.
     47# since the paths to the compiler libraries contain compiler version information,
     48# if the compiler version changes then both ifeffit and p5-ifeffit need to be rebuilt
     49# so that the Makefile.PL in use contains the correct paths.
     50#
     51# if in doubt rebuild everything
    3352
    3453variant gcc45 description {Use gfortran from gcc45} conflicts gcc46 gcc47 gcc48 gcc49 {
     
    7291}
    7392
    74 if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc49]} {
    75     default_variants    +gcc48
     93if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]} {
     94    default_variants    +gcc49
    7695}
     96
     97# this is the final release of ifeffit
     98livecheck.type none
Note: See TracChangeset for help on using the changeset viewer.