From owner-cvs-all@FreeBSD.ORG Sun Feb 27 23:49:33 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 983D616A4CE; Sun, 27 Feb 2005 23:49:33 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8299A43D3F; Sun, 27 Feb 2005 23:49:33 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1RNnXT4054156; Sun, 27 Feb 2005 23:49:33 GMT (envelope-from hq@repoman.freebsd.org) Received: (from hq@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1RNnXx5054155; Sun, 27 Feb 2005 23:49:33 GMT (envelope-from hq) Message-Id: <200502272349.j1RNnXx5054155@repoman.freebsd.org> From: Herve Quiroz Date: Sun, 27 Feb 2005 23:49:33 +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-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 23:49:33 -0000 hq 2005-02-27 23:49:33 UTC FreeBSD ports repository Modified files: Mk bsd.java.mk Log: Add JAVA_VERSION, JAVA_OS and JAVA_VENDOR to SUB_LIST. NOTE: these are only added if the related variables are defined by the port. This should ease the configuration of launcher shell scripts used for Java application ports, when they are using javavmwrapper to invoke a JVM. From now, a simple launcher that suits most of the Java application ports can be writen using the following scheme: #!/bin/sh JAVA_VERSION="%%JAVA_VERSION%%" \ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/myport.jar" "$@" As mentioned above, this is of course only correct provided that the port defines JAVA_VERSION. Approved by: glewis (co-maintainer) Revision Changes Path 1.65 +10 -1 ports/Mk/bsd.java.mk