Reducing the size of the ports tree (brainstorm v2)
Bryan Drewery
bdrewery at FreeBSD.org
Thu Nov 13 05:16:12 UTC 2014
On 10/31/2014 1:56 PM, Baptiste Daroussin wrote:
> Hi all,
>
> tijl@ spotted an interesting point, distinfo and pkg-descr files files
> convenient are taking a lot of space for "free", we can reduce the size of the
> while ports tree by a factor 2 by simply merging them into one of the other
> files (Makefile and/or pkg-plist) from my testing it really devides
> significantly the size of the tree.
>
> Problem is how to merge them if we want to.
>
> What we do not want to loose:
> - Easyness of parsing distinfo
> - Easyness to get informations about the description
>
> so far I have not been able to figure out a user friendly way
>
> Ideas I got so far only concerns pkg-descr:
> Adding an entry in the Makefile for the WWW:
> WWW= bla
> or an entry in the plist: @www http...
>
> for the description the Makefile is not suitable as multi line entry in
> Makefiles are painful
> Maybe a new keyword:
> @descr <<EOD
> mydesc
> in
> multiline
> EOD
>
> which could easily be added to the plist parser in pkg. But I'm do not find that
> very friendly in particular for make(1) to extract the data.
>
> Concerning the distinfo I have no idea.
>
> so this mail is a call of ideas :), if nothing nice ideas is found we will just
> do nothing here :)
>
> regards,
> Bapt
>
I don't think the benefit is worth the effort on this.
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141112/5d7afb39/attachment.sig>
More information about the freebsd-ports
mailing list