summaryrefslogtreecommitdiff
path: root/security/avcheck/Makefile
blob: df179e6babc178607f060845e78c3eb9b1f3c7e7 (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
# $NetBSD: Makefile,v 1.16 2020/01/26 17:32:02 rillig Exp $

DISTNAME=	avcheck-0.91
PKGNAME=	avcheck-0.9.1
CATEGORIES=	security mail
MASTER_SITES=	http://www.corpit.ru/ftp/avcheck/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.corpit.ru/avcheck/
COMMENT=	Mail content filter for SMTP servers

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "NetBSD"
USE_TOOLS+=	gsed
.endif

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/doc/avcheck \
			share/examples/avcheck


do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/avcheck ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/uchroot ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/avcheck.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

	${INSTALL_DATA} ${WRKSRC}/README.AVP ${DESTDIR}${PREFIX}/share/doc/avcheck
	${INSTALL_DATA} ${WRKSRC}/README.DrWeb ${DESTDIR}${PREFIX}/share/doc/avcheck
	${INSTALL_DATA} ${WRKSRC}/README.Exim ${DESTDIR}${PREFIX}/share/doc/avcheck
	${INSTALL_DATA} ${WRKSRC}/README.Postfix ${DESTDIR}${PREFIX}/share/doc/avcheck
	${INSTALL_DATA} ${WRKSRC}/README.Sendmail ${DESTDIR}${PREFIX}/share/doc/avcheck

	${INSTALL_DATA} ${WRKSRC}/infected.ex1 \
	    ${DESTDIR}${PREFIX}/share/examples/avcheck/infected.ex1
	${INSTALL_DATA} ${WRKSRC}/ex2/template \
	    ${DESTDIR}${PREFIX}/share/examples/avcheck/infected.ex2

.include "../../mk/bsd.pkg.mk"