From owner-cvs-ports@FreeBSD.ORG Mon Aug 2 21:44:17 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5917116A4CE; Mon, 2 Aug 2004 21:44:17 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 502F143D67; Mon, 2 Aug 2004 21:44:17 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i72LiH1J042633; Mon, 2 Aug 2004 21:44:17 GMT (envelope-from glewis@repoman.freebsd.org) Received: (from glewis@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i72LiH6m042632; Mon, 2 Aug 2004 21:44:17 GMT (envelope-from glewis) Message-Id: <200408022144.i72LiH6m042632@repoman.freebsd.org> From: Greg Lewis Date: Mon, 2 Aug 2004 21:44:17 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/Mk bsd.java.mk X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 21:44:17 -0000 glewis 2004-08-02 21:44:17 UTC FreeBSD ports repository Modified files: Mk bsd.java.mk Log: . Add a USE_ANT variable with that provides a simple way to build a Java-based port with ant, using MAKE_ENV, MAKE_ARGS and ALL_TARGET but using ant instead of make. When a port is built this way it also causes ant to respect the JDK selected by bsd.java.mk rather than using the JDK that ant was build with. Most ports should just be able to do USE_ANT= yes You may also need to set ALL_TARGET if your port doesn't use the default ant target. See the comments on USE_ANT at the head of bsd.java.mk for more information. PR: 59997 Reviewed by: hq (who spotted a bug and provided the comments documenting USE_ANT). Revision Changes Path 1.51 +25 -1 ports/Mk/bsd.java.mk