PortSystem 1.0

name                icedtea6-plugs
version             1.6b

categories          java
maintainers         nomaintainer
platforms           darwin

description         GPL-licensed replacements for Sun's Java binary plugs. 
long_description    Icedtea is part of gnu classpath project and is an \
                    implementation of the binary plugs, that Sun is unable to \
                    release under the GNUv2 license. This in combination with \
                    openjdk6 or openjdk7 makes a completely legally \
                    distributable version of Java

homepage            http://icedtea.classpath.org/wiki/Main_Page

distname            jdk-7-icedtea-plugs-${version}

master_sites        http://www.intricatesoftware.com/distfiles/
checksums           md5     86e575da6209157b484d0e91e41cffc8 \
                    sha256  016d64416bdfe1d66901d169b2d7eaaf40a1ef00aa1d9643bf5130399619d9a0 
                    
use_configure        no

worksrcdir          jdk-7-icedtea-plugs

build {}

destroot {
    set path "${destroot}${prefix}/share/java/${name}/jre/lib"
    xinstall -m 755 -d ${path}
    xinstall -m 644 ${worksrcpath}/jre/lib/rt-closed.jar ${path}
}