diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 04:28:18 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 04:28:18 +0000 |
commit | e6a347678d18070631043957141b499449181c06 (patch) | |
tree | 387cb7e7f1d5f399d7194f328ffe9c659489df46 /www/dansguardian | |
parent | 7e903012cf1ff3d4bc97e312faf0c76137da73a6 (diff) | |
download | ports-e6a347678d18070631043957141b499449181c06.tar.gz ports-e6a347678d18070631043957141b499449181c06.zip |
Use FORBIDDEN to display notice about manual fetching of distfile.
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=57019
Diffstat (limited to 'www/dansguardian')
-rw-r--r-- | www/dansguardian/Makefile | 15 |
1 files changed, 3 insertions, 12 deletions
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 <bsd.port.mk> |