summaryrefslogtreecommitdiff
path: root/security/avcheck/Makefile
blob: 0f096b03c5c724480a7e6bfc51379a054f7ff7ea (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
43
44
45
# New ports collection makefile for: avcheck
# Date created:         Fri Jun 14 14:31:42 MSD 2002
# Whom:                 dsh@vlink.ru
#
# $FreeBSD$
#

PORTNAME=	avcheck
PORTVERSION=	0.9
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.corpit.ru/ftp/avcheck/

MAINTAINER=	dsh@vlink.ru
COMMENT=	A simple antivirus solution for a mail system

USE_REINPLACE=	yes

MAN1=		avcheck.1

PLIST_FILES=	sbin/avcheck sbin/uchroot
PORTDOCS=	README.AVP README.AVP.de README.DrWeb README.Exim \
		README.Postfix README.Postfix.de README.Sendmail eicar.msg \
		eicar.txt

post-patch:
	@${REINPLACE_CMD} -e 's/^CC/#CC/g ; s/^CFLAGS/#CFLAGS/g' ${WRKSRC}/Makefile

do-install:
.for i in avcheck uchroot
	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin/
.endfor

.for i in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1/
.endfor

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>