Files
2022-10-31 09:46:21 +11:00

41 lines
1.1 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup java 1.0
name junit
version 4.13.2
categories java devel
license CPL-1
platforms any
maintainers nomaintainer
supported_archs noarch
description Java framework for repeatable tests
long_description \
JUnit is a simple framework to write repeatable tests. \
It is an instance of the xUnit architecture for unit \
testing frameworks.
homepage https://junit.org/junit4/
master_sites https://repo1.maven.org/maven2/junit/junit/${version}/
distfiles ${name}-${version}.jar
checksums rmd160 f49215d21ca9f0428420b6f7577c06224b661e97 \
sha256 8e495b634469d64fb8acfa3495a065cbacc8a0fff55ce1e31007be4c16dc57d3 \
size 384581
use_configure no
# don't extract anything
extract.only
build {}
set javadir ${prefix}/share/java
destroot {
xinstall -d ${destroot}${javadir}
xinstall -m 0644 ${distpath}/${name}-${version}.jar ${destroot}${javadir}/${name}.jar
}