pkgsrc/mail/clamsmtp/Makefile
reed 32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00

36 lines
1,012 B
Makefile

# $NetBSD: Makefile,v 1.15 2004/12/28 02:47:44 reed Exp $
DISTNAME= clamsmtp-1.2
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://memberwebs.com/nielsen/software/clamsmtp/
COMMENT= SMTP filter that allows you to check for viruses
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_PKGINSTALL= yes
RCD_SCRIPTS= clamsmtpd
MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER}
# 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}
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"