Changeset 118691


Ignore:
Timestamp:
Apr 8, 2014, 6:15:50 AM (5 years ago)
Author:
mojca@…
Message:

mojca/root: add root-config to port select, minor changes

Location:
users/mojca/ports
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • users/mojca/ports/science/root5/Portfile

    r118680 r118691  
    7070
    7171# port specific location. For 'port select'
    72 set install_bindir  "${prefix}/libexec/root${version_major}/bin"
    73 set install_mandir  "${prefix}/libexec/root${version_major}/share/man"
    74 
    75 configure.args      --bindir=${install_bindir}\
     72set install_bindir  "libexec/root${version_major}/bin"
     73set install_mandir  "libexec/root${version_major}/share/man"
     74
     75configure.args      --bindir=${prefix}/${install_bindir}\
    7676                    --incdir=${prefix}/include/root${version_major}\
    7777                    --docdir=${prefix}/share/doc/root${version_major}\
     
    8181                    --etcdir=${prefix}/etc/root${version_major} \
    8282                    --datadir=${prefix}/share/root${version_major} \
    83                     --mandir=${install_mandir} \
     83                    --mandir=${prefix}/${install_mandir} \
    8484                    --disable-builtin-glew \
    8585                    --disable-builtin-pcre \
     
    165165
    166166post-destroot {
    167     reinplace "s|lib/python/genreflex|lib/root5/python/genreflex|g" ${destroot}${install_bindir}/genreflex
     167    reinplace "s|lib/python/genreflex|lib/root${version_major}/python/genreflex|g" ${destroot}${install_bindir}/genreflex
    168168}
    169169
     
    302302        if {$result} {
    303303            ui_error "Cannot install ${name} with +python${ver_no_dot} variant"
    304             return -code error "root5 port is already installed with +python${ver_no_dot} and both cannot be active at once. Pick a different python variant."
     304            return -code error "root6 port is already installed with +python${ver_no_dot} and both cannot be active at once. Pick a different python variant."
    305305        }
    306306    }
  • users/mojca/ports/science/root5/files/root5

    r118680 r118691  
    11libexec/root5/bin/root
     2libexec/root5/bin/root-config
  • users/mojca/ports/science/root6/Portfile

    r118680 r118691  
    66PortGroup           active_variants 1.1
    77PortGroup           cmake 1.0
     8PortGroup           compiler_blacklist_versions 1.0
    89PortGroup           github 1.0
    910PortGroup           select 1.0
    10 
    1111
    1212# TODO: try to figure out if one could also build root6 on < 10.9
     
    378378
    379379variant cocoa conflicts x11 description {Enables native OSX graphical backend} {
     380    # TODO: exact compiler fallback list
    380381    # Force a compatible clang compiler
    381     PortGroup compiler_blacklist_versions 1.0
    382     compiler.blacklist-append {clang < 425} *gcc* macports-clang-2.9
    383     compiler.fallback-append macports-clang-3.4 macports-clang-3.3 macports-clang-3.2 macports-clang-3.1 macports-clang-3.0
     382    compiler.blacklist-append {clang < 425} macports-clang-2.9
     383    compiler.fallback-append macports-clang-3.4 macports-clang-3.3
    384384    # Enable cocoa support in configure
    385385    configure.args-append   -Dcocoa=ON
     
    405405
    406406# List of possible clang versions that work
    407 set clang_versions { 3.0 3.1 3.2 3.3 3.4 3.5 }
     407set clang_versions { 3.3 3.4 3.5 }
    408408
    409409# Define the available variants
  • users/mojca/ports/science/root6/files/root6

    r118680 r118691  
    11libexec/root6/bin/root
     2libexec/root6/bin/root-config
  • users/mojca/ports/sysutils/root_select/files/base

    r118679 r118691  
    11bin/root
     2bin/root-config
  • users/mojca/ports/sysutils/root_select/files/none

    r118679 r118691  
    11-
     2-
Note: See TracChangeset for help on using the changeset viewer.