2004-04-18 19:01:11 +02:00
|
|
|
# New ports collection makefile for: mod_clamav
|
|
|
|
# Date created: Sun Oct 19
|
|
|
|
# Whom: Clement Laforet <clement@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_clamav
|
2004-05-05 14:36:03 +02:00
|
|
|
PORTVERSION= 0.21
|
2007-03-13 21:11:19 +01:00
|
|
|
PORTREVISION= 1
|
2004-04-18 19:01:11 +02:00
|
|
|
CATEGORIES= www security
|
|
|
|
MASTER_SITES= http://software.othello.ch/mod_clamav/
|
|
|
|
|
|
|
|
MAINTAINER= tmueko@kommunity.net
|
|
|
|
COMMENT= Scans content delivered by the Apache2 proxy module for viruses
|
|
|
|
|
2007-08-20 19:14:38 +02:00
|
|
|
BROKEN= doesn't work since cl_buildtrie() and cl_freetrie() where removed from clamlib (upstream problem)
|
|
|
|
|
2004-04-18 19:01:11 +02:00
|
|
|
LIB_DEPENDS+= clamav:${PORTSDIR}/${CLAMAV_PORT}
|
|
|
|
|
2007-01-30 00:51:55 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-04-18 19:01:11 +02:00
|
|
|
USE_APACHE= YES
|
|
|
|
WITH_APACHE2= YES
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-04-18 19:01:11 +02:00
|
|
|
|
|
|
|
.if defined(WITH_CLAMAVDEVEL)
|
|
|
|
CLAMAV_PORT= security/clamav-devel
|
|
|
|
.else
|
|
|
|
CLAMAV_PORT= security/clamav
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs \
|
|
|
|
--libdir=${PREFIX}/lib/apache2
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2004-04-21 22:39:23 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include \
|
|
|
|
${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib \
|
|
|
|
${PTHREAD_LIBS}
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}"
|
2004-04-18 19:01:11 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|