summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorfredb <fredb>2002-02-26 21:28:47 +0000
committerfredb <fredb>2002-02-26 21:28:47 +0000
commit525e57436887687e937933168dbb7bbe7cb0591b (patch)
tree703e5e06eaa22f774d5f2b5f95bb8dd65b885e95 /cad
parent05a904b6236a495fd88e21f9a709cb522f5596bf (diff)
downloadpkgsrc-525e57436887687e937933168dbb7bbe7cb0591b.tar.gz
Wherever "make fetch" simply echos a message, let "make fetch-list|sh"
echo the message, too.
Diffstat (limited to 'cad')
-rw-r--r--cad/simian/Makefile15
1 files changed, 12 insertions, 3 deletions
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