[130189] trunk/dports/java

khindenburg at macports.org khindenburg at macports.org
Sun Dec 28 09:36:07 PST 2014


Revision: 130189
          https://trac.macports.org/changeset/130189
Author:   khindenburg at macports.org
Date:     2014-12-28 09:36:06 -0800 (Sun, 28 Dec 2014)
Log Message:
-----------
spring-boot-cli: new port #46127

Added Paths:
-----------
    trunk/dports/java/spring-boot-cli/
    trunk/dports/java/spring-boot-cli/Portfile

Added: trunk/dports/java/spring-boot-cli/Portfile
===================================================================
--- trunk/dports/java/spring-boot-cli/Portfile	                        (rev 0)
+++ trunk/dports/java/spring-boot-cli/Portfile	2014-12-28 17:36:06 UTC (rev 130189)
@@ -0,0 +1,68 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name            spring-boot-cli
+version         1.2.0
+
+categories      java
+platforms       darwin
+maintainers     breun.nl:nils openmaintainer
+license         Apache-2
+supported_archs noarch
+
+description     Spring Boot CLI -- An opinionated view of building \
+                production-ready Spring applications.
+
+long_description The Spring Boot CLI is a command line tool that can be used \
+                if you want to quickly prototype with Spring. It allows you to \
+                run Groovy scripts, which means that you have a familiar \
+                Java-like syntax, without much boilerplate code. \
+                \
+                You don't need to use the CLI to work with Spring Boot but \
+                it's definitely the quickest way to get a Spring application \
+                off the ground.
+
+homepage        http://projects.spring.io/spring-boot/
+master_sites    http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/${version}.RELEASE/
+
+distname        spring-boot-cli-${version}.RELEASE-bin
+
+checksums       rmd160  dc25d8b5773a25d083c287f9f72ec8b8e54386d8 \
+                sha256  ac6563b5f02cb9928c29d543c122af47f307b01faced63feadc66956e9334739
+
+worksrcdir      spring-${version}.RELEASE
+
+use_configure   no
+
+build {}
+
+destroot {
+    set target ${destroot}${prefix}/share/java/${name}
+
+    # Create the target java directory
+    xinstall -m 755 -d ${target}
+
+    # Copy over the needed elements of our directory tree
+    foreach d { bin lib } {
+        copy ${worksrcpath}/${d} ${target}
+    }
+
+    # Remove extraneous bat files
+    foreach f [glob -directory ${target}/bin *.bat] {
+        delete ${f}
+    }
+
+    # Add symlink to the script
+    ln -s ../share/java/${name}/bin/spring ${destroot}${prefix}/bin
+}
+
+variant bash_completion {
+    depends_run-append path:etc/bash_completion:bash-completion
+    post-destroot {
+        xinstall -d ${destroot}${prefix}/etc/bash_completion.d
+        copy ${worksrcpath}/shell-completion/bash/spring \
+             ${destroot}${prefix}/etc/bash_completion.d/spring
+    }
+}


Property changes on: trunk/dports/java/spring-boot-cli/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141228/08016c46/attachment.html>


More information about the macports-changes mailing list