Commit graph

7 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
jmmv
77bcb02784 Let this file be included even if JAVA_WRAPPERS is empty; this was possible
before, but after the introduction of alternatives, a regression appeared.

This is useful for packages that install files inside ${PREFIX}/java so
that the directory is automatically removed when empty.

Problem exposed by sablevm-classpath as described in PR pkg/29643 by
Antoine Reilles.
2005-03-19 16:46:45 +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
jmmv
6dda30f393 Lets be pkgviews friendly: create the bin directory when installing wrappers. 2004-05-23 10:29:43 +00:00
jmmv
7aa73ae308 Let a package specify which is the real binary for each wrapper (by setting
JAVA_WRAPPER_BIN.<wrapper-name>), in case it differs from the default.
For example, sablevm does not install a 'java' program with that name, so
adding 'java' to JAVA_WRAPPERS couldn't DTRT.
2004-05-23 10:19:28 +00:00
jmmv
37aec7aa72 Initial addition.
This file provides a framework to easily create wrappers to run Java
environments (either compilers or virtual machines) installed under
${PREFIX}/java/<implementation>.  These wrappers hide the complexity
of having to modify the path, unlimit resources or to set a correct
CLASSPATH for the program to run.
2004-05-22 21:13:17 +00:00