aboutsummaryrefslogtreecommitdiffstats
path: root/mail/claws-mail-clamav/Makefile
blob: 947428b566436d85c76aecc5d50069993da5fe7b (plain) (blame)
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
# New ports collection makefile for:    claws-mail-clamav
# Date created:     26 November 2008
# Whom:         Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   clamav
PORTVERSION=    3.3
PORTREVISION=   4
CATEGORIES= mail
MASTER_SITES=   http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX=  claws-mail-

MAINTAINER= miwi@FreeBSD.org
COMMENT=    Clamav plugin for claws-mail

BUILD_DEPENDS=  claws-mail>=3.3.1:${PORTSDIR}/mail/claws-mail
RUN_DEPENDS=    claws-mail>=3.3.1:${PORTSDIR}/mail/claws-mail
LIB_DEPENDS=    clamav.4:${PORTSDIR}/security/clamav

USE_GMAKE=  yes
USE_XORG=   x11
USE_AUTOTOOLS=  autoconf:262

CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
        --with-libintl-prefix=${LOCALBASE}

PLIST_FILES=    lib/claws-mail/plugins/clamav.a \
        lib/claws-mail/plugins/clamav.la \
        lib/claws-mail/plugins/clamav.so

BROKEN= Doesn't build with clamav-0.93

.include <bsd.port.mk>