Ignore:
Timestamp:
Mar 22, 2015, 9:58:46 PM (4 years ago)
Author:
ryandesign@…
Message:

icu: take over as maintainer; use {*} instead of eval; remove old pre-deactivate block

File:
1 edited

Legend:

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

    r127942 r134323  
    1313categories      devel textproc
    1414platforms       darwin freebsd
     15maintainers     ryandesign openmaintainer
    1516license         MIT
    16 maintainers     nomaintainer
     17
    1718description     International Components for Unicode
    1819
     
    177178        post-destroot {
    178179            xinstall -d ${destroot}${docdir}
    179             eval xinstall -m 0644 [glob ${worksrcpath}/../*.{css,html,txt}] ${destroot}${docdir}
     180            xinstall -m 0644 {*}[glob ${worksrcpath}/../*.{css,html,txt}] ${destroot}${docdir}
    180181        }
    181182       
     
    190191    }
    191192   
    192     # icu @51.2_0 and earlier also installed the following files directly, bypassing destroot:
    193     #   ${prefix}/lib/icu/${version}/pkgdata.inc
    194     # These files can be removed from the below deactivation block after August 2014.
    195     pre-deactivate {
    196         if {[variant_isset universal]} {
    197             # Ticket #23773
    198             foreach f [list "${prefix}/bin/icu-config" \
    199                            "${prefix}/lib/icu/${version}/Makefile.inc" \
    200                            "${prefix}/lib/icu/${version}/pkgdata.inc" \
    201                            "${prefix}/lib/pkgconfig/icu-i18n.pc" \
    202                            "${prefix}/lib/pkgconfig/icu-io.pc" \
    203                            "${prefix}/lib/pkgconfig/icu-le.pc" \
    204                            "${prefix}/lib/pkgconfig/icu-lx.pc" \
    205                            "${prefix}/lib/pkgconfig/icu-uc.pc"] {
    206                 delete ${f}
    207             }
    208         }
    209     }
    210    
    211193    platform freebsd {
    212194        build.env       MAKE=/usr/local/bin/gmake
Note: See TracChangeset for help on using the changeset viewer.