Ticket #48405: Portfile

File Portfile, 1.5 KB (added by roger.filmyer@…, 9 years ago)

Updated portfile

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$
3
4PortSystem              1.0
5
6name                    webtoolkit-java-sdk
7version                 2.7.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://www.gwtproject.org/
20master_sites            http://storage.googleapis.com/gwt-releases/
21distname                gwt-${version}
22use_zip                 yes
23
24checksums               sha256 aa65061b73836190410720bea422eb8e787680d7bc0c2b244ae6c9a0d24747b3 \
25                        rmd160 4c730e3ca663f4e2d8dd61f40efd16b804cfe9a4
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 {*}[glob ${worksrcpath}/*] ${destroot}${prefix}/share/java/${name}
41}