Here is an example of adding a newly created package. This example assumes that your CVS stuff is kept in /usr/cvs and pkgsrc is a subdirectory from there. The new package, foo/bar in this case, is in the directory /usr/cvs/pkgsrc/foo/bar.work. The steps to import this package into the source tree are: cd /usr/cvs/pkgsrc/foo/bar.work # do the usual testing, pkglint, etc. # don't forget to do 'make makepatchsum' to generate the # files/patch-sum file. grep TNF /usr/pkgsrc/doc/pkgsrc.txt # this command tells me the correct syntax for "cvs import". # (/usr/pkgsrc is a symlink to /usr/cvs/pkgsrc). cvs -d imil@cvs.netbsd.org:/cvsroot import pkgsrc/foo/bar TNF pkgsrc-base # note it's "bar", not "bar.work" As the import log : Initial import of bar, version 1.0.0, into the NetBSD Packages Collection. cd ../../.. cvs checkout pkgsrc/foo/bar # this checks out the newly imported package to # see if everything went ok cd pkgsrc/foo cvs update Makefile vi Makefile # add bar to the pkgsrc/foo/Makefile cvs ci -m 'add & enable bar' Makefile # check in the changes to pkgsrc/foo/Makefile cd /home/imil/netbsd-cvs/pkgsrc/doc cvs update CHANGES-YYYY # this makes sure you have the most up to date CHANGES vi CHANGES-YYYY # make a note of your changes to the foo/bar package cvs ci -m 'Added foo/bar version 17.42' CHANGES-YYYY # check in CHANGE