freebsd-ports/security/klamav/Makefile
2010-12-04 07:34:27 +00:00

46 lines
1.1 KiB
Makefile

# 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>