# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@macports.org $

PortSystem 1.0
name			jgoodies-forms
version			1.1.0
categories		java
platforms		darwin
maintainers		blair

description		Framework to lay out and implement Swing panels.
long_description	The JGoodies Forms framework helps you lay out and \
			implement elegant Swing panels quickly and \
			consistently.  It makes simple things easy and the \
			hard stuff possible, the good design easy and the \
			bad difficult.
homepage		http://www.jgoodies.com/freeware/forms/

master_sites		http://www.jgoodies.com/download/libraries/forms/
distname		forms-1_1_0
checksums		md5 9e82efab6daab53e845da949c86c3c3d \
			sha1 a2f60fb762f8d26c9964bda343f86935c31dc10f \
			rmd160 531b005c914048b060b3dc468cf3c86358979200
use_zip			yes

depends_lib		bin:java:kaffe

use_configure		no

worksrcdir		forms-${version}

build.cmd		true

destroot {
	set javadir ${destroot}${prefix}/share/java
	set docdir ${destroot}${prefix}/share/doc/${name}

	xinstall -d -m 755 ${javadir}
	xinstall -d -m 755 ${docdir}

	file copy ${worksrcpath}/forms-${version}.jar ${javadir}/forms.jar
	foreach f {LICENSE.txt README.html RELEASE-NOTES.txt docs} {
		file copy ${worksrcpath}/${f} ${docdir}/
	}
}
