Changeset 89214 for trunk/dports/java


Ignore:
Timestamp:
Jan 21, 2012, 11:32:57 AM (7 years ago)
Author:
hum@…
Message:

hadoop: fix 'ln -s' to conf.pseudo; simplify livecheck.url; see http://lists.macosforge.org/pipermail/macports-dev/2012-January/017489.html.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/hadoop/Portfile

    r89208 r89214  
    66name                hadoop
    77version             1.0.0
     8revision            1
    89categories          java science
    910platforms           darwin
     
    123124        copy ${destroot}${hadoop_conf_dir} ${destroot}${hadoop_conf_dir}.pseudo
    124125        move ${destroot}${hadoop_conf_dir} ${destroot}${hadoop_conf_dir}.local
    125         ln -s ${destroot}${hadoop_home}conf.pseudo conf
     126        ln -s conf.pseudo ${destroot}${hadoop_conf_dir}
    126127
    127128        # Set the maximum number of tasks based on the number of the CPUs (cores).
     
    170171
    171172livecheck.type      regex
    172 livecheck.url       http://www.apache.org/dist//hadoop/common/
     173livecheck.url       http://www.apache.org/dist/hadoop/common/
    173174livecheck.regex     ${name}-(\[0-9.\]+)
Note: See TracChangeset for help on using the changeset viewer.