blob: 5ea331cd761fe74a68669102bc676dce3e98b80f (
plain)
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
43
44
|
# Created by: Mageirias Anastasios <anastmag@gmail.com>
# $FreeBSD$
PORTNAME= clamfs
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/burghardt/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/
MAINTAINER= anastasios@mageirias.com
COMMENT= User-space fs with on-access antivirus scanning
LICENSE= GPLv2
LIB_DEPENDS= libPocoFoundation.so:devel/poco \
libPocoNet.so:devel/poco \
libPocoXML.so:devel/poco \
librlog.so:devel/rlog
BUILD_DEPENDS= boost-libs>=1.33:devel/boost-libs
RUN_DEPENDS= clamd:security/clamav
USES= compiler:c++11-lib autoreconf fuse
GNU_CONFIGURE= yes
PLIST_FILES= bin/clamfs \
man/man1/clamfs.1.gz
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|-Werror ||g' ${WRKSRC}/configure.ac
post-patch-DOCS-on:
@${REINPLACE_CMD} -e '/socket=/s/ctl/sock/' \
${WRKSRC}/doc/clamfs.xml ${WRKSRC}/doc/debug.xml
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/clamfs.xml ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/debug.xml ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|