Ticket #48405: Portfile.diff

File Portfile.diff, 3.2 KB (added by roger.filmyer@…, 6 years ago)

Diff of my changes to the portfile.

  • Portfile

    diff --git a/Users/roger/Downloads/Portfile b/Portfile
    index 5da68fd..1c51aee 100644
    old new  
    44PortSystem              1.0
    55
    66name                    webtoolkit-java-sdk
    7 version                 2.4.0
     7version                 2.7.0
    88categories              java devel
    99license                 Apache-2 BSD Permissive EPL-1 LGPL-2.1+ {NPL-1.1 GPL}
    1010maintainers             gmail.com:nhoj.patrick openmaintainer
    description Google Web Toolkit SDK for Java 
    1616long_description        Google Web Toolkit (GWT) is a development toolkit for \
    1717                        building and optimizing complex browser-based applications.
    1818
    19 homepage                http://code.google.com/webtoolkit/
    20 master_sites            googlecode:google-web-toolkit
     19homepage                http://www.gwtproject.org/
     20master_sites            http://storage.googleapis.com/gwt-releases/
    2121distname                gwt-${version}
    2222use_zip                 yes
    2323
    24 checksums               sha256 27d48a4b6df9de01eaf1bd3ba3971a8f32742886f67041ddc3cd9dbe01787ebf \
    25                         rmd160 79d159ba2176a4b96d7cefdfcc557301ebb1d31d
     24checksums               sha256 aa65061b73836190410720bea422eb8e787680d7bc0c2b244ae6c9a0d24747b3 \
     25                        rmd160 4c730e3ca663f4e2d8dd61f40efd16b804cfe9a4
    2626
    2727use_configure           no
    2828
    destroot { 
    3737    xinstall -d ${destroot}${prefix}/share/java/${name}
    3838
    3939    # 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}
     40    copy {*}[glob ${worksrcpath}/*] ${destroot}${prefix}/share/java/${name}
    7241}
    73 
    74 notes "
    75 Remember to set the environment variable WEBTOOLKIT_HOME path:
    76 WEBTOOLKIT_HOME=${prefix}/share/java/${name} ; export WEBTOOLKIT_HOME
    77 PATH=\${PATH}:\${WEBTOOLKIT_HOME}/bin ; export PATH
    78 "