# $Id: Portfile 114325 2013-12-05 09:20:31Z ryandesign@macports.org $ PortSystem 1.0 name jgoodies-looks version 2.5.2 categories java platforms darwin maintainers blair description High-fidelity Windows and multi-platform appearance. long_description The JGoodies look and feels make your Swing \ applications and applets look better. They have been \ optimized for readability, precise micro-design and \ usability. homepage http://www.jgoodies.com/freeware/looks/ master_sites http://www.jgoodies.com/download/libraries/looks/ distname ${name}-2_5_2 checksums sha1 3c18092020e78989c054fac4870046eff8f29c73 \ sha256 edd0670c972715c0951094bdeac88047c8836097aea1e78c720d2fe78e8dbbbd use_zip yes depends_lib bin:java:kaffe \ port:jgoodies-common use_configure no worksrcdir ${name}-${version} if {${os.platform} eq "darwin" && ${os.major} < 10} { pre-fetch { ui_error "${name} ${version} requires OS X 10.6 or greater for Java 6." return -code error "incompatible OS X 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}/${name}-${version}.jar ${javadir}/${name}.jar foreach f {LICENSE.txt README.html RELEASE-NOTES.txt docs} { file copy ${worksrcpath}/${f} ${docdir}/ } }