From owner-freebsd-ports@FreeBSD.ORG Sat Aug 6 10:08:28 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46C8516A41F for ; Sat, 6 Aug 2005 10:08:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC7ED43D48 for ; Sat, 6 Aug 2005 10:08:26 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5EE36.dip.t-dialin.net [84.165.238.54]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j76A4D7S074193; Sat, 6 Aug 2005 12:04:24 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j76A7MGX075702; Sat, 6 Aug 2005 12:07:23 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 6 Aug 2005 12:07:22 +0200 From: Alexander Leidinger To: "Loren M. Lang" Message-ID: <20050806120722.0a0e47f1@Magellan.Leidinger.net> In-Reply-To: <20050805211319.GA18048@alzatex.com> References: <20050805211319.GA18048@alzatex.com> X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-ports@freebsd.org Subject: Re: Can Apache Ant autogerate pkg-list? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 10:08:28 -0000 On Fri, 5 Aug 2005 14:13:19 -0700 "Loren M. Lang" wrote: > I am porting a java app that uses apache-ant as it's build/install > framework. I am curious if there is a way to have the apache-ant > framework autogenerate the pkg-list file as it installs the package. Sorry to not answer your question, but as a general rule: If a port doesn't nearly completely change the plist based upon build-time options, the port should come with a static plist at commit-time. This allows to search for files without the need to install the port. If you're asking to autogenerate the plist from ant once to have a static plist at commit-time: Ideally the port is PREFIX clean, so run "PREFIX=/somewhere make clean install" and generate the filelist from there (that'S easy, since it will only contain the files of the port if all dependencies are already installed in the default locations). Bye, Alexander. -- There's no place like ~ http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7