From e7837b278c8e6e809cdc9b4f3741c37844ac0421 Mon Sep 17 00:00:00 2001 From: lawrance Date: Sat, 20 Aug 2005 08:40:21 +0000 Subject: Fix so the distfile can be manually fetched for package building PR: ports/84573 Submitted by: Adi Pircalabu (maintainer) Approved by: portmgr (krion) --- security/bdc/Makefile | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'security/bdc') diff --git a/security/bdc/Makefile b/security/bdc/Makefile index 9582052..c12e85f 100644 --- a/security/bdc/Makefile +++ b/security/bdc/Makefile @@ -8,7 +8,7 @@ PORTNAME= bdc PORTVERSION= 7.0.1 CATEGORIES= security -MASTER_SITES= http://download.bitdefender.com/freebsd/${BDREL}/beta/ +MASTER_SITES= # http://download.bitdefender.com/freebsd/${BDREL}/beta/ DISTNAME= ${PORTNAME}-${PORTVERSION}-fbsd${BDREL} MAINTAINER= apircalabu@bitdefender.com @@ -31,21 +31,16 @@ PKGMESSAGE= ${WRKDIR}/pkg-message ONLY_FOR_ARCHS= i386 RESTRICTED= "License prohibits redistribution" -do-fetch: -.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) - @${ECHO} "" - @${ECHO} "You have to fetch ${DISTNAME}${EXTRACT_SUFX} manually after" - @${ECHO} "reading and agreeing to the license at:" - @${ECHO} "" - @${ECHO} "http://download.bitdefender.com/freebsd/${BDREL}/beta/LICENSE" - @${ECHO} "" - @${ECHO} "A direct link to the distribution file:" - @${ECHO} "http://download.bitdefender.com/freebsd/${BDREL}/beta/${DISTNAME}${EXTRACT_SUFX}" - @${ECHO} "" - @${ECHO} "Once the file has been downloaded move it to" - @${ECHO} "${DISTDIR} and restart the build." - @${ECHO} "" - @${FALSE} +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) +ECHO_MSG= /usr/bin/printf +IGNORE= :\n\ +You have to fetch ${DISTNAME}${EXTRACT_SUFX} manually after\n\ +reading and agreeing to the license at:\n\ +http://download.bitdefender.com/freebsd/${BDREL}/beta/LICENSE\n\ +A direct link to the distribution file:\n\ +http://download.bitdefender.com/freebsd/${BDREL}/beta/${DISTNAME}${EXTRACT_SUFX}\n\ +Once the file has been downloaded move it to\n\ +${DISTDIR} and restart the build.\n .endif do-install: -- cgit v1.1