aboutsummaryrefslogtreecommitdiffstats
path: root/security/klamav/Makefile
blob: ab1ba6e426674bdad2810e36abb136b675412be9 (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
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:   klamav
# Date created:        30 July 2005
# Whom:                Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
#
# $FreeBSD$
#

PORTNAME=   klamav
PORTVERSION=    0.46
PORTREVISION=   5
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}/Source%20%28For%20ClamAV%20and%20gt_%3D%200.9x%29/KlamAV-${PORTVERSION}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-source

MAINTAINER= anderson@cnpm.embrapa.br
COMMENT=    A KDE 3 front-end to Clam Anti-Virus

LIB_DEPENDS=    clamav:${PORTSDIR}/security/clamav

WRKSRC=     ${WRKDIR}/${DISTNAME}/${PORTNAME}-${PORTVERSION}

PREFIX=     ${KDE_PREFIX}

USE_GMAKE=  yes
USE_SQLITE= 3
USE_GNOME=  pkgconfig
USE_GETTEXT=    yes
INSTALLS_ICONS= yes

USE_AUTOTOOLS=  libtool aclocal
LIBTOOLFILES=   acinclude.m4 configure
CONFIGURE_ENV=  LDFLAGS="${PTHREAD_LIBS} -lintl -L${PREFIX}/lib"
CONFIGURE_ARGS+=--with-qt-dir=${QT_PREFIX} \
        --without-included-sqlite

USE_KDELIBS_VER=    3

.include <bsd.port.pre.mk>

pre-configure:
    @${CP} ${LTMAIN} ${WRKSRC}/admin
    @${CP} ${LIBTOOL_M4} ${WRKSRC}/admin
    @${CP} ${LOCALBASE}/include/clamav-config.h ${WRKSRC}/src/klamd

.include <bsd.port.post.mk>