Portable NetBSD rc.subr implementation for pkgsrc
