blob: 002e11084f672b58fb0f78847fcd1bd9607c480c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: squidclamav
# Date created: 2008-06-02
# Whom: Laurent LEVIER <llevier@argosnet.com>
#
# $FreeBSD$
#
PORTNAME= squidclamav
PORTVERSION= 4.1
CATEGORIES= security
MASTER_SITES= SF \
http://www.samse.fr/GPL/squidclamav/ \
http://www.darold.net/projects/squidclamav/
MAINTAINER= llevier@argosnet.com
COMMENT= Squid interface to ClamAV
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
NO_LATEST_LINK= yes
SUB_FILES= pkg-message
PLIST_FILES= bin/squidclamav etc/squidclamav.conf.dist
post-configure:
@${REINPLACE_CMD} -E 's|^(LDFLAGS = ).*|\1-L${LOCALBASE}/lib|' \
${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/squidclamav ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/squidclamav.conf.dist ${PREFIX}/etc
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|