Date: Mon, 18 Nov 2002 12:39:23 +0100 (CET) From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: Ernst de Haan <znerd@FreeBSD.ORG> Cc: freebsd-java@FreeBSD.ORG Subject: Ant integration in java ports Message-ID: <20021118123332.F31392-300000@puget.esil.univ-mrs.fr> In-Reply-To: <200211150905.23499.znerd@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
>
> Sounds good. Any patch suggestions for bsd.java.mk?
>
Here it is: attached bsd.java.mk.diff
As a working example I modified your jakarta-commons-collection port to
use it : attached Makefile.diff
Oh, and 5.0-RELEASE is coming soon so maybe we should commit it (as well
as modify the related ports) to have a clean FreeBSD-5.0 java ports tree.
Regards,
-Herve
[-- Attachment #2 --]
17,18d16
< BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/jakarta-ant
<
22c20
< ANT?= ${LOCALBASE}/bin/ant
---
> USE_ANT= YES
31,33d28
<
< do-build:
< @cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
[-- Attachment #3 --]
29a30
> # Stage 8: Define automatic targets if necessary
428a430,448
> . endif
>
> # Add ant to the dependencies (if necessary)
> . if defined(USE_ANT) && ( (${USE_ANT} == "YES") || (${USE_ANT} == "yes") )
> BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/jakarta-ant
> ANT?= ${LOCALBASE}/bin/ant
> . endif
>
>
> #-----------------------------------------------------------------------------
> # Stage 8: Define automatic targets if necessary
>
> # Add the ant automated build if USE_ANT is affirmative
> # Note: ANT_TARGET may be empty (if build.xml default target is suitable)
> . if defined(USE_ANT) && ( (${USE_ANT} == "YES") || (${USE_ANT} == "yes") )
> . if !target(do-build)
> do-build:
> @cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
> . endif
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021118123332.F31392-300000>
