2013-08-29 16:16:03 +02:00
|
|
|
# Created by: Adi Pircalabu <apircalabu@bitdefender.com>
|
2005-06-05 15:36:22 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bdc
|
|
|
|
PORTVERSION= 7.0.1
|
2006-04-11 17:31:38 +02:00
|
|
|
PORTREVISION= 2
|
2005-06-05 15:36:22 +02:00
|
|
|
CATEGORIES= security
|
2006-04-11 17:31:38 +02:00
|
|
|
#MASTER_SITES= # http://download.bitdefender.com/freebsd/${BDREL}/final/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.2-fbsd${BDREL}
|
2005-06-05 15:36:22 +02:00
|
|
|
|
2008-05-14 21:33:44 +02:00
|
|
|
MAINTAINER= itetcu@FreeBSD.org
|
2005-06-05 15:36:22 +02:00
|
|
|
COMMENT= BitDefender Console Antivirus for FreeBSD
|
|
|
|
|
2009-01-06 18:59:31 +01:00
|
|
|
LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
|
|
|
|
|
2005-06-05 15:36:22 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2006-04-11 17:31:38 +02:00
|
|
|
RESTRICTED= License prohibits redistribution
|
2005-06-05 15:36:22 +02:00
|
|
|
|
2007-10-04 08:02:06 +02:00
|
|
|
BDREL= 5
|
2009-01-06 18:59:31 +01:00
|
|
|
|
2013-09-21 00:55:24 +02:00
|
|
|
NO_STAGE= yes
|
2009-01-06 18:59:31 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-10-04 08:02:06 +02:00
|
|
|
|
2013-08-29 16:16:03 +02:00
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
2012-01-04 21:28:05 +01:00
|
|
|
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
|
2005-06-05 15:36:22 +02:00
|
|
|
.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>
|