-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
48 lines (38 loc) · 1.77 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup java 1.0
name jsch
version 0.1.55
categories java security
platforms darwin
maintainers {gmail.com:ndiscreet @chicagotripp} \
openmaintainer
license BSD
supported_archs noarch
description JSch is a pure Java implementation of SSH2.
long_description ${description}, but it \
depends on JavaTM Cryptography Extension (JCE).
homepage http://www.jcraft.com/jsch/
master_sites sourceforge:project/jsch/jsch/${version}/
use_zip yes
checksums md5 6409f5c38840b053d946fb17cc3f2400 \
sha1 5e7b17414533005c4f163bec8be41d023b1f0810 \
rmd160 d1ce73ff32e2e644a5fa02fc5d6b0fdd55d54416 \
sha256 063bf66e163f43b7d7897ac14efe1e80ed094d4016afe1181fe2285e3797bed3 \
size 369664
java.version 1.7+
java.fallback openjdk8
depends_build bin:ant:apache-ant
patchfiles patch-build.xml.diff
use_configure no
build.cmd ant
build.target dist
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java/
xinstall -m 644 {*}[glob ${worksrcpath}/dist/lib/jsch*.jar] \
${destroot}${prefix}/share/java/jsch.jar
set docdir ${prefix}/share/doc/${subport}
xinstall -m 755 -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE.txt README \
${destroot}${docdir}
}