ports using CVS repo to get sources

Joshua Oreman oremanj at webserver.get-linux.org
Fri Jun 20 09:44:19 PDT 2003


On Fri, Jun 20, 2003 at 01:15:47PM +0300 or thereabouts, Alexandr Kovalenko seemed to write:
> Any howto or examples in ports tree?

Someone better at ports than me should comment on this, but:
* Make ${PORTVERSION} something like "1.x-cvs" [does this violate the versioning scheme?]
* In do-fetch, do:
do-fetch:
	${MKDIR} ${WRKSRC}
	(cd ${WRKSRC} && cvs -Q -d :pserver at my.cvs.server:/cvsroot checkout mymodule)
* Make do-extract remove all vestiges of CVS :-)
do-extract:
	${FIND} ${WRKSRC} -name CVS -exec rm -rf {} \;
* And it should work.

However, I think the main reason that there's no CVS knobs in bsd.port.mk is
because ports are supposed to be releases. But for a separate port, that's OK,
I think.

Anyone else have any insights?

-- Josh

> 
> -- 
> NEVE-RIPE, will build world for food
> Ukrainian FreeBSD User Group
> http://uafug.org.ua/
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list