source: trunk/dports/java/BrowserLauncher2/Portfile

Last change on this file was 145742, checked in by ryandesign@…, 18 months ago

BrowserLauncher2: fix build failure due to wrong enconding in source file (#50628)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 145742 2016-02-15 18:18:34Z ryandesign@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                patch-source-at-jta-Regor.java.diff
29
30checksums           rmd160  4395f601debab5ffc4bd61a4224b26cf3f070b27 \
31                    sha256  ccbcd9ce1f6b73e18004857dbf1cd2267a198231693ee37507953723869e95d5
32
33depends_build   bin:ant:apache-ant
34
35configure {
36    reinplace "s|1_4|${und_version}|" ${worksrcpath}/build.xml
37}
38build.cmd       ant
39build.target    deploy
40
41destroot {
42    xinstall -d ${destroot}${prefix}/share/java
43    xinstall -m 644 -W ${worksrcpath}/deployment \
44        ${name}-${und_version}.jar \
45        ${name}-all-${und_version}.jar \
46        ${destroot}${prefix}/share/java/
47}
48
Note: See TracBrowser for help on using the repository browser.