1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- change ECHO -> ECHO_CMD

This commit is contained in:
Dirk Meyer 2003-09-24 17:30:13 +00:00
parent c4f66fbf9a
commit 0ed9667e47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89256
2 changed files with 12 additions and 12 deletions

View File

@ -32,11 +32,11 @@ CONFIGURE_ARGS= --with-medium=${PAPERSIZECNF} --sharedstatedir=$(PREFIX)/share -
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
.BEGIN:
@${ECHO}
@${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
@${ECHO}
@${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
@${ECHO} "letterdj allows a slightly larger margins for DeskJets."
@${ECHO_CMD}
@${ECHO_CMD} "PAPERSIZE incorrect value: ${PAPERSIZE}."
@${ECHO_CMD}
@${ECHO_CMD} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
@${ECHO_CMD} "letterdj allows a slightly larger margins for DeskJets."
@${FALSE}
.endif

View File

@ -57,19 +57,19 @@ MAN5 = VirtualBindings.5 mwmrc.5
.if defined(HAVE_MOTIF) && !defined(PARALLEL_PACKAGE_BUILD)
IS_INTERACTIVE= yes
pre-extract:
@${ECHO} "***********************************************************"
@${ECHO} "* W a r n i n g *"
@${ECHO} "* This port will overwrite your Motif installation. *"
@${ECHO} "***********************************************************"
@${ECHO} -n "Is this ok? (y/n) ==> "
@${ECHO_CMD} "***********************************************************"
@${ECHO_CMD} "* W a r n i n g *"
@${ECHO_CMD} "* This port will overwrite your Motif installation. *"
@${ECHO_CMD} "***********************************************************"
@${ECHO_CMD} -n "Is this ok? (y/n) ==> "
@(read ans; \
case x"$$ans" in \
xy*|xY*) \
return 0; \
;; \
*) \
${ECHO} "Okay, I won't install it then...."; \
${ECHO} "(Don't worry about the following \"*** Error code 1's)"; \
${ECHO_CMD} "Okay, I won't install it then...."; \
${ECHO_CMD} "(Don't worry about the following \"*** Error code 1's)"; \
return 1; \
;; \
esac)