freebsd-ports/www/mod_clamav/Makefile
Philip M. Gollucci 1435495e70 - WITH_APACHE2 is deprecated and was never needed
- Remove version check USE_APACHE=2.0 takes care of it
- Use some bsd.apache.mk vars
- PREFIX->LOCALBASE

PR:             ports/133683
Approved by:    maintainer timeout (2 weeks)
Submitted by:   me
2009-04-29 01:41:18 +00:00

42 lines
1,014 B
Makefile

# New ports collection makefile for: mod_clamav
# Date created: Sun Oct 19
# Whom: Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mod_clamav
PORTVERSION= 0.22
PORTREVISION= 4
CATEGORIES= www security
MASTER_SITES= http://software.othello.ch/mod_clamav/ \
http://www.kommunity.net/download/mod_clamav/
MAINTAINER= tmueko@kommunity.net
COMMENT= Scans content delivered by the Apache20 proxy module for viruses
USE_AUTOTOOLS= libtool:15
USE_APACHE= 2.0
GNU_CONFIGURE= yes
.if defined(WITH_CLAMAVDEVEL)
LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav-devel
.else
CLAMAV_PORT= security/clamav
LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav
.endif
CONFIGURE_ARGS= --with-apxs=${APXS} \
--libdir=${PREFIX}/lib/apache2
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include \
${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib \
${PTHREAD_LIBS}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>