Commit graph

46 commits

Author SHA1 Message Date
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jmmv
da5adc365e Convert the Java related packages to use the alternatives system. To do
this, we only need some simple logic in java-env.mk to automatically
generate an ALTERNATIVES file for us.

There are two exceptions, though: fastjar and jikes (pointed out by tv@),
which do not use this file; they have to be handled manually.

Bump PKGREVISION for all affected packages.

While doing this, remove the java-wrapper package, obsoleted by the new
functionality provided by pkg_alternatives.
2005-01-30 23:18:37 +00:00
tv
85570525d2 Fix the "jre" symlink in the various Sun-based JDK packages; it was wrong
for quite some time after the ${PREFIX}/java migration.  Since pkgsrc now
has proper symlink handling in pkg_install, this can now be a simple
PLIST entry rather than an @exec/@unexec pair.
2004-10-11 14:07:36 +00:00
tv
4819d1527d Add java-env.mk support; bump PKGREVISION. 2004-07-29 00:50:59 +00:00
wiz
0e75df64ca Add -f to mv for non-root users. 2004-07-02 13:42:39 +00:00
wiz
d68ab92e25 To be on the safe side, bump PKGREVISION for the RPEFIX change. 2004-07-01 10:57:05 +00:00
wiz
e3f07cd841 Make bl3-ready -- do not set PREFIX, use paths relative to "real" PREFIX. 2004-07-01 00:00:43 +00:00
wiz
a09c1eb033 Fix (de)installation by removing a .orig file
from the install dir.
2004-02-23 22:10:48 +00:00
jschauma
cc0621ca9f Put these packages into a new pseudo-category called 'java'. 2003-08-23 15:13:56 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jlam
30d00c3cf8 Bump PKGREVISIONs for:
lang/blackdown-jdk13
	lang/jdk
	lang/sun-jdk13
	lang/sun-jdk14

Create a symlink from ${JAVA_HOME} to ${JAVA_HOME}/jre so that the proper
JDK hierarchy is found.  This addresses PR 20269 by Todd Vierling
<tv at pobox dot com>.  This makes misc/openoffice-linux find the Java2
installation again.
2003-02-11 04:23:14 +00:00
jlam
19173c8ac7 Bump PKGREVISION of lang/jdk to 3: we use bsd.pkg.install.mk to handle
copying of config files and handling of directories.
2003-02-03 23:48:07 +00:00
jlam
de232f34b8 * Use buildlink2.
* Install with JAVA_HOME=${LOCALBASE}/java/jdk-1.1.8 instead of into
  ${LOCALBASE}/java/${PKGNAME}, which lead to the jdk installation moving
  even when the PKGREVISION is bumped.
* Cosmetic updates to the package Makefile.
* Sort the PLIST.
2002-10-13 07:48:52 +00:00
schmonz
4ee13aec82 Entab. 2002-07-28 12:38:50 +00:00
jschauma
95e5641aa6 We allow several JDKs/JREs to coexist, installing them in separate
subdirectories under ${PREFIX}/java/ -- Change II of many.

Thus, install this jdk in ${PREFIX}/java/jdk-1.1.8, remove
CONFLICTS with other JDKs/JREs and bump PKGREVISION.
2002-07-27 21:32:48 +00:00
abs
c90ffd0d11 If we find ourself on Linux-*-i686, deal with it. 2002-03-01 01:58:35 +00:00
abs
74dbc5ed42 Enable for Linux-*-i386 2001-05-17 15:03:00 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
agc
96f3e3ed34 Fix typo 2001-02-09 17:59:46 +00:00
agc
ac6a7d3a2b + Create the symlinks relative to the cwd, so that we don't get erroneous
pathnames in there.

+ Treat libXm separately from the rest of the libs, since (a) it needs a
separate "intermediate" symlink as well, even for ELF libs, and (b) it
uses a completely different version number from the rest of the libs,
for obvious reasons
2001-02-09 17:48:39 +00:00
agc
5aaa40aeb1 On ELF systems, install symlinks to shared libs as well as the libs
themselves, in sync with the new PLIST style. Not tested on a.out
i386 platform, as I don't have one to hand.

Should address PR 12044, from Chris Jones.
2001-02-09 17:02:46 +00:00
agc
87e5899694 Add jdk licence to the licenses/ directory, so that "make show-license"
in pkgsrc/lang/jdk DTRT
Remove duplicate inclusion of bsd.prefs.mk in in jdk package Makefile
2001-02-09 15:03:06 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
tv
837e0998c2 Add needed CONFLICTS. 2000-11-18 00:40:50 +00:00
jlam
776b48992d Need CHECK_SHLIBS=no. 2000-09-12 11:56:24 +00:00
hubertf
402899809a Replace MIRROR_DISTFILES and NO_CDROM with the more descriptive and
more fine-grained NO_{BIN,SRC}_ON_{FTP,CDROM} definitions.

MIRROR_DISTFILES and NO_CDROM are now dead.
2000-08-18 22:46:29 +00:00
kim
76918fb990 Using ${VERSION} instead of a hard-coded 1.1.8
in the shared library hack feels safer.
2000-03-16 18:51:07 +00:00
jwise
08e833403e Update this to use ELF version of jdk-1.1.8 distribution on ELFin i386
systems.  Many thanks to Scott Bartram/OrionSoft for providing this
(and the a.out version)
2000-02-01 02:21:54 +00:00
jwise
224a006405 Two nits with the show-shlib-type target:
1.) protect definition of show-shlib-type with `if !target(show-shlib-type)'
    so that it can be overriden in a pkg makefile

2.) move the definition in lang/jdk/Makefile before the include of bsd.pkg.mk
    to trigger this.

Without these changes, show-shlib-type was `ELF\na.out' on i386/ELF, so
it was still treated as ELF.

lang/jdk now works on i386/ELF  (yay!).


While there, fix JAVA_HOME default to be JDK_HOME if PKG_JVM is jdk
and JDK_HOME is defined.
2000-01-15 02:08:03 +00:00
jwise
a09b1ce595 Set NO_MTREE, since we modify PREFIX, and don't want all sorts of empty
directories created under JAVA_HOME.

Is there a cleaner way to do this?
2000-01-13 20:13:38 +00:00
hubertf
035e1bcc79 update to JDK 1.1.18-rc1 2000-01-11 12:35:07 +00:00
wiz
edb7e62207 whitespace cleanup 2000-01-09 01:20:33 +00:00
hubertf
a74e7c8d27 Make this relocatable outside of $LOCALBASE/java by setting JDK_HOME. 1999-12-10 03:55:22 +00:00
hubertf
edc2cddf33 add a bunch of NO_CDROM where appropriate 1999-11-23 16:26:12 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
frueauf
712e7a69a3 Update jdk from beta2 to 1.1.6. This one should also have all necessary
includes.
1999-02-05 16:33:34 +00:00
jwise
58d4cb0d4e make this conflict with jdk-1.1.5b1 1998-12-17 21:45:13 +00:00
frueauf
2c16d776e2 Update jdk to 1.1.6b2. This is the latest native jdk for NetBSD/i386. 1998-12-03 23:17:56 +00:00
tsarna
26f088cc59 better HOMEPAGE, remove from DESCR 1998-08-26 14:52:39 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
4724b8ab17 Addition of version 1.1.5b1 of the Java(TM) Development Kit to the
packages collection.  This was ported by Simon Gerraty, uses Sun's
green threads implementation, and is based on the FreeBSD port.
Currently, this is only for the i386 architecture.
1998-06-23 16:42:24 +00:00