head	1.14;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.06.01.01;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.01.04.20.28.05;	author jgh;	state Exp;
branches;
next	1.12;

1.12
date	2009.01.06.17.59.18;	author pav;	state Exp;
branches;
next	1.11;

1.11
date	2008.05.14.19.33.44;	author itetcu;	state Exp;
branches;
next	1.10;

1.10
date	2008.05.14.18.19.02;	author wxs;	state Exp;
branches;
next	1.9;

1.9
date	2007.10.04.06.00.19;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2007.10.04.00.00.37;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2007.08.24.03.01.52;	author rafan;	state Exp;
branches;
next	1.6;

1.6
date	2006.08.14.14.51.24;	author clsung;	state Exp;
branches;
next	1.5;

1.5
date	2006.04.11.15.31.38;	author ehaupt;	state Exp;
branches;
next	1.4;

1.4
date	2005.11.11.11.45.01;	author arved;	state Exp;
branches;
next	1.3;

1.3
date	2005.08.20.08.40.21;	author lawrance;	state Exp;
branches;
next	1.2;

1.2
date	2005.06.14.03.19.28;	author novel;	state Exp;
branches;
next	1.1;

1.1
date	2005.06.05.13.36.22;	author niels;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switch exporter over
@
text
@# New ports collection makefile for:   bdc
# Date created:                        4 December 2004
# Whom:                                Adi Pircalabu <apircalabu@@bitdefender.com>
#
# $FreeBSD: head/security/bdc/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	bdc
PORTVERSION=	7.0.1
PORTREVISION=	2
CATEGORIES=	security
#MASTER_SITES=	# http://download.bitdefender.com/freebsd/${BDREL}/final/
DISTNAME=	${PORTNAME}-${PORTVERSION}.2-fbsd${BDREL}

MAINTAINER=	itetcu@@FreeBSD.org
COMMENT=	BitDefender Console Antivirus for FreeBSD

LIB_DEPENDS=	c.5:${PORTSDIR}/misc/compat5x

WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

PKGMESSAGE=	${WRKDIR}/pkg-message

ONLY_FOR_ARCHS=	i386
RESTRICTED=	License prohibits redistribution

BDREL=		5

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE=	you have to fetch ${DISTNAME}${EXTRACT_SUFX} manually after reading\
and agreeing to the license at:\
http://download.bitdefender.com/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Old/EN/freebsd/Ver_${BDREL}/.\
Here is a direct link to the distribution file:\
http://download.bitdefender.com/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Old/EN/freebsd/Ver_${BDREL}/bdc-7.0.1.2-fbsd${BDREL}.tar.gz.\
Once the file has been downloaded, move it to ${DISTDIR} and restart the build
.endif

do-install:
	@@cd ${WRKDIR} && ${TAR} -cf - bdc | ${TAR} -xf - -C ${PREFIX}/
	@@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/bdc
	@@${CHMOD} -R a=rX,u+w ${PREFIX}/bdc/

	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \
		s|%%PORTNAME%%|${PORTNAME}|g' \
		< ${PKGDIR}/pkg-message > ${PKGMESSAGE}

	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|g'  \
		< ${FILESDIR}/bdc > ${PREFIX}/bin/bdc
	@@${CHMOD} +x ${PREFIX}/bin/bdc

	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.13
log
@- Reassignment of ECHO_MSG breaks 'make readme', so remove and reformat IGNORE.

PR:	ports/163258
Submitted by:	jgh (me)
Approved by:	maintainer, crees (mentor)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@- Remove conditional checks for FreeBSD 5.x and older
@
text
@d33 6
a38 9
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/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Old/EN/freebsd/Ver_${BDREL}/\n\
A direct link to the distribution file:\n\
http://download.bitdefender.com/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Old/EN/freebsd/Ver_${BDREL}/bdc-7.0.1.2-fbsd${BDREL}.tar.gz\n\
Once the file has been downloaded move it to\n\
${DISTDIR} and restart the build.\n
@


1.11
log
@Take maintainership for the moment, until I can get someone from the vendor to
care for this port.
@
text
@d18 2
d28 2
a31 9
.if ${OSVERSION} >= 600000
LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
.endif
.if ${OSVERSION} < 502001
IGNORE=		requires FreeBSD 5.2.1 or later
.else
BDREL=		5
.endif

@


1.10
log
@Drop maintainer, thank you for your work.

PR:		ports/123658
Submitted by:	Adi Pircalabu <adi.pircalabu@@symstream.com> (old maintainer)
Approved by:	garga (mentor, implicit)
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.9
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@d15 1
a15 1
MAINTAINER=	apircalabu@@bitdefender.com
@


1.8
log
@Remove support for OSVERSION < 5
@
text
@d18 8
d27 1
d31 2
a32 2
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 502001
IGNORE=		requires FreeBSD-STABLE \(4.9 or later\), or FreeBSD-CURRENT \(5.2.1 or later\)
a36 8
WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

PKGMESSAGE=	${WRKDIR}/pkg-message

ONLY_FOR_ARCHS=	i386
RESTRICTED=	License prohibits redistribution

@


1.7
log
@- Update download and license url

PR:		ports/115754
Submitted by:	Adi Pircalabu <apircalabu at bitdefender.com> (maintainer)
@
text
@d22 1
a22 1
.if ${OSVERSION} < 490000 || ${OSVERSION} >= 500000 && ${OSVERSION} < 502001
a23 2
.elif ${OSVERSION} < 500000
BDREL=		4
@


1.6
log
@- modifies the download paths for LICENSE and distfiles.

PR:		ports/102009
Submitted by:	maintainer (Adi Pircalabu)
@
text
@d43 1
a43 1
http://download.bitdefender.com/unices/old/freebsd/${BDREL}/final/LICENSE\n\
d45 1
a45 1
http://download.bitdefender.com/unices/old/freebsd/${BDREL}/final/${DISTNAME}${EXTRACT_SUFX}\n\
@


1.5
log
@- Fix a faulty linkage, where the existing libfn.so binary for 5.x was linked
  against libm.so.2. On 4.x it's a PORTREVISION bump only.
- Make portlint a bit happier

PR:		95004
Submitted by:	Adi Pircalabu <apircalabu@@bitdefender.com> (maintainer)
Discussion:	http://lists.freebsd.org/pipermail/freebsd-ports/2006-March/030677.html
@
text
@d43 1
a43 1
http://download.bitdefender.com/freebsd/${BDREL}/final/LICENSE\n\
d45 1
a45 1
http://download.bitdefender.com/freebsd/${BDREL}/final/${DISTNAME}${EXTRACT_SUFX}\n\
@


1.4
log
@This port installs a 5.x binary, so depend on the compat5x port on
6.x and 7.x
Bump PORTREVISION

PR:		88832
Submitted by:	Adi Pircalabu <apircalabu@@bitdefender.com>
@
text
@d10 1
a10 1
PORTREVISION=	1
d12 2
a13 2
MASTER_SITES=	# http://download.bitdefender.com/freebsd/${BDREL}/beta/
DISTNAME=	${PORTNAME}-${PORTVERSION}-fbsd${BDREL}
d20 1
a20 1
LIB_DEPENDS+=   c.5:${PORTSDIR}/misc/compat5x
d23 1
a23 1
IGNORE=		"requires FreeBSD-STABLE \(4.9 or later\), or FreeBSD-CURRENT \(5.2.1 or later\)"
d36 1
a36 1
RESTRICTED=     "License prohibits redistribution"
d43 1
a43 1
http://download.bitdefender.com/freebsd/${BDREL}/beta/LICENSE\n\
d45 1
a45 1
http://download.bitdefender.com/freebsd/${BDREL}/beta/${DISTNAME}${EXTRACT_SUFX}\n\
@


1.3
log
@Fix so the distfile can be manually fetched for package building

PR:		ports/84573
Submitted by:	Adi Pircalabu <apircalabu@@bitdefender.com> (maintainer)
Approved by:	portmgr (krion)
@
text
@d10 1
d19 3
@


1.2
log
@Update MASTER_SITES.

PR:		82199
Submitted by:	Adi Pircalabu (maintainer)
@
text
@d11 1
a11 1
MASTER_SITES=	http://download.bitdefender.com/freebsd/${BDREL}/beta/
d34 10
a43 15
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}
@


1.1
log
@New port: BitDefender Console Antivirus 7.0.1
Based on submission via PR:

PR:		ports/75424
Submitted by:	Adrian Pircalabu
Approved by:	nectar (mentor)
@
text
@d11 1
a11 1
MASTER_SITES=	ftp://ftp.bitdefender.com/pub/freebsd/${BDREL}/beta/
d40 1
a40 1
	@@${ECHO} "ftp://ftp.bitdefender.com/pub/freebsd/${BDREL}/beta/LICENSE"
d43 1
a43 1
	@@${ECHO} "ftp://ftp.bitdefender.com/pub/freebsd/${BDREL}/beta/${DISTNAME}${EXTRACT_SUFX}"
@

