pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/apache-ivy apache-ivy: Use apache-ant 1.9.x with...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d87dd3e0534
branches: trunk
changeset: 383186:3d87dd3e0534
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Jul 24 16:27:22 2018 +0000
description:
apache-ivy: Use apache-ant 1.9.x with JDK 7.x
Bump PKGREVISION.
diffstat:
devel/apache-ivy/Makefile | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 54b3a880d0ba -r 3d87dd3e0534 devel/apache-ivy/Makefile
--- a/devel/apache-ivy/Makefile Tue Jul 24 16:25:56 2018 +0000
+++ b/devel/apache-ivy/Makefile Tue Jul 24 16:27:22 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2018/06/14 11:32:37 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2018/07/24 16:27:22 jperkin Exp $
#
DISTNAME= apache-ivy-2.4.0-bin
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/-bin//}
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/ivy/${PKGNAME:S/apache-ivy-//}/}
@@ -11,8 +12,15 @@
COMMENT= "Apache Project's Java-Based agile dependency manager"
LICENSE= apache-2.0
+.include "../../mk/java-vm.mk"
+
+.if ${PKG_JVM} == "openjdk7" || ${PKG_JVM} == "sun-jdk7"
+DEPENDS+= apache-ant>=1.9<1.10:../../devel/apache-ant19
+.else
+DEPENDS+= apache-ant>=1.10:../../devel/apache-ant
+.endif
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-DEPENDS+= apache-ant>=1.6:../../devel/apache-ant
USE_JAVA= run
USE_JAVA2= yes
@@ -27,5 +35,4 @@
cd ${WRKSRC}/doc && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ivy
cd ${WRKSRC}/src/example && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/examples/ivy
-.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index