Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 14:19:24 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alejandro Pulver <alejandro@varnet.biz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Creating port with options
Message-ID:  <20050411211923.GA9149@xor.obsecurity.org>
In-Reply-To: <20050411175526.54ffd260@ale.varnet.bsd>
References:  <20050411175526.54ffd260@ale.varnet.bsd>

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

--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 11, 2005 at 05:55:26PM -0300, Alejandro Pulver wrote:
> Hello,
>=20
> I am creating a port of the Core War system pMARS (the existent port is
> version 0.8, lastest is 0.9.2), and I will allow the user to choose the
> GUI and features. I have some questions:
>=20
> How can I "document" the options for the user?
>=20
> So that typing "make" will not do anything unless it has the required
> options (or it will use the defaults but first shows the available
> options). Will be possible for the user to store the configuration
> somwehere? Wich is the best way to show the user the options (before
> the building process)?
>=20
> P.S.: how do ports show the sysinstall-like dialog to choose options?

With the OPTIONS variable; please see the porters' handbook and
bsd.port.mk.

Kris

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCWunbWry0BWjoQKURAiQqAKD+FMmUHc4s33oDkxm1X7JjlZ1YwwCfULhk
GwDCgif7S+ASFyHqA/ylyAQ=
=vT4B
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--



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