From 525e57436887687e937933168dbb7bbe7cb0591b Mon Sep 17 00:00:00 2001 From: fredb Date: Tue, 26 Feb 2002 21:28:47 +0000 Subject: Wherever "make fetch" simply echos a message, let "make fetch-list|sh" echo the message, too. --- cad/simian/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'cad') diff --git a/cad/simian/Makefile b/cad/simian/Makefile index e4a2385daf3..d3ace07c020 100644 --- a/cad/simian/Makefile +++ b/cad/simian/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/12/07 21:02:18 jmc Exp $ +# $NetBSD: Makefile,v 1.3 2002/02/26 21:28:48 fredb Exp $ # DISTNAME= simian_12_98 @@ -20,13 +20,22 @@ NO_BIN_ON_FTP= ${RESTRICTED} WRKSRC= ${WRKDIR}/Simian/src ALL_TARGET= simian +_FETCH_MESSAGE= \ + ${ECHO} '======================================================='; \ + ${ECHO} ' To build this package, please request a password on'; \ + ${ECHO} ' ${HOMEPAGE},'; \ + ${ECHO} ' with which to fetch "${DISTNAME}${EXTRACT_SUFX}" manually.'; \ + ${ECHO} '=======================================================' + do-fetch: @if ${TEST} \! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; then \ - ${ECHO} "===> You need to request a password on ${HOMEPAGE}"; \ - ${ECHO} " and fetch on your own source file."; \ + ${_FETCH_MESSAGE}; \ exit 1; \ fi +fetch-list-one-pkg: + @${ECHO} ${_FETCH_MESSAGE:Q} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/simian ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/simian -- cgit v1.2.3