diff options
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> |