pkgsrc/mail/spamdyke/Makefile
schmonz 985acac348 Update to 4.3.1. From the changelog:
This version fixes a couple of processing bugs in the new header
blacklist filter and an access violation that can lead to crashes.
The header blacklist should is [sic] safe to enable now.
2012-01-20 18:02:43 +00:00

48 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.29 2012/01/20 18:02:43 schmonz Exp $
#
DISTNAME= spamdyke-4.3.1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}releases/
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.spamdyke.org/
COMMENT= Filters incoming SMTP connections to qmail
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/${PKGBASE}
GNU_CONFIGURE= yes
BUILD_TARGET= ${PKGBASE}
SUBST_CLASSES+= paths
SUBST_FILES.paths= spamdyke.h
SUBST_SED.paths= -e 's,@LOCALBASE@,${LOCALBASE:Q},g'
SUBST_SED.paths+= -e 's,@QMAILDIR@,${QMAILDIR:Q},g'
SUBST_STAGE.paths= do-configure
BUILD_DEFS+= QMAILDIR
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES+= ${EGDIR}/spamdyke.conf.example ${PKG_SYSCONFDIR}/spamdyke.conf
INSTALLATION_DIRS= bin share/doc/${PKGBASE} share/examples/${PKGBASE}
.include "options.mk"
do-install:
cd ${WRKSRC}; \
for f in spamdyke; do \
${INSTALL_PROGRAM} $${f} ${DESTDIR}${PREFIX}/bin; \
done; \
cd ../documentation; \
${INSTALL_DATA} spamdyke.conf.example ${DESTDIR}${EGDIR}; \
for f in *.txt *.html; do \
${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE};\
done
.include "../../mk/resolv.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"