freebsd-ports/security/klamav/Makefile
Martin Wilke f06efcbd45 - Update to 0.41
PR:             110008
Submitted by:   Anderson S. Ferreira <anderson@cnpm.embrapa.br> (maintainer)
2007-03-07 22:47:09 +00:00

51 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.41
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
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=${X11BASE} \
--without-included-sqlite
USE_KDELIBS_VER= 3
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= klamav doesn't compile on FreeBSD 4.X
.endif
pre-configure:
@${CP} ${LTMAIN} ${WRKSRC}/admin
@${CP} ${LIBTOOL_M4} ${WRKSRC}/admin
.include <bsd.port.post.mk>