diff options
author | knu <knu@FreeBSD.org> | 2001-05-28 01:09:08 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-05-28 01:09:08 +0800 |
commit | 8e534f928226cf270199e8ef83ea28466999ef4f (patch) | |
tree | 98ecb28f9e3e9471a5da615eedefb95521d9eae6 /emulators | |
parent | 836408fc7b0ad4a07a1a39e404f769ee4319b99e (diff) | |
download | freebsd-ports-gnome-8e534f928226cf270199e8ef83ea28466999ef4f.tar.gz freebsd-ports-gnome-8e534f928226cf270199e8ef83ea28466999ef4f.tar.zst freebsd-ports-gnome-8e534f928226cf270199e8ef83ea28466999ef4f.zip |
When linux.flp is not found, prompt the user to insert the virtual
floppy disk.
Set IS_INTERACTIVE.
Submitted by: MAINTAINER
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/linux-vmware-toolbox/Makefile | 18 | ||||
-rw-r--r-- | emulators/linux-vmware-toolbox2/Makefile | 18 | ||||
-rw-r--r-- | emulators/linux-vmware-toolbox4/Makefile | 18 | ||||
-rw-r--r-- | emulators/linux-vmware-toolbox5/Makefile | 18 | ||||
-rw-r--r-- | emulators/linux-vmware-toolbox6/Makefile | 18 |
5 files changed, 70 insertions, 20 deletions
diff --git a/emulators/linux-vmware-toolbox/Makefile b/emulators/linux-vmware-toolbox/Makefile index 0700d94f7652..31e279badb01 100644 --- a/emulators/linux-vmware-toolbox/Makefile +++ b/emulators/linux-vmware-toolbox/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}") 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}") diff --git a/emulators/linux-vmware-toolbox4/Makefile b/emulators/linux-vmware-toolbox4/Makefile index 0700d94f7652..31e279badb01 100644 --- a/emulators/linux-vmware-toolbox4/Makefile +++ b/emulators/linux-vmware-toolbox4/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}") diff --git a/emulators/linux-vmware-toolbox5/Makefile b/emulators/linux-vmware-toolbox5/Makefile index 0700d94f7652..31e279badb01 100644 --- a/emulators/linux-vmware-toolbox5/Makefile +++ b/emulators/linux-vmware-toolbox5/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}") diff --git a/emulators/linux-vmware-toolbox6/Makefile b/emulators/linux-vmware-toolbox6/Makefile index 0700d94f7652..31e279badb01 100644 --- a/emulators/linux-vmware-toolbox6/Makefile +++ b/emulators/linux-vmware-toolbox6/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}") |