Changeset 132390


Ignore:
Timestamp:
Jan 31, 2015, 2:15:13 PM (4 years ago)
Author:
cal@…
Message:

Bear: update to 2.0.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/Bear/Portfile

    r124142 r132390  
    66PortGroup           cmake 1.0
    77
    8 github.setup        rizsotto Bear 1.4.3
    9 checksums           rmd160  66b88ea351b0db69777f4e1cacfe15453dfdee00 \
    10                     sha256  4a0f9525608653a92370a956dddc8b6b76b379d760f0d1a4730a5fac64f17f2a
     8github.setup        rizsotto Bear 2.0.1
     9checksums           rmd160  d77c9ea0215f90df29d74f06e6a20eb66961236c \
     10                    sha256  8509f0f0289bf6bfbc74a8950f8e4faed302d4d5bf06bb3e1227f20b9a31c8c0
    1111
    1212maintainers         cal openmaintainer
     
    2323    programs.
    2424
    25 depends_build-append \
    26                     port:pkgconfig
     25depends_lib-append  port:python27
    2726
    28 depends_lib-append  port:libconfig-hr
    29 
    30 platform darwin {
    31     # needs dprintf(), which doesn't seem to be available on SL
    32     if {${os.major} <= 10} {
    33         depends_lib
    34         depends_build
    35         pre-fetch {
    36             ui_error "Bear is not supported on Snow Leopard and earlier."
    37             error "unsupported platform"
    38         }
    39     }
     27post-patch {
     28    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|g" \
     29        ${worksrcpath}/bear/main.py.in
    4030}
    41 
    42 set config          ${prefix}/etc/bear.conf
    43 set dconfig         ${prefix}/etc/bear.conf.default
    44 post-destroot {
    45     move ${destroot}${config} ${destroot}${dconfig}
    46 }
    47 
    48 post-activate {
    49     if {![file exists ${config}]} {
    50         xinstall -m 644 ${dconfig} ${config}
    51     }
    52 }
    53 
    54 notes "The default configuration file has been installed as\n  ${dconfig}.\nIf\
    55     ${config} does not exist, it will be created on activation from the default\
    56     file."
Note: See TracChangeset for help on using the changeset viewer.