blob: f5624a8073f75891864051912428bb0733bd607b (
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
|
# $NetBSD: Makefile,v 1.2 2000/06/19 14:36:22 rh Exp $
#
DISTNAME= amavis-0.2.0-pre6
PKGNAME= amavis-0.2.0p6
CATEGORIES= security mail
MASTER_SITES= http://aachalon.de/AMaViS/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://satan.oih.rwth-aachen.de/AMaViS/amavis.html
DEPENDS+= uvscan-[0-9]*:../../security/uvscan
DEPENDS+= mm-*:../../mail/metamail
DEPENDS+= unzip-*:../../archivers/unzip
DEPENDS+= unarj-*:../../archivers/unarj
DEPENDS+= unrar-*:../../archivers/unrar
DEPENDS+= xbin-*:../../archivers/xbin
DEPENDS+= lha-*:../../archivers/lha
DEPENDS+= zoo-*:../../archivers/zoo
DEPENDS+= freeze-*:../../archivers/freeze
DEPENDS+= arc-*:../../archivers/arc
VIRUSDIR?= /var/log/virusmails # where to put contaminated mails
VIRUSMAILTO?= security # whom to notify about viruses
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-virusdir=${VIRUSDIR}
CONFIGURE_ARGS+=--with-mailto=${VIRUSMAILTO}
MESSAGE_FILE= ${WRKDIR}/MESSAGE
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/zipsecure/zipsecure ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/securetar/securetar ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/src/scanmails/scanmails ${PREFIX}/sbin
${SED} -e 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE \
>${WRKDIR}/MESSAGE
.include "../../mk/bsd.pkg.mk"
|