65f08d2836
The Ant-Contrib project is a collection of tasks (and at one point maybe types and other tools) for Apache Ant.
31 lines
928 B
Makefile
31 lines
928 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2014/08/29 21:40:52 abs Exp $
|
|
|
|
DISTNAME= ant-contrib-0.6-bin
|
|
PKGNAME= ${DISTNAME:S/-bin//}
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ant-contrib/ant-contrib/${PKGNAME_NOREV}/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://ant-contrib.sourceforge.net/
|
|
COMMENT= Collection of tasks and tools for apache-ant
|
|
LICENSE= apache-2.0
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_JAVA= run
|
|
USE_JAVA2= yes
|
|
USE_TOOLS+= pax
|
|
NO_BUILD= yes
|
|
|
|
INSTALLATION_DIRS= lib/java/ant share/doc/java/ant-contrib
|
|
|
|
DEPENDS+= apache-ant>=1.5:../../devel/apache-ant
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${PKGNAME_NOREV}.jar ${DESTDIR}${PREFIX}/lib/java/ant
|
|
cd ${WRKSRC}/docs && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ant-contrib
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/java/ant-contrib
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|