1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name webtoolkit-java-sdk |
---|
7 | version 2.4.0 |
---|
8 | revision 0 |
---|
9 | categories java devel |
---|
10 | maintainers gmail.com:nhoj.patrick |
---|
11 | platforms darwin |
---|
12 | supported_archs noarch |
---|
13 | |
---|
14 | description Google Web Toolkit SDK for Java |
---|
15 | |
---|
16 | long_description Google Web Toolkit (GWT) is a development toolkit for \ |
---|
17 | building and optimizing complex browser-based applications. |
---|
18 | |
---|
19 | homepage http://code.google.com/webtoolkit/ |
---|
20 | master_sites googlecode:google-web-toolkit |
---|
21 | distfiles gwt-${version}.zip |
---|
22 | worksrcdir gwt-${version} |
---|
23 | use_zip yes |
---|
24 | |
---|
25 | checksums sha256 27d48a4b6df9de01eaf1bd3ba3971a8f32742886f67041ddc3cd9dbe01787ebf \ |
---|
26 | rmd160 79d159ba2176a4b96d7cefdfcc557301ebb1d31d |
---|
27 | |
---|
28 | use_configure no |
---|
29 | |
---|
30 | livecheck.type regex |
---|
31 | livecheck.url ${homepage}release-notes.html |
---|
32 | livecheck.regex "Release Notes for (\\d+\\.\\d+(\\.\\d+)?)" |
---|
33 | |
---|
34 | build {} |
---|
35 | |
---|
36 | destroot { |
---|
37 | # Create the target java directory |
---|
38 | xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} |
---|
39 | |
---|
40 | # Copy over the needed elements of our directory tree |
---|
41 | file copy ${worksrcpath}/doc \ |
---|
42 | ${worksrcpath}/samples \ |
---|
43 | ${worksrcpath}/COPYING \ |
---|
44 | ${worksrcpath}/COPYING.html \ |
---|
45 | ${worksrcpath}/about.html \ |
---|
46 | ${worksrcpath}/about.txt \ |
---|
47 | ${worksrcpath}/benchmarkViewer \ |
---|
48 | ${worksrcpath}/benchmarkViewer.cmd \ |
---|
49 | ${worksrcpath}/gwt-api-checker.jar \ |
---|
50 | ${worksrcpath}/gwt-benchmark-viewer.war \ |
---|
51 | ${worksrcpath}/gwt-dev.jar \ |
---|
52 | ${worksrcpath}/gwt-ll.dll \ |
---|
53 | ${worksrcpath}/gwt-module.dtd \ |
---|
54 | ${worksrcpath}/gwt-servlet-deps.jar \ |
---|
55 | ${worksrcpath}/gwt-servlet.jar \ |
---|
56 | ${worksrcpath}/gwt-soyc-vis.jar \ |
---|
57 | ${worksrcpath}/gwt-user.jar \ |
---|
58 | ${worksrcpath}/i18nCreator \ |
---|
59 | ${worksrcpath}/i18nCreator.cmd \ |
---|
60 | ${worksrcpath}/release_notes.html \ |
---|
61 | ${worksrcpath}/requestfactory-apt.jar \ |
---|
62 | ${worksrcpath}/requestfactory-client+src.jar \ |
---|
63 | ${worksrcpath}/requestfactory-client-src.jar \ |
---|
64 | ${worksrcpath}/requestfactory-client.jar \ |
---|
65 | ${worksrcpath}/requestfactory-server+src.jar \ |
---|
66 | ${worksrcpath}/requestfactory-server-src.jar \ |
---|
67 | ${worksrcpath}/requestfactory-server.jar \ |
---|
68 | ${worksrcpath}/validation-api-1.0.0.GA-sources.jar \ |
---|
69 | ${worksrcpath}/validation-api-1.0.0.GA.jar \ |
---|
70 | ${worksrcpath}/webAppCreator \ |
---|
71 | ${worksrcpath}/webAppCreator.cmd \ |
---|
72 | ${destroot}${prefix}/share/java/${name} |
---|
73 | } |
---|
74 | |
---|
75 | notes " |
---|
76 | Remember to set the environment variable WEBTOOLKIT_HOME path: |
---|
77 | WEBTOOLKIT_HOME=${prefix}/share/java/${name} ; export WEBTOOLKIT_HOME |
---|
78 | PATH=\${PATH}:\${WEBTOOLKIT_HOME}/bin ; export PATH |
---|
79 | " |
---|