Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 16:11:39 +0200
From:      "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To:        ports@freebsd.org
Cc:        portmgr@freebsd.org
Subject:   alpha proposal: port options
Message-ID:  <20020810161139.28c57aae.corecode@corecode.ath.cx>

next in thread | raw e-mail | index | archive | help
--=.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020810161139.28c57aae.corecode>