From 8a15dfcb49e764711e9e38ecbd3466c9d79424a8 Mon Sep 17 00:00:00 2001 From: fredb Date: Mon, 4 Mar 2002 19:41:03 +0000 Subject: Generalize the handling for packages where "fetch" and "fetch-list" only emit a message and don't actually fetch anything. This allows us to make the output of "fetch-list" for these packages consistent with other packages. While we're in here, integrate DYNAMIC_MASTER_SITES with the ${ORDERED_SITES} macro. The only functional change here is that ${MASTER_SITE_OVERRIDE} is now respected. Still to do -- something appropriate for "fetch-list" for these packages, like sourcing "getsites.sh" into the generated script. (Well, "package", but there are two others that do something similar in their "Makefile".) Also eliminate the misbegotten _FETCH_ALLFILES macro -- now that only "fetch" uses it, move it's functionality directly under "do-fetch". --- cad/simian/Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'cad/simian') diff --git a/cad/simian/Makefile b/cad/simian/Makefile index d3ace07c020..888c032f9dc 100644 --- a/cad/simian/Makefile +++ b/cad/simian/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/02/26 21:28:48 fredb Exp $ +# $NetBSD: Makefile,v 1.4 2002/03/04 19:41:06 fredb Exp $ # DISTNAME= simian_12_98 @@ -27,15 +27,6 @@ _FETCH_MESSAGE= \ ${ECHO} ' with which to fetch "${DISTNAME}${EXTRACT_SUFX}" manually.'; \ ${ECHO} '=======================================================' -do-fetch: - @if ${TEST} \! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; then \ - ${_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