summaryrefslogtreecommitdiff
path: root/security/avcheck/Makefile
blob: eaf9f0d5ae0ac3464cabbf27be5fa09d384f4c03 (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
# $NetBSD: Makefile,v 1.12 2008/07/14 12:56:11 joerg Exp $

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

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

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	gsed

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"