cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk

Ruslan Ermilov ru at FreeBSD.org
Mon Dec 20 13:29:35 PST 2004


On Mon, Dec 20, 2004 at 03:52:00PM +0000, Paul Richards wrote:
> 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.
> 
I think 90% is overestimation.  This doesn't seem to handle FILES,
SCRIPTS, etc., at all that are so common in BSD makefiles.  Or am
I wrong?  I like the idea though...


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20041220/96d91460/attachment.bin


More information about the cvs-all mailing list