summaryrefslogtreecommitdiff
path: root/emulators/linux-vmware-toolbox2
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-27 17:09:08 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-27 17:09:08 +0000
commite812e13af60dc513facece294969280c0122f116 (patch)
tree42dda2bc4deba818123ee89251f6d3688c28d8c1 /emulators/linux-vmware-toolbox2
parentFix MASTER_SITES. (diff)
When linux.flp is not found, prompt the user to insert the virtual
floppy disk. Set IS_INTERACTIVE. Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=43155
Diffstat (limited to 'emulators/linux-vmware-toolbox2')
-rw-r--r--emulators/linux-vmware-toolbox2/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/emulators/linux-vmware-toolbox2/Makefile b/emulators/linux-vmware-toolbox2/Makefile
index 0700d94f7652..31e279badb01 100644
--- a/emulators/linux-vmware-toolbox2/Makefile
+++ b/emulators/linux-vmware-toolbox2/Makefile
@@ -18,6 +18,7 @@ ONLY_FOR_ARCHS= i386
USE_LINUX= yes
USE_X_PREFIX= yes
NO_BUILD= yes
+IS_INTERACTIVE= yes
RESTRICTED= "Not sure if we can redistribute this."
@@ -45,16 +46,25 @@ MOUNT= /sbin/mount
UMOUNT= /sbin/umount
pre-fetch:
+.if !exists("${DISTDIR}/${DISTFILES}")
@${ECHO} "========================================================================"
@${ECHO} ""
- @${ECHO} "To install this port, please do one of these:"
+ @${ECHO} "To install this port, please:"
@${ECHO} ""
- @${ECHO} " 1. Select the menu item \"Devices -> floppy0 -> Edit\" on VMware,"
+ @${ECHO} " Select the menu item \"Devices -> floppy0 -> Edit\" on VMware,"
@${ECHO} " and choose the file \"linux.flp\"."
@${ECHO} ""
- @${ECHO} " 2. Manually put the file \"linux.flp\" in ${DISTDIR}."
- @${ECHO} ""
@${ECHO} "========================================================================"
+ @${ECHO} ""
+ @${ECHO} -n "Are ready to install this ports? [Y/n]: "
+ @(read line; \
+ case "$${line}" in \
+ [Nn]*) \
+ ${FALSE} ;; \
+ *) \
+ ${TRUE} ;; \
+ esac)
+.endif
do-fetch:
.if exists("${DISTDIR}/${DISTFILES}")