# $Id: Makefile,v 1.5 2005/12/03 16:46:39 mbalmer Exp $

SPATH=	/usr/local/share/examples/smtp-vilter

install:
	@if test ! -d ${DESTDIR}${SPATH}; then \
		mkdir -p ${DESTDIR}${SPATH}; \
	fi
	
	${INSTALL} -m 640 ${.CURDIR}/smtp-vilter.conf \
	    ${DESTDIR}${SPATH}/smtp-vilter.conf
	${INSTALL} -m 640 ${.CURDIR}/recipient-notification \
	    ${DESTDIR}${SPATH}/recipient-notification
	${INSTALL} -m 640 ${.CURDIR}/attachment.conf \
	    ${DESTDIR}${SPATH}/attachment.conf
	${INSTALL} -m 640 ${.CURDIR}/attachment-notification \
	    ${DESTDIR}${SPATH}/attachment-notification
	${INSTALL} -m 640 ${.CURDIR}/clamd.conf ${DESTDIR}${SPATH}/clamd.conf
	${INSTALL} -m 640 ${.CURDIR}/icap.conf ${DESTDIR}${SPATH}/icap.conf
	${INSTALL} -m 640 ${.CURDIR}/spamd.conf ${DESTDIR}${SPATH}/spamd.conf

.include <bsd.prog.mk>
