summaryrefslogtreecommitdiff
path: root/mail/proxsmtp/Makefile
blob: f6cfff1efff3bebab6a71a96abd720a1802c25a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.12 2013/10/08 19:41:00 shattered Exp $

DISTNAME=	proxsmtp-1.10
CATEGORIES=	mail
MASTER_SITES=	http://thewalter.net/stef/software/proxsmtp/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://thewalter.net/stef/software/proxsmtp/
COMMENT=	SMTP proxy content filter
LICENSE=	modified-bsd

GNU_CONFIGURE=	yes

EGDIR=		${PREFIX}/share/examples/${PKGBASE}
CONF_FILES=	${EGDIR}/proxsmtpd.conf ${PKG_SYSCONFDIR}/proxsmtpd.conf
RCD_SCRIPTS=	proxsmtpd

INSTALLATION_DIRS=	${EGDIR}

.include "../../mk/pthread.buildlink3.mk"

post-install:
	for file in							\
		doc/proxsmtpd.conf					\
		scripts/add_header.sh					\
		scripts/spamassassin.sh;				\
	do								\
		${INSTALL_DATA} ${WRKSRC}/$$file ${DESTDIR}${EGDIR};	\
	done

.include "../../mk/bsd.pkg.mk"