summaryrefslogtreecommitdiff
path: root/security/fprot-workstation-bin/Makefile
blob: ada3018ed0776f846ae66ab70334d58d6f316767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# $NetBSD: Makefile,v 1.40 2009/05/19 08:59:30 wiz Exp $

DISTNAME=		fprot-workstation-bin	# overridden below
PKGNAME=		fprot-workstation-bin-${FPVER}
CATEGORIES=		security
MASTER_SITES=		# empty
DIST_SUBDIR=		${PKGBASE}-20070806
FPVER=			4.6.8

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.f-prot.com/products/home_use/
COMMENT=		F-prot antivirus for home users
LICENSE=		fprot-workstation-license

RESTRICTED=		Redistribution not permitted
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_SRC_ON_FTP=		${RESTRICTED}

DEPENDS+=		p5-libwww>=5.69:../../www/p5-libwww

USE_TOOLS+=		perl:run unzip:run

PKG_INSTALLATION_TYPES= overwrite pkgviews

#EMUL_PLATFORMS+=	linux-i386
EMUL_PLATFORMS+=	netbsd-i386
#EMUL_PLATFORMS+=	solaris-i386
#EMUL_PLATFORMS+=	solaris-sparc
EMUL_MODULES.linux=	base

.include "../../mk/bsd.prefs.mk"

# This following section should be split out into Makefile.${EMUL_PLATFORM}
# files and the appropriate build and installation code added.
#
.if ${EMUL_PLATFORM} == "linux-i386"
MASTER_SITES=		http://files.f-prot.com/files/linux-x86/
DISTNAME=		fp-linux-ws
.elif ${EMUL_PLATFORM} == "solaris-i386"
MASTER_SITES=		http://files.f-prot.com/files/solaris-i386/
DISTNAME=		fp-solaris-i386-ws
.elif ${EMUL_PLATFORM} == "solaris-sparc"
MASTER_SITES=		http://files.f-prot.com/files/solaris-sparc/
DISTNAME=		fp-solaris-sparc-ws
.endif

.if exists(Makefile.${EMUL_PLATFORM})
.  include "Makefile.${EMUL_PLATFORM}"
.else
NO_BUILD=	yes
do-install:	# nothing
.endif

.include "../../mk/bsd.pkg.mk"