source: trunk/dports/java/BrowserLauncher2/Portfile @ 87838

Last change on this file since 87838 was 87838, checked in by singingwolfboy@…, 6 years ago

browserlauncher2: switch to cvs checkout

File size: 1.5 KB
Line 
1# $Id: Portfile 64446 2010-03-06 14:36:09Z singingwolfboy@macports.org $
2
3PortSystem 1.0
4
5name            BrowserLauncher2
6version         1.3
7set und_version [string map {. _} ${version}]
8revision        0
9categories      java
10platforms       darwin
11maintainers     nomaintainer
12license         LGPL-2+
13supported_archs noarch
14
15description     Java library for opening a URL in a browser
16long_description \
17    BrowserLauncher2, a continuation of the BrowserLauncher project, is a \
18    library that facilitates opening a browser from a Java application and \
19    directing the browser to a supplied url. In most cases the browser opened \
20    will be the user's default browser.
21
22homepage        http://browserlaunch2.sourceforge.net/
23fetch.type      cvs
24cvs.root        :pserver:anonymous@browserlaunch2.cvs.sourceforge.net:/cvsroot/browserlaunch2
25cvs.module      ${name}
26worksrcdir      ${name}
27patchfiles      browserlaunchertestapp.patch
28
29checksums           rmd160  4395f601debab5ffc4bd61a4224b26cf3f070b27 \
30                    sha256  ccbcd9ce1f6b73e18004857dbf1cd2267a198231693ee37507953723869e95d5
31
32depends_build   bin:ant:apache-ant
33
34configure {
35    reinplace "s|1_4|${und_version}|" ${worksrcpath}/build.xml
36}
37build.cmd       ant
38build.target    deploy
39
40destroot {
41    xinstall -d ${destroot}${prefix}/share/java
42    xinstall -m 644 -W ${worksrcpath}/deployment \
43        ${name}-${und_version}.jar \
44        ${name}-all-${und_version}.jar \
45        ${destroot}${prefix}/share/java/
46}
47
Note: See TracBrowser for help on using the repository browser.