From owner-freebsd-ports@FreeBSD.ORG Mon Apr 11 21:19:28 2005 Return-Path: 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 50AE316A4CE for ; Mon, 11 Apr 2005 21:19:28 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D2AA43D53 for ; Mon, 11 Apr 2005 21:19:28 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D818D514D6; Mon, 11 Apr 2005 14:19:25 -0700 (PDT) Date: Mon, 11 Apr 2005 14:19:24 -0700 From: Kris Kennaway To: Alejandro Pulver Message-ID: <20050411211923.GA9149@xor.obsecurity.org> References: <20050411175526.54ffd260@ale.varnet.bsd> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <20050411175526.54ffd260@ale.varnet.bsd> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: Creating port with options X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 21:19:28 -0000 --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--