directory file remove it if it is empty i.e. if it contains only one
menu/entry line i.e. only one line starting with '*'.
This allow INFO_DIR to be set to a package specific directory while
not registering in the PLIST the Info directory file (${INFOR_DIR}/dir).
Registering such an Info directory file in the PLIST is not really
possible as a md5 signature of it holding the registered info entries
would be stored in PKG_DBDIR. At deinstall time this signature would not be
matched because the DEINSTALL script would have modified it by
un-registering the info files from it. Hence the package removal would
be reported as incomplete...
You are probably right if this looks like a hack to you...
$NetBSD: README,v 1.16 2003/06/23 07:48:01 grant Exp $
The pkgsrc documentation now lives on the NetBSD web site.
Full documentation, one file per chapter:
http://www.NetBSD.org/Documentation/pkgsrc/
Full documentation in a single file:
http://www.NetBSD.org/Documentation/pkgsrc/pkgsrc.html
Full documentation in a single plain-text file:
http://www.NetBSD.org/Documentation/pkgsrc/pkgsrc.txt
pkgsrc.txt and pkgsrc.html are also provided in the top level pkgsrc
directory (this directory).