2007-10-30 20:31:38 +01:00
|
|
|
# $NetBSD: Makefile,v 1.35 2007/10/30 19:31:39 martti Exp $
|
2004-07-21 05:54:24 +02:00
|
|
|
|
2006-10-27 19:37:18 +02:00
|
|
|
DISTNAME= clamsmtp-1.8
|
2007-06-15 11:47:06 +02:00
|
|
|
PKGREVISION= 3
|
2004-07-21 05:54:24 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/
|
|
|
|
|
2007-05-22 13:26:13 +02:00
|
|
|
MAINTAINER= martti@NetBSD.org
|
2004-07-21 05:54:24 +02:00
|
|
|
HOMEPAGE= http://memberwebs.com/nielsen/software/clamsmtp/
|
|
|
|
COMMENT= SMTP filter that allows you to check for viruses
|
2007-10-30 20:31:38 +01:00
|
|
|
#LICENSE= modified-bsd
|
2004-07-21 05:54:24 +02:00
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
RCD_SCRIPTS= clamsmtpd
|
|
|
|
|
|
|
|
MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER:Q}
|
2004-07-21 05:54:24 +02:00
|
|
|
|
2004-08-03 10:27:51 +02:00
|
|
|
# Doesn't work with GNU pth (missing required mutex features)
|
|
|
|
PTHREAD_OPTS+= require native
|
|
|
|
|
2004-09-21 12:16:05 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
CONF_FILES= ${EGDIR}/clamsmtpd.conf \
|
|
|
|
${PKG_SYSCONFDIR}/clamsmtpd.conf
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= share/examples/${PKGBASE}
|
|
|
|
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_USERS_VARS+= CLAMAV_USER
|
2007-05-22 14:28:55 +02:00
|
|
|
|
2004-09-21 12:16:05 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${EGDIR}
|
2004-12-21 00:40:27 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${EGDIR}
|
2004-09-21 12:16:05 +02:00
|
|
|
|
2004-07-21 05:54:24 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|