I don't think we should strongly recommend variant_isset usage in portfiles (in fact, I think we should recommend against it unless the alternative is extremely messy). In the section 4.4.2 example, it seems much cleaner to do the following: post-destroot { xinstall -m 755 -d ${destroot}${prefix}/etc/ xinstall ${worksrcpath}/examples/foo.conf ${destroot}${prefix}/etc/ } variant carbon { post-destroot { delete ${destroot}${prefix}/bin/emacs delete ${destroot}${prefix}/bin/emacs-${version} } } Since macports will run both post-destroot procs, the variant's code is then all contained within the variant. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+