summaryrefslogtreecommitdiff
path: root/mail/fdm/Makefile
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2012-08-17 17:45:40 +0000
committerseb <seb@pkgsrc.org>2012-08-17 17:45:40 +0000
commitc95b4a8e6a0d09a7365e35a844ac20f53cb83e34 (patch)
tree046543fc5f7bc3afab6bcdcfb9aabdae87dc9eed /mail/fdm/Makefile
parentf60c078010281f897d3e3959d604789174fa019d (diff)
downloadpkgsrc-c95b4a8e6a0d09a7365e35a844ac20f53cb83e34.tar.gz
Initial import of fdm version 1.6 in the NetBSD Packages Collection.
fdm is a program to fetch mail and deliver it in various ways depending on a user-supplied ruleset. Mail may be fetched from stdin, IMAP or POP3 servers, or from local maildirs, and filtered based on whether it matches a regexp, its size or age, or the output of a shell command. It can be rewritten by an external process, dropped, left on the server or delivered into maildirs, mboxes, to a file or pipe, or any combination. fdm is designed to be lightweight but powerful, with a compact but clear configuration syntax. It is primarily designed for single-user uses but may also be configured to deliver mail in a multi-user setup. In this case, it uses privilege separation to minimise the amount of code running as the root user.
Diffstat (limited to 'mail/fdm/Makefile')
-rw-r--r--mail/fdm/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile
new file mode 100644
index 00000000000..e3e371ba6d9
--- /dev/null
+++ b/mail/fdm/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/08/17 17:45:40 seb Exp $
+
+DISTNAME= fdm-1.6
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fdm/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://fdm.sourceforge.net/
+COMMENT= Fetch or receive mail and deliver it in various ways
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS+= ${EGDIR} ${DOCDIR}
+EGDIR= ${PREFIX}/share/examples/fdm
+DOCDIR= ${PREFIX}/share/doc/fdm
+
+USE_TOOLS+= pax
+MAKE_ENV+= PCRE=1
+
+post-install:
+ cd ${WRKSRC}/examples && pax -rwpam . ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/MANUAL ${DESTDIR}${DOCDIR}
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../databases/tdb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"