Files
Lawrence Velázquez 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

47 lines
1.4 KiB
Plaintext

PortSystem 1.0
name BrowserLauncher2
version 1.3
set und_version [string map {. _} ${version}]
revision 0
categories java
platforms darwin
maintainers nomaintainer
license LGPL-2+
supported_archs noarch
description Java library for opening a URL in a browser
long_description \
BrowserLauncher2, a continuation of the BrowserLauncher project, is a \
library that facilitates opening a browser from a Java application and \
directing the browser to a supplied url. In most cases the browser opened \
will be the user's default browser.
homepage http://browserlaunch2.sourceforge.net/
fetch.type cvs
cvs.root :pserver:anonymous@browserlaunch2.cvs.sourceforge.net:/cvsroot/browserlaunch2
cvs.module ${name}
worksrcdir ${name}
patchfiles browserlaunchertestapp.patch \
patch-source-at-jta-Regor.java.diff
checksums rmd160 4395f601debab5ffc4bd61a4224b26cf3f070b27 \
sha256 ccbcd9ce1f6b73e18004857dbf1cd2267a198231693ee37507953723869e95d5
depends_build bin:ant:apache-ant
configure {
reinplace "s|1_4|${und_version}|" ${worksrcpath}/build.xml
}
build.cmd ant
build.target deploy
destroot {
xinstall -d ${destroot}${prefix}/share/java
xinstall -m 644 -W ${worksrcpath}/deployment \
${name}-${und_version}.jar \
${name}-all-${und_version}.jar \
${destroot}${prefix}/share/java/
}