Changeset 33473 for trunk/dports/java


Ignore:
Timestamp:
Jan 27, 2008, 3:29:04 PM (12 years ago)
Author:
nox@…
Message:

gnu-classpath:

  • Use GNU livecheck from base/.
  • Use move instead of file rename.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/gnu-classpath/Portfile

    r33472 r33473  
    44
    55name            gnu-classpath
     6set my_name     classpath
    67version         0.93
    78maintainers     nomaintainer
     
    1718
    1819homepage        http://www.gnu.org/software/classpath/classpath.html
    19 master_sites    gnu:classpath
    20 distname        classpath-${version}
     20master_sites    gnu:${my_name}
     21distname        ${my_name}-${version}
    2122
    2223checksums       sha1 336cae589ec91a4fe212c2149c57b51dab2ca002
     
    4344post-destroot {
    4445    xinstall -m 755 -d ${destroot}${prefix}/share/java
    45     file rename ${destroot}${prefix}/share/classpath/glibj.zip \
     46    move ${destroot}${prefix}/share/classpath/glibj.zip \
    4647        ${destroot}${prefix}/share/java/glibj.jar
    4748}
     
    4950platform darwin 7 {
    5051    # jikes on 10.3 is < 1.22
    51     depends_build   port:jikes
     52    depends_build-append    port:jikes
    5253}
    5354
    54 livecheck.check regex
    55 livecheck.url   http://ftp.gnu.org/gnu/classpath/?C=M&O=D
    56 livecheck.regex classpath-(\[0-9.\]+)\\.
     55livecheck.name  ${my_name}
Note: See TracChangeset for help on using the changeset viewer.