Changeset 50332 for trunk/dports/java


Ignore:
Timestamp:
Apr 29, 2009, 9:54:47 AM (11 years ago)
Author:
nox@…
Message:

hamcrest-library: New port.

Location:
trunk/dports/java/hamcrest-library
Files:
3 added
1 copied

Legend:

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

    r50330 r50332  
    44PortSystem      1.0
    55
    6 name            hamcrest-core
     6name            hamcrest-library
    77set my_name     hamcrest
    88version         1.1
    9 revision        2
    109categories      java devel
    1110platforms       darwin
     
    2928                rmd160 6b1a6a5ca753b965ee1a3260db654c2405498213
    3029
     30patchfiles      patch-build.xml.diff
     31
    3132depends_build   port:apache-ant
     33depends_lib     port:hamcrest-core
    3234
    3335use_configure   no
    3436
    3537build.cmd       ant
    36 build.target    core
    37 build.args      -Dversion=${version}
     38build.target    library
     39build.args      -Dversion=${version} \
     40                -Dprefix=${prefix}
    3841
    3942destroot {
    4043    set javadir ${prefix}/share/java
    4144    set docdir ${prefix}/share/doc/${name}-${version}
    42    
     45
    4346    xinstall -d ${destroot}${javadir} ${destroot}${docdir}
    4447    xinstall -m 0644 ${worksrcpath}/build/${name}-${version}.jar ${destroot}${javadir}/${name}.jar
Note: See TracChangeset for help on using the changeset viewer.