From e6a347678d18070631043957141b499449181c06 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 31 Mar 2002 04:28:18 +0000 Subject: Use FORBIDDEN to display notice about manual fetching of distfile. Submitted by: maintainer --- www/dansguardian/Makefile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'www/dansguardian/Makefile') diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile index 12832927b754..c0c2932cc992 100644 --- a/www/dansguardian/Makefile +++ b/www/dansguardian/Makefile @@ -39,17 +39,8 @@ MANCOMPRESSED= no NO_CDROM= "Commercial download is restricted. Check ${DG_URL} for more info" NO_PACKAGE= "Redistribution is restricted. Check ${DG_URL} for more info" -do-fetch: - @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ - ${ECHO} ""; \ - ${ECHO} " Commercial downloading is restricted. Please read"; \ - ${ECHO} " the licensing info at ${DG_URL}"; \ - ${ECHO} ""; \ - ${ECHO} " The DansGuardian sources must be fetched manually."; \ - ${ECHO} " Download ${DISTNAME}${EXTRACT_SUFX} and place it in";\ - ${ECHO} " ${DISTDIR} then run make install.";\ - ${ECHO} "";\ - ${FALSE};\ - fi +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +FORBIDDEN="Commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make" +.endif .include -- cgit v1.2.3