2011-08-30 13:16:35 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2011/08/30 17:16:35 jasper Exp $
|
2011-08-30 03:17:38 -04:00
|
|
|
|
|
|
|
COMMENT= Java library to assist with developing IO functionality
|
|
|
|
|
|
|
|
V= 2.0.1
|
|
|
|
DISTNAME= commons-io-$V-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2011-08-30 13:16:35 -04:00
|
|
|
REVISION= 0
|
|
|
|
CATEGORIES= devel
|
2011-08-30 03:17:38 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://commons.apache.org/io/
|
|
|
|
|
|
|
|
# APLv2.0
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=commons/io/source/}
|
|
|
|
|
|
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
|
|
|
|
|
|
MODULES= java
|
|
|
|
MODJAVA_VER= 1.6+
|
|
|
|
|
|
|
|
BUILD_DEPENDS= archivers/gtar \
|
|
|
|
devel/apache-ant
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
JAR_DIR= ${PREFIX}/share/java/classes/
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ant
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${JAR_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/target/commons-io-$V.jar \
|
|
|
|
${JAR_DIR}/commons-io.jar
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|