From owner-freebsd-ports Thu Oct 10 5:34:22 2002 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 D81CE37B401 for ; Thu, 10 Oct 2002 05:34:20 -0700 (PDT) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1A9F43E9E for ; Thu, 10 Oct 2002 05:34:19 -0700 (PDT) (envelope-from corecode@corecode.ath.cx) Received: from fwd01.sul.t-online.de by mailout03.sul.t-online.com with smtp id 17zcVw-0004Nr-01; Thu, 10 Oct 2002 14:34:04 +0200 Received: from pride.uni.stoert.net (320050403952-0001@[217.82.54.12]) by fmrl01.sul.t-online.com with esmtp id 17zcVn-1CG1r6C; Thu, 10 Oct 2002 14:33:55 +0200 Received: from wobbler.uni.stoert.net (wobbler.uni.stoert.net [10.150.180.180]) by pride.uni.stoert.net (Postfix) with ESMTP id D7A4A12E5F7; Thu, 10 Oct 2002 14:33:45 +0200 (CEST) Received: by wobbler.uni.stoert.net (Postfix, from userid 1000) id C38F9154; Thu, 10 Oct 2002 14:33:37 +0200 (CEST) Date: Thu, 10 Oct 2002 14:33:17 +0200 From: Simon 'corecode' Schubert To: Kris Kennaway Cc: adam@vectors.cx, ports@FreeBSD.ORG Subject: Re: Updated dialog-based config patches Message-Id: <20021010143317.0d0c9a58.corecode@corecode.ath.cx> In-Reply-To: <20021008004743.GA32604@xor.obsecurity.org> References: <20020930062804.GA50001@xor.obsecurity.org> <20021006202120.GA96047@xor.obsecurity.org> <20021008003309.GD81796@vectors.cx> <20021008004743.GA32604@xor.obsecurity.org> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; ) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.frPI/A_o2JSoqC" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.frPI/A_o2JSoqC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Obviously Kris Kennaway formed the bits: > > also, it would be nice to have some of the following line: > > ${SH} -c "${DIALOG} --checklist \"Options for ${PORTNAME} > > ${PORTVERSION}\" 21 70 15 $${DEFOPTIONS} 2> $${TMPOPTIONSFILE}"; put > > into a variable, like OPTIONS_FMT or somesuch. that way, if you > > choose to define DIALOG as, for example, xdialog, you can pass > > different sizing parameters. > Do you mean the following? > > OPTIONS_FMT?=--checklist \"Options for ${PORTNAME} ${PORTVERSION}\" 21 > 70 15 i'd like to see the dialog-handling stuff in a shell script located in /usr/ports/Tools, being called with generic arguments so that people can easily use 3rd party option chosers (imagine Tk, Gtk or Qt), like this: OPTIONS_CHOSER?=${PORTSDIR}/Tools/dialog_options.sh and it being called with ${OPTIONS_CHOSER} ${PORTNAME} ${PORTVERSION} ${DEFOPTIONS} \ ${TMPOPTIONSFILE} and dialog_options.sh containing the handling now containted in bsd.port.mk cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.frPI/A_o2JSoqC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (NetBSD) iD8DBQE9pXOYr5S+dk6z85oRAsK1AKCCCcIja5XSzUulZ0KNB3CCoIQPkgCfW9+u mVZ2Nh1jhfNoHrCvZ+Tzj44= =sBTU -----END PGP SIGNATURE----- --=.frPI/A_o2JSoqC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message