From owner-freebsd-ports Sat Aug 10 7:13: 5 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 837F237B400; Sat, 10 Aug 2002 07:13:01 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A68543E70; Sat, 10 Aug 2002 07:13:00 -0700 (PDT) (envelope-from corecode@corecode.ath.cx) Received: from fwd02.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17dWzD-0000PT-04; Sat, 10 Aug 2002 16:12:59 +0200 Received: from spirit.zuhause.stoert.net (320050403952-0001@[80.128.111.90]) by fmrl02.sul.t-online.com with esmtp id 17dWz0-1w9GtsC; Sat, 10 Aug 2002 16:12:46 +0200 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g7AECjl98783; Sat, 10 Aug 2002 16:12:45 +0200 (CEST) (envelope-from corecode@corecode.ath.cx) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.5/8.12.5) with ESMTP id g7AEBm2W002790; Sat, 10 Aug 2002 16:11:48 +0200 (CEST) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.5/8.12.5/Submit) id g7AEBmvK002789; Sat, 10 Aug 2002 16:11:48 +0200 (CEST) (envelope-from corecode) Date: Sat, 10 Aug 2002 16:11:39 +0200 From: "Simon 'corecode' Schubert" To: ports@freebsd.org Cc: portmgr@freebsd.org Subject: alpha proposal: port options Message-Id: <20020810161139.28c57aae.corecode@corecode.ath.cx> X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="=.dG,sI?d/avp9Mq" 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 --=.dG,sI?d/avp9Mq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hi porters & mgrs! as i promised some weeks ago, here it is: the port options proposal: web repo: http://corecode.ath.cx/cgi-bin/cvsweb.cgi/ports/options/ tarball: http://corecode.ath.cx/cgi-bin/cvsweb.cgi/ports/options/options.tar.gz?tarball=1 the existing stuff is somehow minimal, as it only supports binay (yes/no) options and option groups. more to come, the base is finished. i'd like to hear comments. but please no bikeshedding - if you think the file format is poo, implement a better one and provide patches, then we can agree on one. for the bsd.port.mk integration... i need some help with that because i'm not really a makefile guru. i got some patches here to start with but at the moment it doesn't work, please contact me direct on that issue. for all others to play with it: invoke the program with: portopt [-f | -n] [-s savedopt] [-o destmk] optfile1 [optfile2 ...] -f force dialog -n never show dialog. read saved options (if any) and write makefile. -s saved options file. being read and written -o destination makefile optfile(s) are where the options are read from. the first is the main options file, supplementary can be specified to add features. if this seems broken design, please tell me. included are 2 option files: pkg-options is a test file using the options my mail/sylpheed-claws port provides. pkg-options2 is a additional file which could be added by bsd.gnome.mk (for example) to automatically add gnome support. thanks for reading, please supply me with lots of feedback. simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.dG,sI?d/avp9Mq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9VR8jr5S+dk6z85oRAhHRAKCD/5xvtmBVwESUjU5sBkexqvvjlACfW3tY gxWl5DiRIBL01CxikWsrR1k= =1Zec -----END PGP SIGNATURE----- --=.dG,sI?d/avp9Mq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message