Files

56 lines
1.8 KiB
Tcl
Raw Permalink Normal View History

2019-07-27 06:40:45 -05:00
# -*- 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 bcprov
2024-02-14 06:03:36 -06:00
# See https://trac.macports.org/ticket/68455
# This port is currently only needed by pdftk-java.
# Please wait until https://gitlab.com/pdftk-java/pdftk/-/issues/155
# is resolved before updating to bcprov ≥ 1.75.
version 1.74
epoch 1
2023-04-13 14:49:42 +01:00
revision 0
2024-02-14 06:03:36 -06:00
checksums rmd160 d12042ab8de08b6913e816a46eccacedb4d9bbb7 \
sha256 56ede1472d78dc47b8a16fc5e90c02b9eeb970b55d8b5b8bfe760311907821e9 \
size 8353376
2019-07-27 06:40:45 -05:00
categories java devel security
license MIT
maintainers nomaintainer
2022-12-16 22:13:13 +11:00
platforms any
2019-07-27 06:40:45 -05:00
supported_archs noarch
description A Java implementation of cryptographic algorithms
2022-12-16 22:13:13 +11:00
long_description {*}${description}
2019-07-27 06:40:45 -05:00
homepage https://www.bouncycastle.org/java.html
2022-10-06 01:49:25 -05:00
master_sites https://search.maven.org/remotecontent?filepath=org/bouncycastle/${name}-jdk18on/${version}/
2019-07-27 06:40:45 -05:00
2022-10-06 01:49:25 -05:00
distname ${name}-jdk18on-${version}
2019-07-27 06:40:45 -05:00
distfiles ${distname}.jar
worksrcdir ${distname}
2022-10-06 01:49:25 -05:00
java.version 1.8+
2022-12-16 22:13:13 +11:00
java.fallback openjdk11
2023-10-06 13:58:02 -05:00
java.deptypes run
2019-07-27 06:40:45 -05:00
extract {
file copy ${distpath}/${distname}.jar ${workpath}
}
use_configure no
build {}
destroot {
set javadir ${destroot}${prefix}/share/java
xinstall -d -m 755 -d ${javadir}/${name}
xinstall -m 644 ${workpath}/${distname}.jar ${javadir}/${name}/${name}.jar
}
livecheck.type regex
2022-10-06 01:49:25 -05:00
livecheck.url https://repo1.maven.org/maven2/org/bouncycastle/${name}-jdk18on/maven-metadata.xml
2019-07-27 06:40:45 -05:00
livecheck.regex >(\\d+\\.\\d+(\\.\\d+)*)</