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
|
|
4 | 4 | PortSystem 1.0 |
5 | 5 | |
6 | 6 | name gradle |
7 | | version 3.0 |
| 7 | version 3.1 |
8 | 8 | categories devel java groovy |
9 | 9 | license Apache-2 |
10 | 10 | maintainers madlon-kay.com:aaron+macports openmaintainer |
… |
… |
platforms darwin |
21 | 21 | distname ${name}-${version}-bin |
22 | 22 | master_sites https://services.gradle.org/distributions |
23 | 23 | |
24 | | checksums rmd160 a66a6574a8c10ea1beac6e6471953f05493c5427 \ |
25 | | sha256 39c906941a474444afbddc38144ed44166825acb0a57b0551dddb04bbf157f80 |
| 24 | checksums rmd160 55a7cba64df5e6d342ef70cfe47df8a512a9250e \ |
| 25 | sha256 c7de3442432253525902f7e8d7eac8b5fd6ce1623f96d76916af6d0e383010fc |
26 | 26 | |
27 | 27 | worksrcdir ${name}-${version} |
28 | | set workTarget "" |
29 | 28 | |
30 | 29 | use_zip yes |
31 | 30 | use_configure no |
… |
… |
platform darwin { |
38 | 37 | |
39 | 38 | pre-destroot { |
40 | 39 | # Remove extraneous bat files |
41 | | foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] { |
| 40 | foreach f [glob -directory ${worksrcpath}/bin *.bat] { |
42 | 41 | delete $f |
43 | 42 | } |
44 | 43 | } |