Changeset 38404 for trunk/dports/java


Ignore:
Timestamp:
Jul 18, 2008, 5:43:35 PM (12 years ago)
Author:
blair@…
Message:
  • java/jna/Portfile: Use the standard fetch mechanism to get jna.jar.
File:
1 edited

Legend:

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

    r38374 r38404  
    2424homepage                https://jna.dev.java.net/
    2525
    26 master_sites            'https://${name}.dev.java.net/source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/'
     26master_sites            ${homepage}source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/
    2727distfiles               ${name}.jar
    2828fetch.ignore_sslcert    yes
     
    3737use_configure           no
    3838
    39 fetch {
    40         system "curl -v -k 'https://${name}.dev.java.net/source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/jna.jar' -o ${distpath}/${name}.jar.TMP"
    41         file delete -force ${distpath}/${name}.jar
    42         file rename ${distpath}/${name}.jar.TMP ${distpath}/${name}.jar
    43 }
    44 
    4539build { }
    4640
Note: See TracChangeset for help on using the changeset viewer.