Changeset 143667


Ignore:
Timestamp:
Dec 17, 2015, 11:37:20 AM (4 years ago)
Author:
ryandesign@…
Message:

monarch: use expansion operator instead of eval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/monarch/Portfile

    r141835 r143667  
    4343destroot {
    4444    xinstall -m 755 -d ${destroot}${monarchdir}
    45     eval copy [glob ${worksrcpath}/*] ${destroot}${monarchdir}
     45    copy {*}[glob ${worksrcpath}/*] ${destroot}${monarchdir}
    4646}
    4747
    4848post-destroot {
    49     eval reinplace "s|/usr/bin/perl|${prefix}/bin/perl${perl5.major}|g" \
    50         [glob ${destroot}${monarchdir}/*.pl]
    51 
    52     eval reinplace "s|/usr/local/groundwork/bin/perl|${prefix}/bin/perl${perl5.major}|g" \
    53         [glob ${destroot}${monarchdir}/*.cgi] \
    54         [glob ${destroot}${monarchdir}/*.p*]
    55 
    56     eval reinplace "s|/usr/local/groundwork/monarch|${monarchdir}|g" \
    57         [glob ${destroot}${monarchdir}/*.cgi] \
    58         [glob ${destroot}${monarchdir}/*.pl] \
     49    reinplace "s|/usr/bin/perl|${prefix}/bin/perl${perl5.major}|g" \
     50        {*}[glob ${destroot}${monarchdir}/*.pl]
     51
     52    reinplace "s|/usr/local/groundwork/bin/perl|${prefix}/bin/perl${perl5.major}|g" \
     53        {*}[glob ${destroot}${monarchdir}/*.cgi] \
     54        {*}[glob ${destroot}${monarchdir}/*.p*]
     55
     56    reinplace "s|/usr/local/groundwork/monarch|${monarchdir}|g" \
     57        {*}[glob ${destroot}${monarchdir}/*.cgi] \
     58        {*}[glob ${destroot}${monarchdir}/*.pl] \
    5959        ${destroot}${monarchdir}/monarch.sql
    6060
Note: See TracChangeset for help on using the changeset viewer.