summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorfredb <fredb>2002-03-04 19:41:03 +0000
committerfredb <fredb>2002-03-04 19:41:03 +0000
commit8a15dfcb49e764711e9e38ecbd3466c9d79424a8 (patch)
tree81fb74e21b3de2fbc9c29841caa4eb46bf038535 /sysutils
parenta1cacd62839d1ef341d0cadba68c1e925f0dd805 (diff)
downloadpkgsrc-8a15dfcb49e764711e9e38ecbd3466c9d79424a8.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 'sysutils')
-rw-r--r--sysutils/storage-manager/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysutils/storage-manager/Makefile b/sysutils/storage-manager/Makefile
index a1df4a2dca4..7a8af66fade 100644
--- a/sysutils/storage-manager/Makefile
+++ b/sysutils/storage-manager/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/02/26 21:28:49 fredb Exp $
+# $NetBSD: Makefile,v 1.4 2002/03/04 19:41:08 fredb Exp $
DISTNAME= sm_linux_v314_install
PKGNAME= storage-manager-3.14
@@ -37,15 +37,6 @@ _FETCH_MESSAGE= \
${ECHO} " ${DOWNLOAD}."; \
${ECHO} "================================================================="
-do-fetch:
- @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
- ${_FETCH_MESSAGE}; \
- ${FALSE}; \
- fi
-
-fetch-list-one-pkg:
- @${ECHO} ${_FETCH_MESSAGE:Q}
-
do-extract:
${MKDIR} ${WRKSRC}
cd ${WRKSRC}; rpm2cpio ${DISTDIR}/${DISTNAME}.rpm > ${DISTNAME}.cpio