1 | # $Id: Portfile 58028 2009-09-21 04:35:50Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name jsch |
---|
6 | version 0.1.53 |
---|
7 | categories java security |
---|
8 | platforms darwin |
---|
9 | maintainers nomaintainer |
---|
10 | license BSD |
---|
11 | description JSch is a pure Java implementation of SSH2. |
---|
12 | long_description ${description} |
---|
13 | |
---|
14 | homepage http://www.jcraft.com/jsch/ |
---|
15 | master_sites sourceforge |
---|
16 | checksums md5 5c37c1fe15ee6690fcc18b305f2d2659 \ |
---|
17 | sha1 e54138c12b2e7d4587d589b27f50033e86e3e8e0 \ |
---|
18 | rmd160 593c7e0468c6be7d6cd8a1d05e33581432a9a399 |
---|
19 | use_zip yes |
---|
20 | |
---|
21 | depends_lib bin:java:kaffe |
---|
22 | depends_build bin:ant:apache-ant |
---|
23 | |
---|
24 | use_configure no |
---|
25 | |
---|
26 | build.cmd ant |
---|
27 | build.target dist |
---|
28 | |
---|
29 | destroot { |
---|
30 | xinstall -m 755 -d ${destroot}${prefix}/share/java/ |
---|
31 | eval xinstall -m 644 [glob ${worksrcpath}/dist/lib/jsch*.jar] \ |
---|
32 | ${destroot}${prefix}/share/java/jsch.jar |
---|
33 | set docdir ${destroot}${prefix}/share/doc/${name} |
---|
34 | xinstall -m 755 -d ${docdir} |
---|
35 | xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE.txt README ${docdir} |
---|
36 | } |
---|