Sample files, like sample configuration files, are supposed to be
installed if there is no identical file present. If a user-modified
version is present, the sample file should not overwrite it, nor should
that user-modified file be removed on deinstall. But unmodified sample
files should be removed on deinstall.
The logic to do this is confusing, full of double negatives and multiple
conditionals. The plist has to be modified. It ends up being scripted
in the Makefile or elsewhere, inconsistently.
Is there any reason a standard SAMPLE_FILES= can't be used? Define
files that are samples there, and let a system Makefile handle it
consistently and make things easier for the port maintainer and the
user.
Maybe something like this is planned?
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"