aboutsummaryrefslogtreecommitdiffstats
path: root/security/klamav/Makefile
blob: bbff033cdf96b9b57396fd8fba02be391fafb135 (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
46
47
48
49
# New ports collection makefile for:   klamav
# Date created:        30 July 2005
# Whom:                Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
#
# $FreeBSD$
#

PORTNAME=   klamav
PORTVERSION=    0.41
PORTREVISION=   3
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= klamav
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 \
        sqlite3:${PORTSDIR}/databases/sqlite3-threads

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

PREFIX=     ${KDE_PREFIX}
DOCSDIR=    ${PREFIX}/share/doc/HTML/en/klamav02

USE_GZIP=   yes
USE_GMAKE=  yes
USE_GNOME=  pkgconfig
USE_GETTEXT=    yes
INSTALLS_ICONS= yes

USE_AUTOTOOLS=  libtool:15
USE_AUTOTOOLS+= aclocal:19

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} ${PREFIX}/include/clamav-config.h ${WRKSRC}/src/klamd

.include <bsd.port.post.mk>