pkgsrc/mail/clamsmtp/Makefile

38 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.35 2007/10/30 19:31:39 martti Exp $
DISTNAME= clamsmtp-1.8
PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://memberwebs.com/nielsen/software/clamsmtp/
COMMENT= SMTP filter that allows you to check for viruses
#LICENSE= modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
RCD_SCRIPTS= clamsmtpd
MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER:Q}
# Doesn't work with GNU pth (missing required mutex features)
PTHREAD_OPTS+= require native
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/clamsmtpd.conf \
${PKG_SYSCONFDIR}/clamsmtpd.conf
INSTALLATION_DIRS= share/examples/${PKGBASE}
PKG_USERS_VARS+= CLAMAV_USER
2007-05-22 14:28:55 +02:00
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${EGDIR}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"