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
|
2008-08-15 08:53:14 +02:00
|
|
|
PORTVERSION= 0.22
|
2009-03-27 12:53:07 +01:00
|
|
|
PORTREVISION= 4
|
2004-04-18 19:01:11 +02:00
|
|
|
CATEGORIES= www security
|
2008-08-15 08:53:14 +02:00
|
|
|
MASTER_SITES= http://software.othello.ch/mod_clamav/ \
|
|
|
|
http://www.kommunity.net/download/mod_clamav/
|
2004-04-18 19:01:11 +02:00
|
|
|
|
|
|
|
MAINTAINER= tmueko@kommunity.net
|
2008-08-15 08:53:14 +02:00
|
|
|
COMMENT= Scans content delivered by the Apache20 proxy module for viruses
|
2004-04-18 19:01:11 +02:00
|
|
|
|
2007-01-30 00:51:55 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2008-08-16 23:55:22 +02:00
|
|
|
USE_APACHE= 2.0
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-04-18 19:01:11 +02:00
|
|
|
|
|
|
|
.if defined(WITH_CLAMAVDEVEL)
|
2009-03-27 12:53:07 +01:00
|
|
|
LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav-devel
|
2004-04-18 19:01:11 +02:00
|
|
|
.else
|
|
|
|
CLAMAV_PORT= security/clamav
|
2009-03-27 12:53:07 +01:00
|
|
|
LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav
|
2004-04-18 19:01:11 +02:00
|
|
|
.endif
|
|
|
|
|
2009-04-29 03:41:18 +02:00
|
|
|
CONFIGURE_ARGS= --with-apxs=${APXS} \
|
2004-04-18 19:01:11 +02:00
|
|
|
--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}
|
2009-04-29 03:41:18 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|