source: trunk/dports/devel/jline/Portfile

Last change on this file was 56104, checked in by ryandesign@…, 8 years ago

jline: simplify destroot

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 56104 2009-08-24 07:17:46Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                jline
6version             0.9.94
7categories          devel java
8maintainers         cs.wm.edu:mpd
9description         A library for handling console input
10long_description    JLine is a Java library for reading and editing user \
11                    input in console applications. It features \
12                    tab-completion, command history, password masking, \
13                    customizable keybindings, and pass-through handlers to \
14                    use to chain to other console applications.
15homepage            http://jline.sourceforge.net/
16platforms           darwin
17master_sites        sourceforge
18
19checksums           md5 cd4aad9fb454e8acf7af476dae8abb72 \
20                    sha1 0c3b98545764e641f2e8255faa804d8225673602 \
21                    rmd160 664a69d52e8e8375881197988a7f3c348c5f7857
22use_zip             yes
23
24use_configure       no
25build               {}
26
27destroot {
28    set javadir ${destroot}${prefix}/share/java
29    set jlinejar jline-${version}.jar
30    set jlinelink ${javadir}/jline.jar
31   
32    xinstall -m 0755 -d ${javadir}
33    xinstall -m 0644 -W ${worksrcpath} ${jlinejar} ${javadir}
34    ln -s ${jlinejar} ${jlinelink}
35}
Note: See TracBrowser for help on using the repository browser.