source: trunk/dports/java/jsch/Portfile

Last change on this file was 141187, checked in by ryandesign@…, 2 years ago

jsch: update to 0.1.53 (#49216); supported_archs noarch; rewrite master_sites to avoid redirects; use expand operator instead of eval

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 977 bytes
Line 
1# $Id: Portfile 141187 2015-10-12 06:45:33Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jsch
6version                 0.1.53
7categories              java security
8platforms               darwin
9maintainers             nomaintainer
10license                 BSD
11supported_archs noarch
12
13description             JSch is a pure Java implementation of SSH2.
14long_description        ${description}
15
16homepage                http://www.jcraft.com/jsch/
17master_sites    sourceforge:project/jsch/jsch/${version}/
18use_zip                 yes
19
20checksums               md5     5c37c1fe15ee6690fcc18b305f2d2659 \
21                                sha1    e54138c12b2e7d4587d589b27f50033e86e3e8e0 \
22                                rmd160  593c7e0468c6be7d6cd8a1d05e33581432a9a399
23
24depends_lib             bin:java:kaffe
25depends_build   bin:ant:apache-ant
26
27use_configure   no
28
29build.cmd               ant
30build.target    dist
31
32destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/java/
34        xinstall -m 644 {*}[glob ${worksrcpath}/dist/lib/jsch*.jar] \
35                ${destroot}${prefix}/share/java/jsch.jar
36        set docdir ${prefix}/share/doc/${subport}
37        xinstall -m 755 -d ${destroot}${docdir}
38        xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE.txt README ${destroot}${docdir}
39}
Note: See TracBrowser for help on using the repository browser.