# -*- 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 # $Id: Portfile 95385 2012-07-11 17:46:42Z jmr@macports.org $ PortSystem 1.0 name webtoolkit-java-sdk version 2.4.0 categories java devel license Apache-2 BSD Permissive EPL-1 LGPL-2.1+ {NPL-1.1 GPL} maintainers gmail.com:nhoj.patrick openmaintainer platforms darwin 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://code.google.com/webtoolkit/ master_sites googlecode:google-web-toolkit distname gwt-${version} use_zip yes checksums sha256 27d48a4b6df9de01eaf1bd3ba3971a8f32742886f67041ddc3cd9dbe01787ebf \ rmd160 79d159ba2176a4b96d7cefdfcc557301ebb1d31d use_configure no livecheck.type regex livecheck.url ${homepage}release-notes.html livecheck.regex "Release Notes for (\\d+\\.\\d+(\\.\\d+)?)" build {} destroot { # Create the target java directory xinstall -d ${destroot}${prefix}/share/java/${name} # Copy over the needed elements of our directory tree copy ${worksrcpath}/doc \ ${worksrcpath}/samples \ ${worksrcpath}/COPYING \ ${worksrcpath}/COPYING.html \ ${worksrcpath}/about.html \ ${worksrcpath}/about.txt \ ${worksrcpath}/benchmarkViewer \ ${worksrcpath}/benchmarkViewer.cmd \ ${worksrcpath}/gwt-api-checker.jar \ ${worksrcpath}/gwt-benchmark-viewer.war \ ${worksrcpath}/gwt-dev.jar \ ${worksrcpath}/gwt-ll.dll \ ${worksrcpath}/gwt-module.dtd \ ${worksrcpath}/gwt-servlet-deps.jar \ ${worksrcpath}/gwt-servlet.jar \ ${worksrcpath}/gwt-soyc-vis.jar \ ${worksrcpath}/gwt-user.jar \ ${worksrcpath}/i18nCreator \ ${worksrcpath}/i18nCreator.cmd \ ${worksrcpath}/release_notes.html \ ${worksrcpath}/requestfactory-apt.jar \ ${worksrcpath}/requestfactory-client+src.jar \ ${worksrcpath}/requestfactory-client-src.jar \ ${worksrcpath}/requestfactory-client.jar \ ${worksrcpath}/requestfactory-server+src.jar \ ${worksrcpath}/requestfactory-server-src.jar \ ${worksrcpath}/requestfactory-server.jar \ ${worksrcpath}/validation-api-1.0.0.GA-sources.jar \ ${worksrcpath}/validation-api-1.0.0.GA.jar \ ${worksrcpath}/webAppCreator \ ${worksrcpath}/webAppCreator.cmd \ ${destroot}${prefix}/share/java/${name} } notes " Remember to set the environment variable WEBTOOLKIT_HOME path: WEBTOOLKIT_HOME=${prefix}/share/java/${name} ; export WEBTOOLKIT_HOME PATH=\${PATH}:\${WEBTOOLKIT_HOME}/bin ; export PATH "