Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 17:08:10 +0100 (CET)
From:      Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
To:        Ernst de Haan <znerd@freebsd.org>
Cc:        Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>, <freebsd-java@freebsd.org>
Subject:   Re: [FYI] Recently added Jakarta Commons ports
Message-ID:  <20021114165419.T27492-100000@puget.esil.univ-mrs.fr>
In-Reply-To: <200211141629.34171.znerd@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ernst,

> JAVASHAREDIR -- ${PREFIX}/share/java
> JAVAJARDIR -- ${JAVASHAREDIR}/classes

vote +1

> And then move on to improve things step by step, slightly improving the
> whole thing ?

IMHO, next on the list: destination directory for apidocs, with full
PLIST_SUB support to lighten the pkg-plist files which tend to be huge.

> Could you be a bit more specific?

for example :

USE_ANT= {yes,no}
ANT_TARGET= {dist,apidocs,docs,jar...} (possibly multiple targets)

if USE_ANT==yes and there is no target do-build, then define the following
(which BTW is common to almost every java library at the time of
speacking) :

do-build:
	@cd ${WRKSRC} && ${ANT} ${ANT_TARGET}

[from current jakarta-commons-collections port]

Maybe later we could have something for INSTALL_APIDOCS which takes a
directory as only argument and put it right where it needs to be using
the now quite common "cp -r" or "find ... -exec mkdir/install..." (the
second is in my opinion a better/cleaner way of doing because it uses
INSTALL_MAN instead of cp).

Regards


-Herve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021114165419.T27492-100000>