mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
42 lines
934 B
Makefile
42 lines
934 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.21
|
|
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
|
|
|
|
LIB_DEPENDS+= clamav:${PORTSDIR}/${CLAMAV_PORT}
|
|
|
|
USE_APACHE= YES
|
|
WITH_APACHE2= YES
|
|
USE_AUTOTOOLS= libtool:13
|
|
|
|
.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
|
|
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>
|