Subject: Re: pkgsrc - looking to learn how to create packages safely
To: Jeremy C. Reed <reed@reedmedia.net>
From: Brad Volz <bradv@affectation.org>
List: netbsd-help
Date: 05/11/2003 13:06:03
Your note helped quite a bit, thanks.  I do have one or two more questions
before I dig into this.

It is my impression that pkgsrc does all of its work in a subdirectory
called 'work' ( with the exception of the source download that goes into
distfiles ) and that the rest of the system is untouched until one issues
the 'make install'.  Is this correct?

> Then test with:
>
> make install
>
> Then build a PLIST with:
>
> make print-PLIST | tee PLIST

If that is the case, then is there a possibility to reverse the creation
of the PLIST with the 'make install' ?  The reason I ask this is that I
assume that the job of the PLIST file is for when it comes time to clean
things up during a pkg_delete.  Basically, if there is a way for me to be
able to cleanly remove failed attempts at building this package, that will
make me feel a whole lot safer.

If tech-pkg would be a better place for this question, then I am happy to
ask it there.

cheers,

Brad