This document is a proposal for standardising directory locations for FreeBSD ports that install Java libraries.
This proposal is intended to be used as the guideline for changing
bsd.java.mk
(CVS).
Before that, it will need to be reviewed by at least the
java@FreeBSD.org and ports@FreeBSD.org mailing
lists.
This proposal should not conflict with hier(7).
A Java library is in this proposal defined as a Java archive that is primarily intended to be used by other Java programs. A Java library may include executable programs, but these are always secondary, like examples. Java Development Kits are excluded in this definition.
The following rules are suggested:
JAVAPREFIX is defined as
${PREFIX}/share/javaJAVALIBNAME is defined as
${PORTNAME}-${PORTVERSION}.${DOCSDIR}/${JAVALIBNAME}.${JAVAPREFIX}/javadoc/${JAVALIBNAME}/.javadoc is installed in the
documentation directory, that points to the Javadoc-generated API
documentation.${JAVAPREFIX}/classes/${JAVALIBNAME}/.${JAVAPREFIX}/examples/${JAVALIBNAME}/.