Ticket #17497: Portfile

File Portfile, 1.3 KB (added by mpdippery@…, 15 years ago)

Portfile for jline 0.9.94

Line 
1# $Id$
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:jline
18
19checksums           md5 cd4aad9fb454e8acf7af476dae8abb72 \
20                    sha1 0c3b98545764e641f2e8255faa804d8225673602 \
21                    rmd160 664a69d52e8e8375881197988a7f3c348c5f7857
22distname            ${name}-${version}
23use_zip             yes
24
25use_configure       no
26build               {}
27
28destroot {
29    set javadir ${destroot}${prefix}/share/java
30    set jlinedir jline-${version}
31    set jlinejar jline-${version}.jar
32    set jlineloc ${javadir}/jline-${version}.jar
33    set jlinelink ${javadir}/jline.jar
34   
35    xinstall -m 0755 -d ${javadir}
36    xinstall -m 0644 -W ${workpath} ${jlinedir}/${jlinejar} ${jlineloc}
37    ln -s ${jlinejar} ${jlinelink}
38}