Building a port that fetches via CVS co
brooks at one-eyed-alien.net
Tue Jun 14 23:24:50 GMT 2005
On Tue, Jun 14, 2005 at 04:07:30PM -0700, Danny Howard wrote:
> I am looking to build a "master port" to configure a system to house my
> employer's web application. Ideally, the port could accept a release
> tag and other CVS config data and check the software out of our CVS
> server. Else, I can supply a tarball distfile in a seperate step.
> I swear I remember watching a few ports that got their distfiles from a
> CVS server, but I could find nothing in the porter's handbook or in
> bsd.port.mk about this. And trying to search for this question is
> rather difficult, given that cvsup and ports are so intertwined.
> Does anyone have any pointers on this? Please reply-all, as I am not
> subscribed to freebsd-ports. Thanks!
You can do this by overriding either do-fetch or do-extract depending on
exactly what you want to do. For an in-house hack, I'd probably just
use do-extract. For stuff you want to distribute adding code to the
makefile to build a distfile from CVS and then distributing that is
probalby the way to go. I do this for my work in progress Sun Grid
Engine port. See the distfile target:
The method should be fairly applicable to a do-extract target.
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050614/4abd77ad/attachment.bin
More information about the freebsd-ports