summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 04:28:18 +0000
committerkris <kris@FreeBSD.org>2002-03-31 04:28:18 +0000
commit1751c9d6bc1bf964e7f50b237743c7067ab20aa2 (patch)
tree6f17d45682e96dd1e6aa6ca9220aec90dfbdd4ac /www
parentb31daf7fc909cfd33a899c812b0cae0c242ece1f (diff)
downloadFreeBSD-ports-1751c9d6bc1bf964e7f50b237743c7067ab20aa2.zip
FreeBSD-ports-1751c9d6bc1bf964e7f50b237743c7067ab20aa2.tar.gz
Use FORBIDDEN to display notice about manual fetching of distfile.
Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/dansguardian/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile
index 1283292..c0c2932 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>
OpenPOWER on IntegriCloud