[58028] trunk/dports/java/jsch/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Sep 20 21:35:55 PDT 2009


Revision: 58028
          http://trac.macports.org/changeset/58028
Author:   ryandesign at macports.org
Date:     2009-09-20 21:35:50 -0700 (Sun, 20 Sep 2009)
Log Message:
-----------
jsch: update to 0.1.42, fix destroot failure (#21368), add license keyword, also install documentation files

Modified Paths:
--------------
    trunk/dports/java/jsch/Portfile

Modified: trunk/dports/java/jsch/Portfile
===================================================================
--- trunk/dports/java/jsch/Portfile	2009-09-21 03:22:33 UTC (rev 58027)
+++ trunk/dports/java/jsch/Portfile	2009-09-21 04:35:50 UTC (rev 58028)
@@ -3,16 +3,19 @@
 PortSystem 1.0
 
 name			jsch
-version			0.1.22
+version			0.1.42
 categories		java security
 platforms		darwin
 maintainers		nomaintainer
+license			BSD
 description		JSch is a pure Java implementation of SSH2.
 long_description	${description}
 
 homepage		http://www.jcraft.com/jsch/
 master_sites	sourceforge
-checksums		md5 682ba97115a5d14c0ce70a621f637235
+checksums		md5     3c912c6bccba6b46822ba406f5474a72 \
+				sha1    50492d7d24a60771ceec891b38c893c141302c06 \
+				rmd160  527b434953fd2bcf4bda6b515122549acddd3f5a
 use_zip			yes
 
 depends_lib		bin:java:kaffe
@@ -25,6 +28,9 @@
 
 destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/java/
-	xinstall -m 644 ${worksrcpath}/dist/lib/jsch-20051019.jar \
+	eval xinstall -m 644 [glob ${worksrcpath}/dist/lib/jsch*.jar] \
 		${destroot}${prefix}/share/java/jsch.jar
+	set docdir ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 755 -d ${docdir}
+	xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE.txt README ${docdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090920/4a95d907/attachment.html>


More information about the macports-changes mailing list