Use FORBIDDEN to display notice about manual fetching of distfile.

Submitted by:	maintainer
This commit is contained in:
Kris Kennaway 2002-03-31 04:28:18 +00:00
parent 7e903012cf
commit e6a347678d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57019

View File

@ -39,17 +39,8 @@ MANCOMPRESSED= no
NO_CDROM= "Commercial download is restricted. Check ${DG_URL} for more info" NO_CDROM= "Commercial download is restricted. Check ${DG_URL} for more info"
NO_PACKAGE= "Redistribution is restricted. Check ${DG_URL} for more info" NO_PACKAGE= "Redistribution is restricted. Check ${DG_URL} for more info"
do-fetch: .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ FORBIDDEN="Commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
${ECHO} ""; \ .endif
${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
.include <bsd.port.mk> .include <bsd.port.mk>