Building a port that fetches via CVS co

Brooks Davis brooks at
Tue Jun 14 23:24:50 GMT 2005

On Tue, Jun 14, 2005 at 04:07:30PM -0700, Danny Howard wrote:
> Hello,
> 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
> 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.

-- Brooks

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
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list