/
Portfile
51 lines (37 loc) · 1.67 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- 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
PortSystem 1.0
PortGroup github 1.0
github.setup gdubw gng 1.0.4 v
revision 0
categories java devel
maintainers {breun.nl:nils @breun} openmaintainer
platforms {darwin any}
license Apache-2
supported_archs noarch
description GNG -- Gradle is Not Gradle
long_description GNG (Gradle is Not Gradle) is a script that automatically searches your 'gradlew' script \
when you are inside your Gradle project and executes it. It also contains an official Gradle wrapper. \
You can create gradle projects from scratch without installing Gradle. \
This is originally inspired by gdub and gradlew-bootstrap. \
GNG is the successor of gdub. It keeps the original gw command and with more features. \
It is written totally in bash script.
homepage https://gng.dsun.org
checksums rmd160 5d15c5245b4c97970e9fbf35f607721a4e467168 \
sha256 2721a96ad79557b6fedecb20bfd89e4120e6f381e490487283ba677a9723e5f3 \
size 71341
depends_run port:bash
use_configure no
build {}
destroot {
set target ${destroot}${prefix}/share/java/${name}
# Create the target directory
xinstall -m 755 -d ${target}
# Copy over the needed elements of our directory tree
foreach d { LICENSE bin docs gradle lib } {
copy ${worksrcpath}/${d} ${target}
}
# Add symlinks to the scripts
foreach f { gng gw } {
ln -s ../share/java/${name}/bin/${f} ${destroot}${prefix}/bin
}
}