From owner-freebsd-java Tue Aug 27 9:57: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AC1A37B400; Tue, 27 Aug 2002 09:57:00 -0700 (PDT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC61E43E4A; Tue, 27 Aug 2002 09:56:59 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17jjeD-0007BB-00; Tue, 27 Aug 2002 09:56:57 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Dave Glowacki , Ernst de Haan Subject: Re: Port/package guidelines (WAS: Please review: new Java Project docs) Date: Tue, 27 Aug 2002 12:57:14 -0400 User-Agent: KMail/1.4.2 Cc: Calvin Varney , freebsd-java@FreeBSD.ORG References: <200208271553.g7RFrtn26287@hyde.ssec.wisc.edu> In-Reply-To: <200208271553.g7RFrtn26287@hyde.ssec.wisc.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208271257.14970.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 27 August 2002 11:53am, Dave Glowacki wrote: > > I've just submitted PR ports/42086 to add the BUILD_DEPENDS line > to jakarta-oro, but since the last fix I submitted for this port > (ports/39112, a trivial 1 character change to fix a directory name) > has been sitting in the queue for 2.5 months, I'm not optimistic > about this one getting committed before the end of the year. > I hear ya. Seems like the ports tree is getting very backed up these days. > > Initial suggestion: > > > > o An Ant-based port sets USE_ANT=YES which is interpreted by > > bsd.java.mk. > > I'm assuming that this would automatically set up the > BUILD_DEPENDS and ANT variables? Dependencies would resolve in the build.xml (whether it's generated or static, we should probably have the option for doing both). The Makefile would resolve Ant if it's not already installed. > > So far I've only used build.xml files which were provided with ports. > Would a generated build.xml file override the supplied build.xml file > (which would seem to throw away a lot of work already done by the > original author) or would it only be generated if no build.xml file > existed? I suppose a third option would be to have the generated > build.xml file call the original build.xml file, but in that case > it would make more sense to have the port's Makefile call it and > cut out the middleman. > I would assume that a build.xml would only be generated if one wasn't there. By "original build.xml" I assume you mean one that is part of the port's downloaded, unpacked archive. I don't think we'd ever use those, unless it was strictly for compiling... otherwise it'll be missing everything else (the usual targets and correct destinations). > > It'd be nice if the ports-friendly build.xml could keep track of > what was installed, so it could generate all or part of the packing > list. This is a necessity for the 'deinstall' target. -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message