source: trunk/dports/java/webtoolkit-java-sdk/Portfile @ 95385

Last change on this file since 95385 was 95385, checked in by jmr@…, 8 years ago

New port: webtoolkit-java-sdk (#32849)

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