Changeset 114719


Ignore:
Timestamp:
Dec 14, 2013, 9:03:38 AM (5 years ago)
Author:
mww@…
Message:

javacc: version 6.0

Location:
trunk/dports/java/javacc
Files:
5 added
1 edited

Legend:

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

    r91986 r114719  
    44
    55name                javacc
    6 version             5.0
    7 revision            2
     6version             6.0
    87categories          java lang devel
    98platforms           darwin
     
    2120homepage            http://javacc.java.net/
    2221master_sites        http://java.net/projects/javacc/downloads/download/
    23 checksums           md5     ec3738abfa889c94a82f56453633d6bc \
    24                     sha1    ac9f7833bdd427d05c8364406ff82ee7cab4f86f \
    25                     rmd160  b7d6b5794619fb66a342935ab0644d231c39fb42
    26 dist_subdir         ${name}/${version}
     22checksums           rmd160  bac11ae2993642b254e4b90303e15de3599295eb \
     23                    sha256  4147023112d0a959756e9cfab93c33b5d940b58692a39a6785897e4be85e16a6
     24
     25use_zip             yes
     26
     27post-extract {
     28    # these wrappers are missing in the v6.0 zip-file
     29    file copy ${filespath}/javacc ${filespath}/jjdoc ${filespath}/jjrun ${filespath}/jjtree \
     30        ${worksrcpath}/bin
     31}
    2732
    2833configure {
    29     reinplace "s|`dirname \$0`/lib|${prefix}/share/java|g" \
    30         ${worksrcpath}/bin/javacc ${worksrcpath}/bin/jjtree \
    31         ${worksrcpath}/bin/jjdoc
     34    reinplace "s|@JAR@|${prefix}/share/java/javacc.jar|g" \
     35        ${worksrcpath}/bin/javacc ${worksrcpath}/bin/jjdoc ${worksrcpath}/bin/jjtree
    3236}
    33 
     37   
    3438build {}
    3539
     
    4044    xinstall -m 644 ${worksrcpath}/bin/lib/javacc.jar \
    4145        ${destroot}${prefix}/share/java/
    42     xinstall -m 755 -W ${worksrcpath}/bin javacc jjdoc jjtree \
     46    xinstall -m 755 -W ${worksrcpath}/bin javacc jjdoc jjtree jjrun \
    4347        ${destroot}${prefix}/bin
    4448    xinstall -m 644 -W ${worksrcpath} LICENSE \
     
    4852livecheck.type      regex
    4953livecheck.url       ${homepage}
    50 livecheck.regex     javacc-(\[0-9\.\]+).tar.gz
     54livecheck.regex     javacc-(\[0-9\.\]+).zip
     55
Note: See TracChangeset for help on using the changeset viewer.