Creating port with options
kris at obsecurity.org
Mon Apr 11 14:19:28 PDT 2005
On Mon, Apr 11, 2005 at 05:55:26PM -0300, Alejandro Pulver wrote:
> 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:
> How can I "document" the options for the user?
> 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)?
> P.S.: how do ports show the sysinstall-like dialog to choose options?
With the OPTIONS variable; please see the porters' handbook and
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050411/72339fba/attachment.bin
More information about the freebsd-ports