cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk
Paul Richards
paul at originative.co.uk
Mon Dec 20 07:52:09 PST 2004
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.
More information about the cvs-src
mailing list