# $OpenBSD: Makefile,v 1.28 2011/12/02 08:29:45 ajacoutot Exp $ COMMENT= build tool for java applications DISTNAME= apache-ant-1.8.2 REVISION= 3 CATEGORIES= devel HOMEPAGE= http://ant.apache.org/ # Apache Software License 2.0 & # W3C Consortium License (August 14 1998) PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/} \ http://archive.apache.org/dist/ant/binaries/ EXTRACT_SUFX= -bin.tar.bz2 MODULES= java MODJAVA_VER= 1.5+ RUN_DEPENDS= java/javaPathHelper BUILD_DEPENDS= archivers/gtar NO_BUILD= Yes NO_REGRESS= Yes TAR= ${LOCALBASE}/bin/gtar ANTHOME= ${PREFIX}/ant ANTDOCS= ${PREFIX}/share/doc/java/ant TXT= LICENSE NOTICE README WHATSNEW do-install: @${INSTALL_DATA_DIR} ${ANTHOME}/bin .for i in ant antRun runant.pl @${INSTALL_SCRIPT} ${WRKDIST}/bin/$i ${ANTHOME}/bin @ln -s ${TRUEPREFIX}/ant/bin/$i ${PREFIX}/bin/$i .endfor @${INSTALL_DATA_DIR} ${ANTDOCS} @cp -Rp ${WRKDIST}/docs/* ${ANTDOCS} @chown -R ${SHAREOWN}:${SHAREGRP} ${ANTDOCS} @cd ${WRKDIST} && ${INSTALL_DATA} ${TXT} ${ANTDOCS} @${INSTALL_DATA_DIR} ${ANTHOME}/lib @cd ${WRKDIST}/lib && ${INSTALL_DATA} *.jar ${ANTHOME}/lib .include