You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
75 lines
3.0 KiB
Tcl
75 lines
3.0 KiB
Tcl
# -*- 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
|
|
PortGroup github 1.0
|
|
|
|
github.setup beanshell beanshell 2.1.1
|
|
revision 0
|
|
|
|
categories java
|
|
platforms any
|
|
supported_archs noarch
|
|
license Apache-2
|
|
maintainers {mascguy @mascguy} openmaintainer
|
|
|
|
description BeanShell Scripting Language, JSR-274, Java source interpreter
|
|
long_description \
|
|
BeanShell is a small, free, embeddable Java source interpreter \
|
|
with object scripting language features, written in Java. \
|
|
BeanShell dynamically executes standard Java syntax and extends \
|
|
it with common scripting conveniences such as loose types, \
|
|
commands, and method closures like those in Perl and JavaScript. \
|
|
You can use BeanShell interactively for Java experimentation and \
|
|
debugging as well as to extend your applications in new ways. \
|
|
Scripting Java lends itself to a wide variety of applications \
|
|
including rapid prototyping, user scripting extension, rules \
|
|
engines, configuration, testing, dynamic deployment, embedded \
|
|
systems, and even Java education.
|
|
homepage http://www.beanshell.org/
|
|
|
|
master_sites \
|
|
https://github.com/${name}/${name}/releases/download/${version}:github \
|
|
https://beanshell.github.io/manual:manual
|
|
|
|
github.tarball_from downloads
|
|
|
|
distfiles \
|
|
bsh-${version}.jar:github \
|
|
bsh-${version}-javadoc.zip:github \
|
|
bshmanual.pdf:manual
|
|
|
|
checksums \
|
|
bsh-${version}.jar \
|
|
rmd160 c9c1b4c9ab9c365ecb835fb0efc09fb9b612fd39 \
|
|
sha256 71192cbbe49e7a269cfcba05dc5cb959c33b9b26dafcd6266ca3288b461f86a3 \
|
|
size 438676 \
|
|
bsh-${version}-javadoc.zip \
|
|
rmd160 faaf76be0063af0a367fbc6711303d7f10f75e09 \
|
|
sha256 ad9967c9cec9d2e57bf8e0077b738ce947fb2e7943f6028395e8ccbf74e5c053 \
|
|
size 894776 \
|
|
bshmanual.pdf \
|
|
rmd160 8354300b66e50b2458c33a65371da5dca98c9f8b \
|
|
sha256 d36297ebebfe1a8b836fb0c751b85353296bd8cd305ad389f8c6c51d8fabe90d \
|
|
size 502481
|
|
|
|
extract.only
|
|
use_configure no
|
|
|
|
java.version 1.8+
|
|
java.fallback openjdk8
|
|
|
|
build {}
|
|
|
|
destroot {
|
|
set javadir ${destroot}${prefix}/share/java
|
|
set docdir ${destroot}${prefix}/share/doc/${subport}
|
|
|
|
xinstall -d -m 755 ${javadir}
|
|
xinstall -d -m 755 ${docdir}
|
|
|
|
copy ${distpath}/bsh-${version}.jar ${javadir}/bsh.jar
|
|
copy ${distpath}/bsh-${version}-javadoc.zip ${docdir}/
|
|
copy ${distpath}/bshmanual.pdf ${docdir}/
|
|
}
|