pkgsrc/mail/spamdyke/Makefile
joerg e24209d145 Add common handling for libresolv similiar to dlopen(3) wrapping.
For now, DragonFly and FreeBSD use the libc version, it is not reentrant,
but thread-safe. NetBSD 3.0+ and Darwin 8.0+ use libresolv from base
(the BIND9 resolver), all other fall back to net/bind9. Feel free to add
your favorite platform if it has a thread-safe resolver in base.

Modify mail/libspf-alf, mail/milter-greylist, mail/spamdyke and
net/nocol accordingly. Testing on !DragonFly and feedback from tron@
2007-07-03 13:54:45 +00:00

45 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2007/07/03 13:54:45 joerg Exp $
#
DISTNAME= spamdyke-2.6.3
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}releases/
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.spamdyke.org/
COMMENT= Monitors and intercept incoming SMTP connections to qmail
BUILD_DIRS= ${PKGBASE} utils
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${PKGBASE}/spamdyke.h
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX:Q},g'
SUBST_SED.paths+= -e 's,@QMAILDIR@,${QMAILDIR:Q},g'
SUBST_STAGE.paths= do-configure
BUILD_DEFS+= QMAILDIR
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
.include "options.mk"
do-install:
cd ${WRKSRC}/${PKGBASE}; \
for f in spamdyke; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \
done
cd ${WRKSRC}/utils; \
for f in dnsmx dnsptr dnstxt passwordcheck; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin/spamdyke-$${f}; \
done; \
for f in domain2path domainsplit; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \
done
cd ${WRKSRC}/documentation; \
for f in *.txt; do \
${INSTALL_DATA} $${f} ${PREFIX}/share/doc/${PKGBASE}; \
done
.include "../../mk/resolv.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"