2015-09-25 15:08:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2015/09/25 13:08:44 leot Exp $
|
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.
2012-08-17 19:45:40 +02:00
|
|
|
|
2015-09-25 15:08:44 +02:00
|
|
|
DISTNAME= fdm-1.9
|
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=nicm/}
|
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.
2012-08-17 19:45:40 +02:00
|
|
|
|
2015-09-25 15:08:44 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= https://github.com/nicm/fdm/
|
|
|
|
COMMENT= Fetch or receive mail and deliver it in various ways
|
|
|
|
LICENSE= modified-bsd
|
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.
2012-08-17 19:45:40 +02:00
|
|
|
|
2015-09-25 15:08:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= aclocal autoconf automake yacc pax
|
2013-10-03 13:12:43 +02:00
|
|
|
|
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.
2012-08-17 19:45:40 +02:00
|
|
|
INSTALLATION_DIRS+= ${EGDIR} ${DOCDIR}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/fdm
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/fdm
|
|
|
|
|
2015-09-25 15:08:44 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_func_mremap=no # avoid mremap(2)
|
|
|
|
|
|
|
|
CFLAGS.NetBSD+= -D_OPENBSD_SOURCE # needed for strtonum(3)
|
2013-10-03 13:12:43 +02:00
|
|
|
|
|
|
|
.include "options.mk"
|
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.
2012-08-17 19:45:40 +02:00
|
|
|
|
2015-09-25 15:08:44 +02:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ./autogen.sh
|
|
|
|
|
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.
2012-08-17 19:45:40 +02:00
|
|
|
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 "../../databases/tdb/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|