source: trunk/dports/java/beanshell/Portfile

Last change on this file was 40554, checked in by blair@…, 9 years ago

Since beanshell.org is down, list
http://distfiles.macports.org/${name}/ explicitly in master_sites.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 40554 2008-10-06 20:58:09Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            beanshell
6version         2.0b4
7categories      java
8maintainers     blair
9platforms       darwin
10description     BeanShell Scripting Language, JSR-274, Java source interpreter
11
12long_description \
13        BeanShell is a small, free, embeddable Java source interpreter \
14        with object scripting language features, written in Java.  \
15        BeanShell dynamically executes standard Java syntax and extends \
16        it with common scripting conveniences such as loose types, \
17        commands, and method closures like those in Perl and JavaScript.  \
18        You can use BeanShell interactively for Java experimentation and \
19        debugging as well as to extend your applications in new ways.  \
20        Scripting Java lends itself to a wide variety of applications \
21        including rapid prototyping, user scripting extension, rules \
22        engines, configuration, testing, dynamic deployment, embedded \
23        systems, and even Java education.
24
25homepage                http://www.beanshell.org/
26master_sites            ${homepage}:root \
27                                ${homepage}manual/:manual \
28                                http://distfiles.macports.org/${name}/:root \
29                                http://distfiles.macports.org/${name}/:manual
30
31distfiles               bsh-${version}.jar:root \
32                                javadoc.zip:root \
33                                bshmanual.pdf:manual
34checksums               bsh-${version}.jar \
35                                md5 a1c60aa83c9c9a6cb2391c1c1b85eb00 \
36                                sha1 a05f0a0feefa8d8467ac80e16e7de071489f0d9c \
37                                rmd160 ea82033ac601a9fefa498bc0e09c5bac5163c68c \
38                        javadoc.zip \
39                                md5 a16da5323503b78cca6b3f96272c71b1 \
40                                sha1 783e56e86a36fce5429805ace4d8fbfb06b1c95b \
41                                rmd160 46c0530f8d396d51b22a890b368bc7793014eab9 \
42                        bshmanual.pdf \
43                                md5 2d265b1114939e1f8a2e6ba9165c8a73 \
44                                sha1 177ed93a0d0c4dd7f298314e291c24c7bc9269ec \
45                                rmd160 8354300b66e50b2458c33a65371da5dca98c9f8b
46
47depends_lib             bin:java:kaffe
48
49use_zip                 yes
50extract.only
51
52use_configure           no
53
54build {
55}
56
57destroot {
58        set javadir ${destroot}${prefix}/share/java
59        set docdir ${destroot}${prefix}/share/doc/${name}
60
61        xinstall -d -m 755 ${javadir}
62        xinstall -d -m 755 ${docdir}/javadocs
63
64        file copy ${distpath}/bsh-${version}.jar ${javadir}/bsh.jar
65        file copy ${distpath}/bshmanual.pdf ${docdir}/
66
67        system "cd ${docdir}/javadocs && unzip ${distpath}/javadoc.zip"
68}
Note: See TracBrowser for help on using the repository browser.