From owner-freebsd-ports Sun Mar 28 8:21:28 1999 Delivered-To: freebsd-ports@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id 0B7BF1566A for ; Sun, 28 Mar 1999 08:21:20 -0800 (PST) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 62262 invoked by uid 1003); 28 Mar 1999 18:25:49 -0000 Date: Sun, 28 Mar 1999 18:25:49 +0000 From: Neil Blakey-Milner To: Satoshi the Wraith Asami Cc: freebsd-ports@freebsd.org Subject: Re: CVSup and Fetch Message-ID: <19990328182548.A86409@rucus.ru.ac.za> References: <199903261302.IAA19553@istari.home.net> <199903261348.FAA18790@silvia.hip.berkeley.edu> <19990327152150.A57118@rucus.ru.ac.za> <199903271329.FAA22229@silvia.hip.berkeley.edu> <19990327165750.A68075@rucus.ru.ac.za> <199903280511.VAA01750@bubble.didi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199903280511.VAA01750@bubble.didi.com>; from Satoshi "the Wraith" Asami on Sat, Mar 27, 1999 at 09:11:07PM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat 1999-03-27 (21:11), Satoshi "the Wraith" Asami wrote: > * (also, on a final note, would people be interested in my patches > * that add functionality to pkg_* and bsd.port.mk to handle LICENSE > * files or variables, considering package system rewrites?) > > How does it work? What I would like to see is something like, > say, a LICENSE variable in the port Makefiles that takes either a > full pathname ("${PREFIX}/share/doc/foobaz/license") or one of the > pre-determined values ("BSD"/"GPL"/etc.). They will be stored inside > packages as "+LICENSE". bsd.port.mk can be made to pass an extra > argument to pkg_create for this. Well, let me just submit a PR with the patches in. The only query I have about them is whether people would prefer that for, say, LICENSE=COPYRIGHT check ${WRKSRC}/${LICENSE} - since I'd imagine one would only really use the license variable if it's one of the default licenses, or a file somewhere in ${WRKSRC}. Also, I'm using -n to pkg_install, since -l and -L are being used by other pkg_*. Comments? Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message