File:  [cvs.NetBSD.org] / pkgsrc / mail / clamsmtp / Makefile
Revision 1.43: download - view: text, annotated - select for diffs
Mon Oct 8 12:19:03 2012 UTC (12 years, 2 months ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.43 2012/10/08 12:19:03 asau Exp $

DISTNAME=		clamsmtp-1.10
#PKGREVISION=		1
CATEGORIES=		mail
MASTER_SITES=		http://memberwebs.com/stef/software/clamsmtp/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://memberwebs.com/stef/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:Q}
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}

PKG_USERS_VARS=		CLAMAV_USER

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${DESTDIR}${EGDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${DESTDIR}${EGDIR}

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>