aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamfs/Makefile
blob: e823fbef7b28a3d78461d19cb5fa8ed6a0f89fa0 (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
38
39
40
41
42
# Created by: Mageirias Anastasios <anastmag@gmail.com>
# $FreeBSD$

PORTNAME=   clamfs
PORTVERSION=    1.0.1
PORTREVISION=   10
CATEGORIES= security
MASTER_SITES=   SF

MAINTAINER= anastasios@mageirias.com
COMMENT=    User-space fs with on-access antivirus scanning

LICENSE=    GPLv2

BROKEN_armv6=       fails to compile: ./config.hxx:52:17: expected namespace name
BROKEN_armv7=       fails to compile: ./config.hxx:52:17: expected namespace name

LIB_DEPENDS=    libccgnu2.so:devel/commoncpp \
        libPocoNet.so:devel/poco-ssl \
        librlog.so:devel/rlog
BUILD_DEPENDS=  boost-libs>=1.33:devel/boost-libs
RUN_DEPENDS=    clamd:security/clamav

GNU_CONFIGURE=  yes

USES=       compiler:c++11-lib fuse

PLIST_FILES=    bin/clamfs \
        man/man1/clamfs.1.gz

OPTIONS_DEFINE= DOCS
DOCS_PORTDOCS=  *

post-patch-DOCS-on:
    @${REINPLACE_CMD} -e '/socket=/s/ctl/sock/' \
        ${WRKSRC}/doc/clamfs.xml

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/clamfs.xml ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>