Use uname -s to work out the Operating System.
FreeBSD has install-info and /usr/share/info/dir by default.
NetBSD doesn't, so, for now, don't try to do this on NetBSD.
files so that RCS Id's are not expanded. Thanks to mrg and hubertf
for pointing this out. Thanks also to hubertf for producing this
new patch file, with fuzz factor 1, which misses out RCS Ids in
patch files. Tested on NetBSD/i386 1.2G.
stopped being a `port' when top became a part of the base system.
I've omitted to include the FreeBSD machine description files,
and the patches as they're not relevant here.
<bsd.own.mk> defines its own `install' target if none is defined,
which conflicts with the default one we define later on in bsd.port.mk.
This may nuke any WRKOBJDIR definitions (which I have yet to encounter),
but enables "make install" to work as expected.
+ Add temporary mtree file for any X11 packages (like xpm, jpeg etc),
which require a default X11 tree. This will change when we get a NetBSD
x11.dist mtree file.
+ Define SHAREOWN, SHAREGRP and SHAREMODE (in NetBSD) to be the same as
DOCOWN, DOCGRP and DOCMODE respectively.
- Changes from FreeBSD's V1.164:
* Warn if mtree-file not found
* On 'make reinstall' gets DEPENDS_TARGET set
to 'reinstall' instead of 'install'
- Changes from OpenBSD's V1.14:
* Documentation and implementation for ONLY_FOR_ARCHS
* Documentation and implementation for WRKOBJDIR
* Documentation on HAVE_MOTIF and MOTIF_STATIC:
set in /etc/mk.conf, not /etc/make.conf
* Set NOMANCOMPRESS=no to still compress man-pages
(should probably be set to 'yes')
* DEF_UMASK=022
* add ${MACHINE} suffix to WRKDIR if OBJMACHINE is set
* .include <bsd.own.mk>