1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

When linux.flp is not found, prompt the user to insert the virtual

floppy disk.

Set IS_INTERACTIVE.

Submitted by:	MAINTAINER
This commit is contained in:
Akinori MUSHA 2001-05-27 17:09:08 +00:00
parent 5dfd957427
commit e812e13af6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43155
5 changed files with 70 additions and 20 deletions

View File

@ -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}")

View File

@ -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}")

View File

@ -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}")

View File

@ -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}")

View File

@ -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}")