Date: Thu, 10 Oct 2002 14:33:17 +0200 From: Simon 'corecode' Schubert <corecode@corecode.ath.cx> To: Kris Kennaway <kris@obsecurity.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010143317.0d0c9a58.corecode>