From owner-cvs-src@FreeBSD.ORG Mon Dec 20 15:52:09 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9E2316A4CE; Mon, 20 Dec 2004 15:52:09 +0000 (GMT) Received: from mx1.originative.co.uk (freebsd.gotadsl.co.uk [81.6.249.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDECD43D41; Mon, 20 Dec 2004 15:52:06 +0000 (GMT) (envelope-from paul@mx1.originative.co.uk) Received: from localhost (unknown [127.0.0.1]) by mx1.originative.co.uk (Postfix) with ESMTP id 829B715638; Mon, 20 Dec 2004 15:52:07 +0000 (GMT) Received: from mx1.originative.co.uk ([127.0.0.1])port 10024) with ESMTP id 02506-03; Mon, 20 Dec 2004 15:52:00 +0000 (GMT) Received: by mx1.originative.co.uk (Postfix, from userid 1000) id A33531563A; Mon, 20 Dec 2004 15:52:00 +0000 (GMT) Date: Mon, 20 Dec 2004 15:52:00 +0000 From: Paul Richards To: Paul Richards Message-ID: <20041220155200.GA1447@myrddin.originative.co.uk> References: <200412201546.iBKFkuTK047592@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200412201546.iBKFkuTK047592@repoman.freebsd.org> User-Agent: Mutt/1.5.6i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 15:52:09 -0000 On Mon, Dec 20, 2004 at 03:46:56PM +0000, Paul Richards wrote: > paul 2004-12-20 15:46:56 UTC > > FreeBSD src repository > > Modified files: > share/mk bsd.prog.mk > Added files: > share/mk bsd.pkg.mk > Log: > If PORTNAME is set in a system Makefile then hook into the ports > mechanisms to allow a package to be created. This paves the way > for packaging the main tree. This is 90% working, I can create packages in the src tree by adding the following: e.g for cat PROG= cat PORTNAME=cat PORTVERSION= 1 PORTREVISION= 1 CATEGORIES=bin There are some loose ends though that need tidying up, particularly clashes with some main targets in the ports makefile. I could do with some ports people to help clean things up but decided it was time to commit it to get other people involved. It's a non-intrusive addition at the moment until it's switched on in a Makefile.