pkgsrc/devel/apache-ivy/Makefile
otis d637f345d0 apache-ivy: Update to 2.5.0
Changelog for 2.5.0:
  - The minimum runtime Java version required is now Java 7
  - Ivy now uses BouncyCastle OpenPGP API 1.59. Due to the non backward
    compatibility of that library, earlier versions are not supported.
  - Ivy now uses HttpComponents HttpClient 4.5.x version with HTTP backed
    resolvers. Users are expected to have this version of the library (and its
    dependencies) in their runtime classpath if they want to use such
    resolvers.
  - The previous (similarly named but not the same) commons-httpclient library
    is no longer used or supported.

For full changelog see:
http://ant.apache.org/ivy/history/2.5.0/release-notes.html
2020-10-29 09:31:41 +00:00

38 lines
1,015 B
Makefile

# $NetBSD: Makefile,v 1.7 2020/10/29 09:31:41 otis Exp $
#
DISTNAME= apache-ivy-2.5.0-bin
#PKGREVISION= 1
PKGNAME= ${DISTNAME:S/-bin//}
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/ivy/${PKGNAME:S/apache-ivy-//}/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ant.apache.org/ivy/
COMMENT= "Apache Project's Java-Based agile dependency manager"
LICENSE= apache-2.0
.include "../../mk/java-vm.mk"
.if ${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}
USE_JAVA= run
USE_JAVA2= yes
USE_TOOLS+= pax
NO_BUILD= yes
INSTALLATION_DIRS= lib/java/ant share/doc/java/ivy share/examples/ivy
do-install:
${INSTALL_DATA} ${WRKSRC}/ivy-*.jar ${DESTDIR}${PREFIX}/lib/java/ant
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/bsd.pkg.mk"