# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem              1.0
PortGroup               github 1.0

github.setup            gwtproject gwt 2.13.0
github.tarball_from     archive
revision                0
name                    webtoolkit-java-sdk
categories              java devel
license                 Apache-2 BSD Permissive EPL-1 LGPL-2.1+ {NPL-1.1 GPL}
maintainers             nomaintainer
platforms               any
supported_archs         noarch

description             Google Web Toolkit SDK for Java

long_description        Google Web Toolkit (GWT) is a development toolkit for \
                        building and optimizing complex browser-based applications.

homepage                http://www.gwtproject.org/
use_zip                 yes


checksums               rmd160  d1f470ac6a6060ae2eebe72f4d3623dbd27ee13e \
                        sha256  45f52c74c7c186c1248ef7df5310fdf8ffb41518bf9724c62391da9b9989d0c0 \
                        size    21471696
use_configure           no

build                   {}

destroot {
    # Create the target java directory
    xinstall -d ${destroot}${prefix}/share/java/${name}

    # Copy over the needed elements of our directory tree
    copy {*}[glob ${worksrcpath}/*] ${destroot}${prefix}/share/java/${name}
}
