diff options
Diffstat (limited to 'mail/spamdyke/Makefile')
-rw-r--r-- | mail/spamdyke/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile new file mode 100644 index 00000000000..882701baf25 --- /dev/null +++ b/mail/spamdyke/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/03/24 07:39:25 schmonz Exp $ +# + +DISTNAME= spamdyke-2.2.1 +CATEGORIES= mail +MASTER_SITES= http://freesoftware.silence.org/spamdyke/releases/ +EXTRACT_SUFX= .tgz + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://freesoftware.silence.org/spamdyke/ +COMMENT= Monitors and intercept incoming SMTP connections to qmail + +BUILD_DIRS= ${PKGBASE} + +SUBST_CLASSES+= paths +SUBST_FILES.paths= ${PKGBASE}/spamdyke.c +SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX:Q},g' +SUBST_STAGE.paths= do-configure + +INSTALLATION_DIRS= bin share/doc/${PKGBASE} + +do-install: + cd ${WRKSRC}/${PKGBASE}; \ + for f in spamdyke 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/bsd.pkg.mk" |