summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-07-20 13:27:32 +0000
committertron <tron@pkgsrc.org>2002-07-20 13:27:32 +0000
commitafe7887560539c23088787c43508dc7f8b502830 (patch)
tree58527f9edb04d20a45d7071a89382a24d8c9ad8a /sysutils
parenta25ca1174dd9595b121ca5d0989f8e747196134f (diff)
downloadpkgsrc-afe7887560539c23088787c43508dc7f8b502830.tar.gz
Install "README.netboot" if networking boot support is enabled.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/grub/Makefile7
-rw-r--r--sysutils/grub/PLIST4
2 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/grub/Makefile b/sysutils/grub/Makefile
index 43d01538752..c5636b24895 100644
--- a/sysutils/grub/Makefile
+++ b/sysutils/grub/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/07/20 12:42:36 tron Exp $
+# $NetBSD: Makefile,v 1.9 2002/07/20 13:27:32 tron Exp $
DISTNAME= grub-0.92
CATEGORIES= sysutils
@@ -24,6 +24,11 @@ PLIST_SUBST+= NETBOOT=
.for GRUB_NETWORK_CARD in ${GRUB_NETWORK_CARDS}
CONFIGURE_ARGS+= --enable-${GRUB_NETWORK_CARD}
.endfor
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/grub
+ ${INSTALL_DATA} ${WRKSRC}/netboot/README.netboot \
+ ${PREFIX}/share/doc/grub
.else
PLIST_SUBST+= NETBOOT="@comment "
.endif
diff --git a/sysutils/grub/PLIST b/sysutils/grub/PLIST
index c016e2f2393..8745ac9b093 100644
--- a/sysutils/grub/PLIST
+++ b/sysutils/grub/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/07/20 12:42:36 tron Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/07/20 13:27:33 tron Exp $
bin/mbchk
@unexec install-info --delete --info-dir=%D/info %D/info/grub.info
info/grub.info
@@ -14,6 +14,7 @@ man/man8/grub.8
sbin/grub
sbin/grub-install
sbin/grub-md5-crypt
+${NETBOOT}share/doc/grub/README.netboot
share/grub/${MACHINE_ARCH}-/e2fs_stage1_5
share/grub/${MACHINE_ARCH}-/fat_stage1_5
share/grub/${MACHINE_ARCH}-/ffs_stage1_5
@@ -30,3 +31,4 @@ share/grub/${MACHINE_ARCH}-/xfs_stage1_5
@exec install-info --info-dir=%D/info %D/info/multiboot.info
@dirrm share/grub/${MACHINE_ARCH}-
@dirrm share/grub
+${NETBOOT}@dirrm share/doc/grub