pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gradle: Simplify install
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Aug 7 02:09:48 2016 +0200
Changeset: cd6cdb92a72180b72d17f39f24ee84f6cbc8740e
Modified Files:
gradle/Makefile
Log Message:
gradle: Simplify install
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cd6cdb92a72180b72d17f39f24ee84f6cbc8740e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gradle/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diffs:
diff --git a/gradle/Makefile b/gradle/Makefile
index a7bcae4..be74b1e 100644
--- a/gradle/Makefile
+++ b/gradle/Makefile
@@ -15,7 +15,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-bin//}
USE_JAVA= run
USE_JAVA2= yes
-USE_TOOLS+= bash:run
+USE_TOOLS+= bash:run pax:build
NO_BUILD= yes
pre-configure:
@@ -36,8 +36,7 @@ INSTALLATION_DIRS+= lib/java/gradle/media share/doc/java/gradle
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gradle-launcher ${DESTDIR}${PREFIX}/bin/gradle
- ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DESTDIR}${PREFIX}/lib/java/gradle/lib
- ${INSTALL_DATA} ${WRKSRC}/lib/plugins/*.jar ${DESTDIR}${PREFIX}/lib/java/gradle/lib/plugins
+ 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
Home |
Main Index |
Thread Index |
Old Index