Ticket #12445: ryandesign-ports.diff

File ryandesign-ports.diff, 1.4 KB (added by afb@…, 17 years ago)
  • devel/gettext/Portfile

     
    5353}
    5454
    5555post-destroot {
    56         delete ${destroot}${prefix}/lib/charset.alias \
    57                 ${destroot}${prefix}/share/locale/locale.alias
     56    if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
     57        delete ${destroot}${prefix}/lib/charset.alias
     58    }
     59    if {[file exists ${destroot}${prefix}/share/locale/locale.alias]} {
     60        delete ${destroot}${prefix}/share/locale/locale.alias
     61    }
    5862}
    5963
    6064livecheck.check     regex
  • textproc/libiconv/Portfile

     
    77revision            4
    88categories          textproc
    99maintainers         ryandesign
    10 platforms           darwin freebsd
     10platforms           darwin freebsd linux
    1111homepage            http://www.gnu.org/software/libiconv/
    1212distfiles           ${distname}${extract.suffix}:gnu
    1313extract.only        ${distname}${extract.suffix}
     
    8989        pre-fetch { variant_set disable_utf8mac }
    9090}
    9191
     92platform linux {
     93        pre-fetch { variant_set disable_utf8mac }
     94}
     95
    9296post-destroot {
     97    if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
    9398        delete ${destroot}${prefix}/lib/charset.alias
     99    }
    94100}
    95101
    96102# Do not support UTF-8-MAC encoding