1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup java 1.0 |
---|
5 | |
---|
6 | name bcprov |
---|
7 | version 1.62 |
---|
8 | |
---|
9 | categories java devel security |
---|
10 | license MIT |
---|
11 | maintainers nomaintainer |
---|
12 | platforms darwin |
---|
13 | supported_archs noarch |
---|
14 | |
---|
15 | description A Java implementation of cryptographic algorithms |
---|
16 | long_description ${description} |
---|
17 | homepage https://www.bouncycastle.org/java.html |
---|
18 | |
---|
19 | master_sites https://search.maven.org/remotecontent?filepath=org/bouncycastle/${name}-jdk15on/${version}/ |
---|
20 | |
---|
21 | distname ${name}-jdk15on-${version} |
---|
22 | distfiles ${distname}.jar |
---|
23 | worksrcdir ${distname} |
---|
24 | |
---|
25 | checksums rmd160 288577b36c0385dcd4b9f5614929727f4b039a27 \ |
---|
26 | sha256 2fa0ab71b154da29ac134097bc6bbacd90987dd4c4005516159e6494d1d52ea2 \ |
---|
27 | size 4558151 |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | extract { |
---|
32 | file copy ${distpath}/${distname}.jar ${workpath} |
---|
33 | } |
---|
34 | |
---|
35 | build {} |
---|
36 | |
---|
37 | destroot { |
---|
38 | set javadir ${destroot}${prefix}/share/java |
---|
39 | xinstall -d -m 755 -d ${javadir}/${name} |
---|
40 | xinstall -m 644 ${workpath}/${distname}.jar ${javadir}/${name}/${name}.jar |
---|
41 | } |
---|
42 | |
---|
43 | livecheck.type regex |
---|
44 | livecheck.url https://repo1.maven.org/maven2/org/bouncycastle/${name}-jdk15on/maven-metadata.xml |
---|
45 | livecheck.regex >(\\d+\\.\\d+(\\.\\d+)*)</ |
---|