Ticket #52282: 0001-Update-gradle-port-to-3.1.patch

File 0001-Update-gradle-port-to-3.1.patch, 1.5 KB (added by amake (Aaron Madlon-Kay), 8 years ago)
  • devel/gradle/Portfile

    From 18c18720dcf66aae017f3d31a053229470881f37 Mon Sep 17 00:00:00 2001
    From: Aaron Madlon-Kay <aaron@madlon-kay.com>
    Date: Tue, 20 Sep 2016 10:00:26 +0900
    Subject: [PATCH] Update gradle port to 3.1
    
    ---
     devel/gradle/Portfile | 9 ++++-----
     1 file changed, 4 insertions(+), 5 deletions(-)
    
    diff --git a/devel/gradle/Portfile b/devel/gradle/Portfile
    index 3794216..6549b31 100644
    a b  
    44PortSystem          1.0
    55
    66name                gradle
    7 version             3.0
     7version             3.1
    88categories          devel java groovy
    99license             Apache-2
    1010maintainers         madlon-kay.com:aaron+macports openmaintainer
    platforms darwin 
    2121distname            ${name}-${version}-bin
    2222master_sites        https://services.gradle.org/distributions
    2323
    24 checksums           rmd160  a66a6574a8c10ea1beac6e6471953f05493c5427 \
    25                     sha256  39c906941a474444afbddc38144ed44166825acb0a57b0551dddb04bbf157f80
     24checksums           rmd160  55a7cba64df5e6d342ef70cfe47df8a512a9250e \
     25                    sha256  c7de3442432253525902f7e8d7eac8b5fd6ce1623f96d76916af6d0e383010fc
    2626
    2727worksrcdir          ${name}-${version}
    28 set workTarget      ""
    2928
    3029use_zip             yes
    3130use_configure       no
    platform darwin { 
    3837
    3938pre-destroot {
    4039    # Remove extraneous bat files
    41     foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
     40    foreach f [glob -directory ${worksrcpath}/bin *.bat] {
    4241        delete $f
    4342    }
    4443}