summaryrefslogtreecommitdiff
path: root/Mk/bsd.java.mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for Java 1.1 and 1.2 in the ports treeHerve Quiroz2007-10-281-36/+12
| | | | | | | | | | | | | | | To ease upgrade, bsd.java.mk now substitutes JAVA_VERSION values of 1.1+ and 1.2+ as 1.3+. The related JDK ports that have been marked as deprecated and scheduled for removal some time ago are now safe to be removed. The patch has been tested successfully on the cluster. PR: 116724 Notes: svn path=/head/; revision=202220
* . Remove a check for OSVERSION >= 500000 since this is now true for allGreg Lewis2007-10-071-1/+1
| | | | | | | | | | supported versions of FreeBSD. PR: 116890 Submitted by: edwin Notes: svn path=/head/; revision=201050
* . Enforce NO_JIKES when 1.6 is required as well.Greg Lewis2007-08-051-2/+3
| | | | Notes: svn path=/head/; revision=197151
* . Support for the JDK 1.6 ports.Greg Lewis2007-08-051-2/+8
| | | | | | | Submitted by: jkim Notes: svn path=/head/; revision=197149
* . Remove references to deprecated, forbidden and expired port of theGreg Lewis2007-06-061-3/+0
| | | | | | | | | | Linux Blackdown 1.3 JDK. PR: 113268 Submitted by: gabor@ Notes: svn path=/head/; revision=192931
* * Refine some comments about Linux emulation [1]Mark Linimon2007-03-061-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fix 'make search' with non-default ${PORTSDIR} [2] * Fix typo in USE_LDCONFIG32 message [3] * Allow USE_PHP after inclusion of bsd.port.pre.mk [4] * Document NO_LDCONFIG_MTREE [5] * Update/enhance description of INSTALLS_SHLIB and USE_LDCONFIG [6] * Remove obsolete code in bsd.port.mk dealing with 4.X and other, even older, releases [7] * Remove references to obsolete ports from bsd.java.mk [8] PR: 105883 [1], 105917 [2], 106195 [3], 106557 [4], 108738 [5], 108739 [6], 108782 [7], 103357 [8] Submitted by: bsam [1], shaun [2], edwin [3], ale [4], gerald [5] [6], linimon [7], kris [7], gabor [4] Notes: svn path=/head/; revision=186638
* bsd.port.mkPav Lucistnik2007-01-311-58/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [1] Remove DEPENDS [2] Add a new pkg-plist keyword @stopdaemon [3] Provide rc.subr script suffix as RC_SUBR_SUFFIX [4] Add USE_CDRTOOLS to abstract dependency on sysutils/cdrtool[-cjk] [5] Add DOS2UNIX_REGEX, allowing to pass a filename regex to CRLF replacement routine [6] Support partially translated manpages in MAN* variables [7] Fix USE_LDCONFIG on ports with @cwd in pkg-plist [8] Remove support for XFree86 3.X [9] Add user settable WITH_DEBUG flag that turns on -g in CFLAGS and resets STRIP [9] Fix `make install' to refuse overwriting of older version of the port [10] New category ports-mgmt [11] New category gnustep [12] Removed category picobsd bsd.java.mk [13] Remove deprecated syntax bsd.tcl.mk [14] Provide TCL_VER when USE_TK[_BUILD] is defined. Fixes cad/netgen ports/Makefile [15] Make csup default `make update' method on FreeBSD 6.2 and up PR: ports/99742 [1], ports/93373 [2], ports/100915 [3], ports/105161 [4], ports/106029 [5], ports/106252 [6], ports/106235 [7], ports/100939 [9], ports/97507 [10], ports/103931 [11], ports/106921 [12], ports/104136 [13], ports/105215 [15] Submitted by: sem [1] [2], Matthias Andree <matthias.andree@gmx.de> [3], nork [4], pav [5] [7] [14], Nick Barkas <snb@threerings.net> [6], flz [8], gabor [9], shaun [10], erwin [12], hq [13], Gurkan Sengun <gurkan@linuks.mine.nu> [11] Notes: svn path=/head/; revision=183768
* . Add an entry for the linux-sun-jdk15 port.Greg Lewis2007-01-221-1/+4
| | | | | | | | PR: 108130 Submitted by: Milon Papezik Notes: svn path=/head/; revision=183020
* Convert whitespaces to tabsHerve Quiroz2006-10-071-6/+6
| | | | | | | | PR: 104012 Submitted by: edwin Notes: svn path=/head/; revision=174848
* . Prefer diablo-jdk15 on 5.x/i386, 6.x/i386 and 6.x/amd64 and jdk15Greg Lewis2006-09-141-3/+2
| | | | | | | | | | everywhere else. Reviewed by: hq Suggested by: kris Notes: svn path=/head/; revision=173079
* . Remove the entry for the defunct diablo-jdk13 port.Greg Lewis2006-04-241-3/+0
| | | | Notes: svn path=/head/; revision=160340
* . Add an entry for the new Diablo Caffe (JDK) 1.5.0 binary.Greg Lewis2006-04-071-2/+7
| | | | | | | | | | | | . Make Diablo Caffe 1.5.0 the default JDK for all the versions/architecture that its available for. . Make the standard jdk15 the default on FreeBSD 4.x as this should now be stable with the release of patchset 3. Reviewed by: hq Notes: svn path=/head/; revision=158994
* * Add bsd.database.mk [1]Clement Laforet2005-11-081-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move out from bsd.port.mk USE_MYSQL and USE_PGSQL. - add support for Berkley DB and SQLite (via USE_BDB and USE_SQLITE knobs). * Espace '+' in make search [2] * Add "makepatch" target to simplify creation of patches during porting [3] * Replace deprecated MACHINE_ARCH with ARCH [4] * Remove support of OpenLDAP 2.1 [5] * Add bsd.tcl.mk [6] It introduces USE_TCL/USE_TCL_BUILD knobs to support various version of tcl (8.0 -> 8.4) * Fix cosmetic bugs in security-check target [7] * Add support for INDEX-7 and above (up to INDEX-9 actually) [8] * Add "package-recursive" to bsd.port.subdir.mk [9] * Remove check for FreeBSD version < 460101 [10] * New category: net-im [11] * Add .desktop file facilities It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs [12] * Add SHA256 support to "*checksum" targets [13] * Fix USE_PYTHON with OPTIONS [14] * Force NO_LINT to MAKE_ENV to avoid library breaks [15] * Fix typo: s/RC_ORDER/USE_RCORDER/g [16] * Add support for PostgreSQL 8.1 [17] * Add bsd.apache.mk USE_APACHE knob enhancements [18] PR: ports/85695 [1], ports/85669 [2], ports/85488 [3], ports/84489 [4], ports/83835 [5], ports/83718 [6], ports/83716 [7], ports/83710 [8], ports/82753 [9], ports/82138 [10], ports/81206 [11], ports/79509 [12], ports/79123 [13], ports/74866 [14], ports/85490 [15], ports/83514 [16], ports/88466 [17] Submitted by: vsevolod [1] [6], Ricardo Alves dos Reis <ricardo_bsd@yahoo.com.br> [2], markm [3] [15], obrien [4], krion [5] [8] , Petr Rehor <prehor@gmail.com> [7], clement [8] [18], jhs@berklix.org [9], edwin [10] [13], pav [11], jylefort [12], mnag [14], leeym [16], girgen [17] Notes: svn path=/head/; revision=147554
* Disable the use of Jikes when using Java 1.5 because the current stable versionHerve Quiroz2005-11-031-0/+5
| | | | | | | | | | | | | | | | | | of Jikes not does support all of Java 1.5 extensions. Porters may still enforce the use of Jikes with Java 1.5 by explicitely setting: USE_JIKES= yes This fix is a temporary one and is bound to be removed whenever Java 1.5 gets fully supported in Jikes. Reported by: lawrance Approved by: glewis (co-maintainer) Notes: svn path=/head/; revision=147145
* . Prefer jdk15 over jdk14 on amd64 since the latter isn't supported onGreg Lewis2005-10-041-0/+4
| | | | | | | that architecture. Notes: svn path=/head/; revision=144176
* Fix typo in header documentationHerve Quiroz2005-07-151-1/+1
| | | | | | | | PR: 83498 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> Notes: svn path=/head/; revision=139263
* Add JAVA_VERSION, JAVA_OS and JAVA_VENDOR to SUB_LIST.Herve Quiroz2005-02-271-0/+9
| | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=129936
* Fix a typo in header documentationHerve Quiroz2005-02-251-1/+1
| | | | | | | Submitted by: vs Notes: svn path=/head/; revision=129752
* Fix a typoHerve Quiroz2005-02-101-1/+1
| | | | | | | | PR: 77330 Submitted by: Conrad J. Sabatier <conrads@cox.net> Notes: svn path=/head/; revision=128440
* Add minimal support for jdk 1.5Alexey Zelkin2005-01-201-3/+6
| | | | Notes: svn path=/head/; revision=126911
* 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