summaryrefslogtreecommitdiff
path: root/cad/simian
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2002-03-04 19:41:03 +0000
committerfredb <fredb@pkgsrc.org>2002-03-04 19:41:03 +0000
commit2f53857f2953490ab3cb2552a7d6cefe67b70c7e (patch)
tree81fb74e21b3de2fbc9c29841caa4eb46bf038535 /cad/simian
parent6c0548753f3ed5dbdd6b29b3a77cc5f78eeb7e08 (diff)
downloadpkgsrc-2f53857f2953490ab3cb2552a7d6cefe67b70c7e.tar.gz
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".
Diffstat (limited to 'cad/simian')
-rw-r--r--cad/simian/Makefile11
1 files changed, 1 insertions, 10 deletions
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