aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.java.mk
Commit message (Collapse)AuthorAgeFilesLines
* Add Java related substitutions to SUB_LIST: JAVASHAREDIR, JAVAJARDIR andHerve Quiroz2004-12-191-2/+5
| | | | | | | JAVALIBDIR Notes: svn path=/head/; revision=124468
* . Default 4.x to jdk14 as the Diablo JDK has been marked FORBIDDEN.Greg Lewis2004-12-051-3/+1
| | | | Notes: svn path=/head/; revision=123199
* When USE_ANT is defined, JAVA_BUILD is automatically set to 'jdk' but thisHerve Quiroz2004-11-291-8/+10
| | | | | | | | | | | | | | | | | | conflicts with the default values for JAVA_BUILD and JAVA_RUN. Those variables are indeed set a default value when none of the them (together with JAVA_EXTRACT) is defined. Having USE_ANT set a value for JAVA_BUILD will cause JAVA_RUN not to be set its default value. This has RUN_DEPENDS not correctly set (missing the JDK entry) on many ports that use USE_ANT. This patch addresses this issue by moving the statements dealing with default values to have them executed before USE_ANT handling. Approved by: glewis (co-maintainer) Notes: svn path=/head/; revision=122756
* Ports that use USE_ANT will now automatically build with Jikes if available andHerve Quiroz2004-11-091-0/+3
| | | | | | | | | | | not explicitly forbiden. PR: 44432 Suggested by: znerd Approved by: glewis (co-maintainer) Notes: svn path=/head/; revision=121164
* Additional error checking: check for defined variables that should not be. WithHerve Quiroz2004-11-071-0/+9
| | | | | | | | | | | | | | | | | this patch, for instance: $ cd /usr/port/devel/apache-ant $ make JAVA_HOME=toto apache-ant-1.6.2: Environement error: "JAVA_HOME" should not be defined. *** Error code 1 PR: 70914 Reported by: Rong-En Fan <rafan@infor.org> Approved by: glewis (co-maintainer) Notes: svn path=/head/; revision=121019
* . Update the location the linux-ibm-jdk14 port installs into based on itsGreg Lewis2004-09-091-1/+1
| | | | | | | | | | most recent update. Forgotten by: glewis Approved by: portmgr (marcus) Notes: svn path=/head/; revision=118139
* . java/javavmwrapper now uses JAVALIBDIR rather than JAVAJARDIR, so modifyGreg Lewis2004-09-031-1/+1
| | | | | | | a comment to that effect. Notes: svn path=/head/; revision=118048
* . Rope in hq as a co-maintainer since he wrote most of the current versionGreg Lewis2004-09-031-1/+1
| | | | | | | | | of this file. Approved by: hq Notes: svn path=/head/; revision=118002
* - Fix missing build dependency on devel/jikes (Jikes is effectively used forHerve Quiroz2004-09-021-22/+39
| | | | | | | | | | | | | | building the port but not added to BUILD_DEPENDS) - Use ${VAR:U} to test YES/NO values a more simple way - Refactor: Jikes now has its own sub-stages (error-handling and support) together in Stage 6 - New variable to be used by porters (and used internally by bsd.java.mk), HAVE_JIKES Approved by: glewis (mentor) Notes: svn path=/head/; revision=117936
* . Take maintainership. Ernst doesn't currently have time and I've beenGreg Lewis2004-09-021-1/+9
| | | | | | | | | | | | performing all of the recent changes. . Add to the header comment to document JAVASHAREDIR, JAVAJARDIR and JAVALIBDIR. . Add a definition for JAVALIBDIR. This is where other ports have installed their JAR files (a port should install in JAVAJARDIR but look for other JARs in JAVALIBDIR). Notes: svn path=/head/; revision=117890
* . Add a USE_ANT variable with that provides a simple way to build aGreg Lewis2004-08-021-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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). Notes: svn path=/head/; revision=115312
* . Align some .endif with their corresponding .if.Greg Lewis2004-07-271-3/+3
| | | | Notes: svn path=/head/; revision=114841
* . Add a comment that the javavmwrapper port will need updating ifGreg Lewis2004-07-121-0/+2
| | | | | | | ${JAVAJARDIR} is changed. Notes: svn path=/head/; revision=113489
* . Reapply the changes of PR/61351 (by linimon) to bsd.java.mk 2.0. TheseGreg Lewis2004-07-011-16/+16
| | | | | | | | | | | got spammed in the update to bsd.java.mk 2.0. They replace .BEGIN blocks with check-makevars:: targets. PR: 68516 Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Notes: svn path=/head/; revision=112704
* . Add appropriate definitions for JAVASHAREDIR and JAVAJARDIR toGreg Lewis2004-06-291-16/+20
| | | | | | | | | | | | PLIST_SUB. . Define java utility variables such as JAVA, JAVAC, JAVAH, APPLETVIEWER, etc. conditionally (?=) rather than explicitly (=). This is in line with both bsd.port.mk and the earlier version of bsd.java.mk. Reviewed by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Notes: svn path=/head/; revision=112564
* . Switched stage 6 and 7 so JAVAC is no longer empty when not using jikesGreg Lewis2004-06-091-35/+35
| | | | | | | | | | | . Added '-bootclasspath ${JAVA_CLASSES}' to the command-line for JAVAC when jikes is used as a substitute for javac. PR: 66349 Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Notes: svn path=/head/; revision=111170
* . Remove parentheses around the comparison of ${OSVERSION}. This is inGreg Lewis2004-04-191-2/+2
| | | | | | | | | | line with bsd.port.mk and prevents errors when ${OSVERSION} is (somehow) undefined. Problem report from: Thomas Abthorpe <thomas@stthomas.stthomasanglican.org> Notes: svn path=/head/; revision=107601
* Many fixes to the new bsd.java.mk, including:Greg Lewis2004-04-161-363/+268
| | | | | | | | | | | | | | | . Make the USE_JIKES setting to actually work. . Simplified backwards compatibility with the old bsd.java.mk. . Allowed java dependency selection with JAVA_PREFERRED_PORTS. . More error checking on variable settings. . Allowed USE_JAVA=yes to work without specifying a version. . Expanded the meta-info for the individual ports so the full version is now available, among other things. Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Notes: svn path=/head/; revision=107239
* . Document the variables used/set in the header comment.Greg Lewis2004-04-051-0/+83
| | | | | | | | PR: 65211 Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Notes: svn path=/head/; revision=106253
* . Fix an indentation bogon.Greg Lewis2004-04-051-82/+82
| | | | | | | | | | | | | | . Use the appropriate command variable (e.g. ${SED}) rather than the raw command itself. Most of the files in Mk appear to do this, although there are some exceptions. Certainly bsd.port.mk does. The one exception is uniq, for which there isn't yet a defined variable. PR: 65210 Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Notes: svn path=/head/; revision=106252
* . Correct spelling of "BSD Java Porting Team".Greg Lewis2004-04-051-1/+1
| | | | Notes: svn path=/head/; revision=106213
* . Allow ports to defined JAVA_EXTRACT when they want an explicitGreg Lewis2004-04-051-1/+6
| | | | | | | | | | EXTRACT_DEPENDS for java (and not necessarily a BUILD_DEPENDS or RUN_DEPENDS). Result of a problem report from: kris Notes: svn path=/head/; revision=106211
* Bring in the new bsd.java.mk 2.0.Greg Lewis2004-04-031-345/+325
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=105998
* Fixed an incorrect comment.Ernst de Haan2004-01-231-2/+1
| | | | | | | | Requested by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> PR: 61741 Notes: svn path=/head/; revision=98868
* Here come the patches!Joe Marcus Clarke2004-01-201-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ghostscript knobs [1] * Add per-port persistent build options with a menu-driven front-end [2] * Allow porters to override the message generated when do-configure fails [3] * Add patch to obviate many pkg-plist files [4] * Fix the PKG_DBDIR comment [5] * Make ports framework more robust with regard to make index [6] * Add new command macros to bsd.port.mk [7] * Remove direct command use from bsd.port.mk [8] * Make the ports system respect WITHOUT_CPU_CFLAGS [9] * Break the SDL code out into bsd.sdl.mk [10] * Add working support for USE_SIZE [11] * Fix RANDOMIZE_MASTER_SITES on -CURRENT [12] * Convert some spaces to tabs [13] * Add new physcial categories accessibility and x11-themes [14] * Speed up GNU configure scripts [15] * Remove "//" from MLINKS items in PLISTs and fix make -s install and make -s deinstall [16] * Be more specific about looking for files in distinfo [17] * Add new run-autotools target, and resort configure targets [18] * Make CONFLICTS compare prefix for installed packages and PREFIX [19] * Change directory to ${.CURDIR} before running certain make commands [20] * When INSTALL_AS_USER is set, run ldconfig with failures ignored [21] * Speed up the security check phase [22] * Fix some corner cases in the PORTDOCS code [23] * Add a new DEPRECATED macro [24] * Make INDEX breakage more informative [25] Look for a full write-up to follow on ports@ and ports-developers@. PR: 36112 [1] 59909 [4] 61351 [6] 59058 [7] 59058 [8] 59493 [9] 55494 [10] 59058 [11] 59315 [12] 59058 [13] 59811 [15] 59058 [16] 59058 [17] 60882 [18] 58149 [19] 59058 [20] 61133 [21] 55331 [22] 59070 [23] 59362 [24] 59626 [25] Submitted by: linimon [1] eivind [2] marcus [3] trevor [4] gerald [5] linimon [6] eik [7] eik [8] jeh [9] edwin [10] eik [11] Sergey Matveychuk <sem@ciam.ru> [12] eik [13] trevor gnome [14] adamw [15] eik [16] eik [17] edwin [18] clement [19] eik [20] edwin lev [21] Eugene M. Kim <ab@astralblue.com> [22] eik [23] linimon [24] eik [25] Notes: svn path=/head/; revision=98634
* Fixed bug. If a Linux 1.4 JDK would have been installed, itErnst de Haan2003-12-151-4/+7
| | | | | | | | | | | | | | | | would not have been picked up if USE_JAVA was set to "1.3+". The behaviour is now as follows if USE_JAVA is set to "1.3+": - If the setting is 1.3+, then use an already installed 1.3 or 1.4 JDK. If there is no such JDK, then set USE_JAVA to 1.3. The FreeBSD JDK 1.4 is preferred over all other JDK's. Noticed by: pav Notes: svn path=/head/; revision=95846
* . Note some of the JDKs are now 1.4.2 rather than 1.4.1 (the native oneGreg Lewis2003-11-111-7/+7
| | | | | | | was updated today in particular). Notes: svn path=/head/; revision=93756
* . Add support for the new diablo-jdk13 port. This will be the defaultGreg Lewis2003-09-031-11/+33
| | | | | | | | | JDK 1.3 port for any 1.3 dependencies. Approved by: znerd Notes: svn path=/head/; revision=88448
* Sun JDK 1.4 for Linux is now 1.4.2, not 1.4.1.Ernst de Haan2003-07-181-1/+1
| | | | Notes: svn path=/head/; revision=85140
* . Remove an erroneous check that limited USE_JAVA to the form X.Y+. TheGreg Lewis2003-05-011-5/+0
| | | | | | | | | | form X.Y is also allowed. A similar check is performed later in the file which will catch bogus versions of both forms. Reviewed by: znerd Notes: svn path=/head/; revision=79952
* Bad idea to have cvsup/conflict reminder about not-committed changes, but...Alexey Zelkin2003-04-161-26/+85
| | | | | | | | | complete previous commit by adding support of Blackdown and IBM 1.4.1 JDKs (existing in ports tree for long time), add support for Sun JDK 1.2.2 and fix/update comments appropriately to this and previous Maxim's commits. Notes: svn path=/head/; revision=79091
* Add support for native JDK 1.4.1 port.Maxim Sobolev2003-04-151-6/+25
| | | | Notes: svn path=/head/; revision=79020
* Defining JAVASHAREDIR and JAVAJARDIR. If they're already set,Ernst de Haan2002-11-181-0/+4
| | | | | | | | | | | they will not be overridden. Reviewed by: freebsd-java Approved by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Dave Glowacki <dglo@hyde.ssec.wisc.edu> Notes: svn path=/head/; revision=70404
* Only using Jikes if NO_BUILD is not set.Ernst de Haan2002-11-141-1/+1
| | | | | | | Requested by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Notes: svn path=/head/; revision=70117
* Fixed support for Blackdown JDK 1.3.x.Ernst de Haan2002-10-141-0/+2
| | | | | | | Submitted by: Seamus Venasse <Seamus.Venasse@polaris.ca> Notes: svn path=/head/; revision=68052
* Now supports the Sun JDK 1.4.1 for Linux instead of 1.4.0.Ernst de Haan2002-09-171-4/+4
| | | | Notes: svn path=/head/; revision=66493
* Fixed support for Blackdown JDK 1.3 for Linux.Ernst de Haan2002-09-171-0/+1
| | | | | | | Submitted by: Seamus Venasse <Seamus.Venasse@gov.yk.ca> Notes: svn path=/head/; revision=66492
* Again changed the order within some lists for estetical reasons.Ernst de Haan2002-08-121-10/+10
| | | | Notes: svn path=/head/; revision=64420
* Added Blackdown JDK 1.4.1 for Linux.Ernst de Haan2002-08-121-0/+1
| | | | | | | See also: http://www.blackdown.org/java-linux/java2-status/jdk1.4-status.html Notes: svn path=/head/; revision=64414
* Changed the order within a list for estetical reasons.Ernst de Haan2002-08-121-1/+1
| | | | Notes: svn path=/head/; revision=64413
* Changed the installation directory of the Sun JDK 1.4.xErnst de Haan2002-08-101-1/+1
| | | | | | | | | | | for Linux from linux-sun-jdk1.4.0.01 to linux-sun-jdk1.4.0. This is more like the installation directories for the other JDK ports. PR: 41424 Notes: svn path=/head/; revision=64327
* Changed the installation directory of the Sun JDK 1.4.x for LinuxErnst de Haan2002-08-101-1/+1
| | | | | | | | | to linux-sun-jdk1.4.0.01. PR: 41424 Notes: svn path=/head/; revision=64326
* Changed the installation directory of the Sun JDK 1.3.x for Linux toErnst de Haan2002-08-101-1/+1
| | | | | | | | | linux-sun-jdk1.3.1. PR: 41424 Notes: svn path=/head/; revision=64324
* Now correctly looks for the Blackdown JDK 1.2 for Linux inErnst de Haan2002-08-101-1/+1
| | | | | | | ${LOCALBASE}/linux-blackdown-jdk1.2.2. Notes: svn path=/head/; revision=64321
* Fixed support for the Sun JDK 1.2.2 for Linux. The installationErnst de Haan2002-08-071-1/+1
| | | | | | | | | directory for that JDK was changed on June 13. See: http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/linux-sun-jdk12/Makefile?rev=1.7&content-type=text/x-cvsweb-markup Notes: svn path=/head/; revision=64177
* Changed the installation directory of the Sun JDK 1.4 for LinuxErnst de Haan2002-06-251-1/+1
| | | | | | | | | to ${LOCALBASE}/linux-jdk1.4.0.01. Noticed by: phantom Notes: svn path=/head/; revision=61945
* Removed step 2 which used to check that the JDK ports actuallyErnst de Haan2002-06-181-56/+12
| | | | | | | | | exists. This unbreaks porteasy. Reported by: des Notes: svn path=/head/; revision=61512
* Matches new names and locations of JDK ports.Ernst de Haan2002-06-121-18/+62
| | | | | | | Now also checks that all the JDK ports actually exist. Notes: svn path=/head/; revision=61173
* Fixed typo.Ernst de Haan2002-05-131-1/+1
| | | | | | | | Noticed by: Alex Dupre <sysadmin@alexdupre.com> PR: 37933 Notes: svn path=/head/; revision=59005
* Blackdown JDK 1.3.1 for Linux added.Ernst de Haan2002-05-091-5/+22
| | | | | | | | Requested by: Tim Schafer <tim@agship.com> PR: 37875 Notes: svn path=/head/; revision=58796