Ticket #35818: Portfile.2.diff

File Portfile.2.diff, 1.3 KB (added by lockhart (Thomas Lockhart), 10 years ago)

Use the correct version of python to install libraries. Bump default version of python to 2.7. Move livecheck to outside the subport code.

  • Portfile

    old new  
    66
    77name                py-omniORBpy
    88version             3.6
    9 revision            0
     9revision            1
    1010categories-append   devel
    1111license             LGPL-2.1
    1212platforms           darwin
     
    3636# Ugly but it works.
    3737
    3838python.versions     24 25 26 27
    39 python.default_version 24
     39python.default_version 27
    4040
    4141if {${name} ne ${subport}} {
    4242    notes \
     
    5959
    6060    use_configure       yes
    6161
     62    configure.python    ${python.bin}
     63
    6264    build.type          gnu
    6365    build.cmd           make
    6466    build.target        all
     
    7375        configure.args-append   --with-openssl
    7476        depends_lib-append      port:openssl
    7577    }
    76 
    77     livecheck.type      none
    78 } else {
    79     livecheck.type      regex
    80     livecheck.url       http://sourceforge.net/projects/omniorb/files/omniORBpy/
    81     livecheck.regex     "/omniorb/files/omniORBpy/omniORBpy-(\\d+\\.\\d+(?:\\.\\d+)*)/"
    8278}
     79
     80livecheck.type      regex
     81livecheck.url       http://sourceforge.net/projects/omniorb/files/omniORBpy/
     82livecheck.regex     "/omniorb/files/omniORBpy/omniORBpy-(\\d+\\.\\d+(?:\\.\\d+)*)/"