Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2005 12:07:22 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        "Loren M. Lang" <lorenl@alzatex.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Can Apache Ant autogerate pkg-list?
Message-ID:  <20050806120722.0a0e47f1@Magellan.Leidinger.net>
In-Reply-To: <20050805211319.GA18048@alzatex.com>
References:  <20050805211319.GA18048@alzatex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Aug 2005 14:13:19 -0700
"Loren M. Lang" <lorenl@alzatex.com> 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



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