Changeset 50224 for trunk/dports/java


Ignore:
Timestamp:
Apr 27, 2009, 11:40:49 PM (11 years ago)
Author:
blair@…
Message:

Use ${version} instead of a hardcoded version number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/hamcrest-core/Portfile

    r50223 r50224  
    4242   
    4343    xinstall -d ${destroot}${javadir} ${destroot}${docdir}
    44     xinstall -m 0644 ${worksrcpath}/build/hamcrest-core-1.1.jar ${destroot}${javadir}/hamcrest-core.jar
    45     xinstall -m 0644 ${worksrcpath}/build/hamcrest-all-1.1.jar ${destroot}${javadir}/hamcrest-all.jar
     44    xinstall -m 0644 ${worksrcpath}/build/hamcrest-core-${version}.jar ${destroot}${javadir}/hamcrest-core.jar
     45    xinstall -m 0644 ${worksrcpath}/build/hamcrest-all-${version}.jar ${destroot}${javadir}/hamcrest-all.jar
    4646    xinstall -m 0644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
    4747        ${destroot}${docdir}
Note: See TracChangeset for help on using the changeset viewer.