pkgsrc/mail/fdm/Makefile
leot d6d5f7d6f3 Update mail/fdm to fdm-1.9.
pkgsrc changes:
 o Update MASTER_SITES and HOMEPAGE to current reality.
 o Convert the package in order to use GNU_CONFIGURE and add aclocal,
   auto{conf,make} to USE_TOOLS (the configure is not provided by upstream
   and need to be generated).
 o Avoid mremap(2) usage. The NetBSD's mremap(2) isn't compatible (and probably
   also other systems does not have it) so use mmap(2) instead.

Changes:
 o Add support for STARTTLS on IMAP and POP3, from Markus Bachmann.
 o Add "lock-wait" option to make fdm wait the global lock (lock-file option)
   rather than exiting with an error immediately. Also add "lock-time" option
   for the lock file timeout rather than a fixed 10 seconds. Requested by
   Todd C. Miller.
 o Add "ignore-errors" flag to instruct fdm to ignore delivery errors and
   continue to the next mail, requested by Todd C. Miller.
 o Delete Courier support.
 o Delete regress/*
 o Convert fdm to use autoconf and automake
 o Various misc bug fixes
2015-09-25 13:08:44 +00:00

35 lines
954 B
Makefile

# $NetBSD: Makefile,v 1.8 2015/09/25 13:08:44 leot Exp $
DISTNAME= fdm-1.9
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=nicm/}
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
GNU_CONFIGURE= yes
USE_TOOLS+= aclocal autoconf automake yacc pax
INSTALLATION_DIRS+= ${EGDIR} ${DOCDIR}
EGDIR= ${PREFIX}/share/examples/fdm
DOCDIR= ${PREFIX}/share/doc/fdm
CONFIGURE_ENV+= ac_cv_func_mremap=no # avoid mremap(2)
CFLAGS.NetBSD+= -D_OPENBSD_SOURCE # needed for strtonum(3)
.include "options.mk"
pre-configure:
cd ${WRKSRC} && ./autogen.sh
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"