1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/Mk
Greg Lewis 88a41fc9c7 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 <herve.quiroz@esil.univ-mrs.fr>
2004-04-03 03:37:05 +00:00
..
bsd.emacs.mk Move the ancient emacs 19.x port from editors/emacs to 2004-03-21 07:39:49 +00:00
bsd.gnome.mk Chase the gal2 and gtkhtml3 shared lib versions. 2004-03-12 09:57:14 +00:00
bsd.gnustep.mk - make PKGNAMESUFFIX extandable 2004-03-26 08:00:35 +00:00
bsd.java.mk Bring in the new bsd.java.mk 2.0. 2004-04-03 03:37:05 +00:00
bsd.kde4.mk Update to KDE 3.2.1 / QT 3.3.1 2004-03-09 19:41:12 +00:00
bsd.kde.mk Update to KDE 3.2.1 / QT 3.3.1 2004-03-09 19:41:12 +00:00
bsd.openssl.mk - update Security check 2004-03-18 13:30:47 +00:00
bsd.php.mk Fix apache2 auto-detection, since apr is now conditional. 2004-02-09 10:37:45 +00:00
bsd.port.mk - Allow processing of info files in non-standard locations; the 2004-04-02 07:25:23 +00:00
bsd.port.post.mk Id->FreeBSD rename bis 1999-08-25 04:40:22 +00:00
bsd.port.pre.mk Id->FreeBSD rename bis 1999-08-25 04:40:22 +00:00
bsd.port.subdir.mk - Allow processing of info files in non-standard locations; the 2004-04-02 07:25:23 +00:00
bsd.python.mk - Update to 2.7.0 2004-04-02 00:00:29 +00:00
bsd.ruby.mk Add utility variables for ruby-iconv. 2004-03-23 09:03:32 +00:00
bsd.sdl.mk devel/sdl12: upgrading to 1.2.7 + some fixes. 2004-03-16 04:06:48 +00:00
bsd.sites.mk Add another GNOME mirror currently being used while the main GNOME services are 2004-03-31 07:33:05 +00:00