Changeset 75225


Ignore:
Timestamp:
Jan 18, 2011, 2:52:26 PM (9 years ago)
Author:
singingwolfboy@…
Message:

cassandra: consolidated pre-build sections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/cassandra/Portfile

    r75016 r75225  
    4141build.cmd               ${prefix}/bin/ant
    4242build.target            jar
    43 pre-build {
    44     # help Ant find Ivy
    45     xinstall -d ${worksrcpath}/build
    46     ln -s ${prefix}/share/java/ivy.jar ${worksrcpath}/build/ivy-2.1.0.jar
    47 }
    4843
    4944destroot {
     
    9489
    9590pre-build {
     91    # help Ant find Ivy
     92    xinstall -d ${worksrcpath}/build
     93    ln -s ${prefix}/share/java/ivy.jar ${worksrcpath}/build/ivy.jar
     94    reinplace "s|ivy-\${ivy\.version}\.jar|ivy.jar|" ${worksrcpath}/build.xml
     95   
    9696    if {[variant_isset no_deps]} {} else {
    9797        file delete ${worksrcpath}/lib/antlr-3.1.3.jar
Note: See TracChangeset for help on using the changeset viewer.