Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 15:52:00 +0000
From:      Paul Richards <paul@originative.co.uk>
To:        Paul Richards <paul@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk
Message-ID:  <20041220155200.GA1447@myrddin.originative.co.uk>
In-Reply-To: <200412201546.iBKFkuTK047592@repoman.freebsd.org>
References:  <200412201546.iBKFkuTK047592@repoman.freebsd.org>

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



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