From owner-cvs-ports@FreeBSD.ORG Fri Apr 2 19:37:06 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 3429716A4CE; Fri, 2 Apr 2004 19:37:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14F3543D54; Fri, 2 Apr 2004 19:37:06 -0800 (PST) (envelope-from glewis@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i333b5Ge000979; Fri, 2 Apr 2004 19:37:05 -0800 (PST) (envelope-from glewis@repoman.freebsd.org) Received: (from glewis@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i333b5U8000978; Fri, 2 Apr 2004 19:37:05 -0800 (PST) (envelope-from glewis) Message-Id: <200404030337.i333b5U8000978@repoman.freebsd.org> From: Greg Lewis Date: Fri, 2 Apr 2004 19:37:05 -0800 (PST) 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: Sat, 03 Apr 2004 03:37:06 -0000 glewis 2004/04/02 19:37:05 PST FreeBSD ports repository Modified files: Mk bsd.java.mk Log: Bring in the new bsd.java.mk 2.0. bsd.java.mk now provides a new set of macros to be used by ports that require a JDK. When USE_JAVA is set, the following variables may be set in order to give to precision regarding the requirements of the port: - JAVA_VERSION: A list of space-separated suitable java versions for the port. An optional "+" allows you to specify a range of versions. (allowed values: 1.1[+] 1.2[+] 1.3[+] 1.4[+]) - JAVA_OS: A list of space-separated suitable JDK port operating systems for the port. (allowed values: native linux) - JAVA_VENDOR: A list of space-sperated suitable JDK port vendors for the port. (allowed values: freebsd bsdjava sun ibm blackdown) - JAVA_BUILD: When set, it means that the selected JDK port should be added to build dependencies for the port. - JAVA_RUN: This variable works exactly the same as JAVA_BUILD but regarding run dependencies. Here are some of the macros defined after setting USE_JAVA: - JAVA_PORT: The name of the JDK port (e.g. java/jdk14) - JAVA_HOME: The home of the JDK port in the local base - JAVA_PORT_VERSION: The version of the JDK port. - JAVA_PORT_OS: The operating system used by the JDK port. - JAVA_PORT_VENDOR: The vendor of the JDK port. - And many macros for the commonly used java executables, such as JAVA, JAVAC, JAVADOC, JAVAH, RMID, JAR... bsd.java.mk 2.0 is backward compatible with the previous version. Using the new features is strongly encouraged, since the old bsd.java.mk 1.0 features will be deprecated and removed in the near future. You will find more detailed info (as well as a quick tutorial) at: http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html If you experience any problems with java based ports that you believe is due to this change then please let me know. PR: 63511 Submitted by: Herve Quiroz Revision Changes Path 1.39 +332 -352 ports/Mk/bsd.java.mk