pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gradle Add package gradle.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec6e261b7c03
branches: trunk
changeset: 358173:ec6e261b7c03
user: maya <maya%pkgsrc.org@localhost>
date: Mon Feb 06 22:25:24 2017 +0000
description:
Add package gradle.
Gradle is a Java based build tool which allows creating
project build scripts using a domain-specific language
based on Groovy.
Packaged on pkgsrc-wip by asiekierka, thanks!
diffstat:
devel/gradle/DESCR | 3 +
devel/gradle/Makefile | 44 +++++++++
devel/gradle/PLIST | 169 +++++++++++++++++++++++++++++++++++++
devel/gradle/distinfo | 6 +
devel/gradle/files/gradle-launcher | 142 +++++++++++++++++++++++++++++++
5 files changed, 364 insertions(+), 0 deletions(-)
diffs (truncated from 384 to 300 lines):
diff -r 33d89b989f29 -r ec6e261b7c03 devel/gradle/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gradle/DESCR Mon Feb 06 22:25:24 2017 +0000
@@ -0,0 +1,3 @@
+Gradle is a Java based build tool which allows creating
+project build scripts using a domain-specific language
+based on Groovy.
diff -r 33d89b989f29 -r ec6e261b7c03 devel/gradle/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gradle/Makefile Mon Feb 06 22:25:24 2017 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2017/02/06 22:25:24 maya Exp $
+
+DISTNAME= gradle-3.0-rc-1-bin
+PKGNAME= ${DISTNAME:S/-bin//:S/-rc-1/.rc.1/}
+CATEGORIES= devel java
+MASTER_SITES= http://services.gradle.org/distributions/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= asiekierka%gmail.com@localhost
+HOMEPAGE= http://gradle.org/
+COMMENT= Groovy-based Java build system
+LICENSE= apache-2.0
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-bin//}
+
+USE_JAVA= run
+USE_JAVA2= yes
+USE_TOOLS+= bash:run pax:build
+NO_BUILD= yes
+
+pre-configure:
+ ${CP} files/gradle-launcher ${WRKSRC}/gradle-launcher
+
+REPLACE_BASH+= gradle-launcher
+
+SUBST_CLASSES+= launcher
+SUBST_FILES.launcher= gradle-launcher
+SUBST_STAGE.launcher= post-configure
+SUBST_SED.launcher= -e 's,@APP_HOME@,${PREFIX}/lib/java/gradle,g'
+SUBST_SED.launcher+= -e 's,@PREFIX@,${PREFIX},g'
+SUBST_SED.launcher+= -e 's,@APP_LAUNCHER@,lib/gradle-launcher-${PKGVERSION}\.jar,g'
+SUBST_SED.launcher+= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
+
+INSTALLATION_DIRS= bin lib/java/gradle/lib lib/java/gradle/lib/plugins
+INSTALLATION_DIRS+= lib/java/gradle/media share/doc/java/gradle
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/gradle-launcher ${DESTDIR}${PREFIX}/bin/gradle
+ cd ${WRKSRC}/lib && ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/java/gradle/lib
+ ${INSTALL_DATA} ${WRKSRC}/media/*.icns ${DESTDIR}${PREFIX}/lib/java/gradle/media
+ ${INSTALL_DATA} ${WRKSRC}/getting-started.html ${DESTDIR}${PREFIX}/share/doc/java/gradle
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 33d89b989f29 -r ec6e261b7c03 devel/gradle/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gradle/PLIST Mon Feb 06 22:25:24 2017 +0000
@@ -0,0 +1,169 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/06 22:25:24 maya Exp $
+bin/gradle
+lib/java/gradle/lib/ant-1.9.6.jar
+lib/java/gradle/lib/ant-launcher-1.9.6.jar
+lib/java/gradle/lib/asm-all-5.1.jar
+lib/java/gradle/lib/commons-collections-3.2.2.jar
+lib/java/gradle/lib/commons-io-2.2.jar
+lib/java/gradle/lib/commons-lang-2.6.jar
+lib/java/gradle/lib/dom4j-1.6.1.jar
+lib/java/gradle/lib/gradle-base-services-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-base-services-groovy-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-cli-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-core-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-docs-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-installation-beacon-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-jvm-services-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-launcher-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-logging-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-messaging-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-model-core-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-model-groovy-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-native-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-open-api-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-process-services-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-resources-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-script-kotlin-0.3.0.jar
+lib/java/gradle/lib/gradle-tooling-api-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-ui-3.0-rc-1.jar
+lib/java/gradle/lib/gradle-wrapper-3.0-rc-1.jar
+lib/java/gradle/lib/groovy-all-2.4.7.jar
+lib/java/gradle/lib/guava-jdk5-17.0.jar
+lib/java/gradle/lib/jansi-1.2.1.jar
+lib/java/gradle/lib/javax.inject-1.jar
+lib/java/gradle/lib/jaxen-1.1.jar
+lib/java/gradle/lib/jcip-annotations-1.0.jar
+lib/java/gradle/lib/jcl-over-slf4j-1.7.10.jar
+lib/java/gradle/lib/jna-3.2.7.jar
+lib/java/gradle/lib/jul-to-slf4j-1.7.10.jar
+lib/java/gradle/lib/kotlin-compiler-embeddable-1.1-M01.jar
+lib/java/gradle/lib/kotlin-reflect-1.1-M01.jar
+lib/java/gradle/lib/kotlin-runtime-1.1-M01.jar
+lib/java/gradle/lib/kotlin-stdlib-1.1-M01.jar
+lib/java/gradle/lib/kryo-2.20.jar
+lib/java/gradle/lib/log4j-over-slf4j-1.7.10.jar
+lib/java/gradle/lib/minlog-1.2.jar
+lib/java/gradle/lib/native-platform-0.10.jar
+lib/java/gradle/lib/native-platform-freebsd-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-freebsd-i386-0.10.jar
+lib/java/gradle/lib/native-platform-linux-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-linux-i386-0.10.jar
+lib/java/gradle/lib/native-platform-osx-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-osx-i386-0.10.jar
+lib/java/gradle/lib/native-platform-windows-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-windows-i386-0.10.jar
+lib/java/gradle/lib/objenesis-1.2.jar
+lib/java/gradle/lib/plugins/aether-api-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-connector-wagon-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-impl-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-spi-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-util-1.13.1.jar
+lib/java/gradle/lib/plugins/aws-java-sdk-core-1.11.6.jar
+lib/java/gradle/lib/plugins/aws-java-sdk-kms-1.11.6.jar
+lib/java/gradle/lib/plugins/aws-java-sdk-s3-1.11.6.jar
+lib/java/gradle/lib/plugins/bcpg-jdk15on-1.51.jar
+lib/java/gradle/lib/plugins/bcprov-jdk15on-1.51.jar
+lib/java/gradle/lib/plugins/biz.aQute.bndlib-3.2.0.jar
+lib/java/gradle/lib/plugins/bsh-2.0b4.jar
+lib/java/gradle/lib/plugins/commons-cli-1.2.jar
+lib/java/gradle/lib/plugins/commons-codec-1.6.jar
+lib/java/gradle/lib/plugins/core-3.1.1.jar
+lib/java/gradle/lib/plugins/geronimo-annotation_1.0_spec-1.0.jar
+lib/java/gradle/lib/plugins/gradle-announce-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-antlr-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-build-comparison-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-build-init-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-code-quality-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-dependency-management-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-diagnostics-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-ear-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-ide-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-ide-native-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-ide-play-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-ivy-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-jacoco-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-javascript-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-jetty-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-language-groovy-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-language-java-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-language-jvm-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-language-native-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-language-scala-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-maven-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-osgi-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-platform-base-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-platform-jvm-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-platform-native-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-platform-play-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-plugin-development-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-plugin-use-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-plugins-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-publish-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-reporting-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-resources-http-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-resources-s3-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-resources-sftp-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-scala-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-signing-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-test-kit-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-testing-base-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-testing-jvm-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-testing-native-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gradle-tooling-api-builders-3.0-rc-1.jar
+lib/java/gradle/lib/plugins/gson-2.2.4.jar
+lib/java/gradle/lib/plugins/hamcrest-core-1.3.jar
+lib/java/gradle/lib/plugins/httpclient-4.4.1.jar
+lib/java/gradle/lib/plugins/httpcore-4.4.4.jar
+lib/java/gradle/lib/plugins/ivy-2.2.0.jar
+lib/java/gradle/lib/plugins/jackson-annotations-2.6.6.jar
+lib/java/gradle/lib/plugins/jackson-core-2.6.6.jar
+lib/java/gradle/lib/plugins/jackson-databind-2.6.6.jar
+lib/java/gradle/lib/plugins/jatl-0.2.2.jar
+lib/java/gradle/lib/plugins/jcifs-1.3.17.jar
+lib/java/gradle/lib/plugins/jcommander-1.12.jar
+lib/java/gradle/lib/plugins/jetty-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-annotations-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-naming-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-plus-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-util-6.1.25.jar
+lib/java/gradle/lib/plugins/joda-time-2.8.2.jar
+lib/java/gradle/lib/plugins/jsch-0.1.53.jar
+lib/java/gradle/lib/plugins/jsp-2.1-6.1.14.jar
+lib/java/gradle/lib/plugins/jsp-api-2.1-6.1.14.jar
+lib/java/gradle/lib/plugins/junit-4.12.jar
+lib/java/gradle/lib/plugins/maven-aether-provider-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-artifact-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-compat-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-core-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-model-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-model-builder-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-plugin-api-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-repository-metadata-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-settings-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-settings-builder-3.0.4.jar
+lib/java/gradle/lib/plugins/nekohtml-1.9.14.jar
+lib/java/gradle/lib/plugins/plexus-cipher-1.7.jar
+lib/java/gradle/lib/plugins/plexus-classworlds-2.4.jar
+lib/java/gradle/lib/plugins/plexus-component-annotations-1.5.5.jar
+lib/java/gradle/lib/plugins/plexus-container-default-1.5.5.jar
+lib/java/gradle/lib/plugins/plexus-interpolation-1.14.jar
+lib/java/gradle/lib/plugins/plexus-sec-dispatcher-1.3.jar
+lib/java/gradle/lib/plugins/plexus-utils-2.0.6.jar
+lib/java/gradle/lib/plugins/pmaven-common-0.8-20100325.jar
+lib/java/gradle/lib/plugins/pmaven-groovy-0.8-20100325.jar
+lib/java/gradle/lib/plugins/rhino-1.7R3.jar
+lib/java/gradle/lib/plugins/servlet-api-2.5-20081211.jar
+lib/java/gradle/lib/plugins/simple-4.1.21.jar
+lib/java/gradle/lib/plugins/snakeyaml-1.6.jar
+lib/java/gradle/lib/plugins/testng-6.3.1.jar
+lib/java/gradle/lib/plugins/wagon-file-2.4.jar
+lib/java/gradle/lib/plugins/wagon-http-2.4.jar
+lib/java/gradle/lib/plugins/wagon-http-shared4-2.4.jar
+lib/java/gradle/lib/plugins/wagon-provider-api-2.4.jar
+lib/java/gradle/lib/plugins/xbean-reflect-3.4.jar
+lib/java/gradle/lib/plugins/xercesImpl-2.9.1.jar
+lib/java/gradle/lib/plugins/xml-apis-1.3.04.jar
+lib/java/gradle/lib/reflectasm-1.07-shaded.jar
+lib/java/gradle/lib/slf4j-api-1.7.10.jar
+lib/java/gradle/media/gradle.icns
+share/doc/java/gradle/getting-started.html
diff -r 33d89b989f29 -r ec6e261b7c03 devel/gradle/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gradle/distinfo Mon Feb 06 22:25:24 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/06 22:25:24 maya Exp $
+
+SHA1 (gradle-3.0-rc-1-bin.zip) = d5f8ae55d6bb13a82db63423839dac26d0096d56
+RMD160 (gradle-3.0-rc-1-bin.zip) = 12c24b3a5b7954247b00f65fbb84ebe68ab6a95b
+SHA512 (gradle-3.0-rc-1-bin.zip) = fea71e5167365947ef234572198461487a5d5b50e2f7827280f9def6bd152bed95363ded5e1030894303b83cac0d6dd11f9df2e2fdf08242d3ecf3724ba23237
+Size (gradle-3.0-rc-1-bin.zip) = 69305820 bytes
diff -r 33d89b989f29 -r ec6e261b7c03 devel/gradle/files/gradle-launcher
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gradle/files/gradle-launcher Mon Feb 06 22:25:24 2017 +0000
@@ -0,0 +1,142 @@
+#!/bin/bash
+
+##############################################################################
+##
+## A modified version of Gradle's "bin/gradle" startup script,
+## adapted for pkgsrc.
+##
+##############################################################################
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+APP_HOME="@APP_HOME@"
+APP_LAUNCHER="@APP_LAUNCHER@"
+JAVA_HOME="@JAVA_HOME@"
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/$APP_LAUNCHER
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
Home |
Main Index |
Thread Index |
Old Index