#43237: destroot.config setting to manage configuration files -------------------------+-------------------------------- Reporter: jul_bsd@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: -------------------------+-------------------------------- Like destroot.keepdirs, a command to declare a file as a configuration should exist. listed filed would be - move to ${prefix}/share/examples/${name} - if not existing in current setup, copy to normal location in post- activate - on post-deactivate, IF file unchanged (can compare to example files or better stored a hash w package receipt), removed As an example, I would point on Openbsd @sample setting http://www.openbsd.org/faq/ports/specialtopics.html#Config http://www.openbsd.org/cgi-bin/cvsweb/ports/net/net-snmp/pkg/PLIST- main?annotate=1.17 -- Ticket URL: <https://trac.macports.org/ticket/43237> MacPorts <http://www.macports.org/> Ports system for OS X