f98dab9db7
Avoid 'dead filter commands that never terminate' by close everything except fd 0, 1, 2 before running the filter command.
31 lines
775 B
Makefile
31 lines
775 B
Makefile
# $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"
|