source: trunk/dports/java/jsch/Portfile @ 95513

Last change on this file since 95513 was 58028, checked in by ryandesign@…, 10 years ago

jsch: update to 0.1.42, fix destroot failure (#21368), add license keyword, also install documentation files

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 910 bytes
Line 
1# $Id: Portfile 58028 2009-09-21 04:35:50Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jsch
6version                 0.1.42
7categories              java security
8platforms               darwin
9maintainers             nomaintainer
10license                 BSD
11description             JSch is a pure Java implementation of SSH2.
12long_description        ${description}
13
14homepage                http://www.jcraft.com/jsch/
15master_sites    sourceforge
16checksums               md5     3c912c6bccba6b46822ba406f5474a72 \
17                                sha1    50492d7d24a60771ceec891b38c893c141302c06 \
18                                rmd160  527b434953fd2bcf4bda6b515122549acddd3f5a
19use_zip                 yes
20
21depends_lib             bin:java:kaffe
22depends_build   bin:ant:apache-ant
23
24use_configure   no
25
26build.cmd               ant
27build.target    dist
28
29destroot {
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}
Note: See TracBrowser for help on using the repository browser.