-
Notifications
You must be signed in to change notification settings - Fork 106
/
Makefile
33 lines (24 loc) · 935 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.1.1.1 2011/04/15 09:39:31 abs Exp $
#
DISTNAME= apache-ivy-2.2.0-bin
PKGNAME= ${DISTNAME:S/-bin//}
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/ivy/${PKGNAME:S/apache-ivy-//}/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ant.apache.org/ivy/
COMMENT= "Apache Project's Java-Based agile dependency manager"
LICENSE= apache-2.0
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
DEPENDS+= apache-ant>=1.6:../../devel/apache-ant
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/java-vm.mk"
.include "../../mk/bsd.pkg.mk"