summaryrefslogtreecommitdiff
path: root/mail/fdm/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-10-03 11:12:43 +0000
committerobache <obache@pkgsrc.org>2013-10-03 11:12:43 +0000
commit61f32fd0534b3cc0bea0f7f6aefc9a6068f839a1 (patch)
tree9eb1331336e46c252c9e3f2b9fd46fc21187f181 /mail/fdm/Makefile
parenta2b32c956068735343bc4d40b8dfae91e4d499d1 (diff)
downloadpkgsrc-61f32fd0534b3cc0bea0f7f6aefc9a6068f839a1.tar.gz
Update fdm to 1.7.
Based on PR pkg/48254 by Leonardo Taccari. pkgsrc changes: * add options.mk: now fdm supports "debug" and "pcre" options (previously the PCRE support was always included). Changes: * Add mbox tags for messages fetched from a mbox * Detect GMail's XYZZY capability for IMAP and use it to try and workaround some of their broken behaviour (incorrectly reported message sizes). * Print a warning on missing maildirs when fetching from them rather than crashing or giving an error. Reported by Frank Terbeck. * Introduce a configure script and tidy up build infrastructure. * GMail IMAP doesn't correctly set the \Seen flag after UID FETCH BODY[], so explicitly set it with STORE when mail is kept. Reported by Patrice Clement. * Properly count mails when polling multiple folders on a single IMAP server, reported by Claudio M. Alessi. * Support user and pass on NNTP, requested by Michael Hamann. * Escape . properly when delivering to SMTP. * Don't be as strict about format at the end of messages when using IMAP - accept additional information as well as FLAGS. Reported by rivo nurges.
Diffstat (limited to 'mail/fdm/Makefile')
-rw-r--r--mail/fdm/Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile
index fbf5238c549..aaa098798ec 100644
--- a/mail/fdm/Makefile
+++ b/mail/fdm/Makefile
@@ -1,9 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2013/02/06 23:22:44 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2013/10/03 11:12:43 obache Exp $
-DISTNAME= fdm-1.6
-PKGREVISION= 1
+DISTNAME= fdm-1.7
CATEGORIES= mail
-PKG_REVISION= 1
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fdm/}
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -11,20 +9,19 @@ HOMEPAGE= http://fdm.sourceforge.net/
COMMENT= Fetch or receive mail and deliver it in various ways
LICENSE= modified-bsd
+HAS_CONFIGURE= yes
+
INSTALLATION_DIRS+= ${EGDIR} ${DOCDIR}
EGDIR= ${PREFIX}/share/examples/fdm
DOCDIR= ${PREFIX}/share/doc/fdm
-USE_TOOLS+= pax
-MAKE_ENV+= PCRE=1
+USE_TOOLS+= yacc pax
+
+.include "options.mk"
-SUBST_CLASSES+= files
-SUBST_STAGE.files= post-patch
-SUBST_FILES.files= Makefile
-SUBST_SED.files= -e "s|@INSTALL_PROGRAM_DIR@|${INSTALL_PROGRAM_DIR}|"
-SUBST_SED.files+= -e "s|@INSTALL_PROGRAM@|${INSTALL_PROGRAM}|"
-SUBST_SED.files+= -e "s|@INSTALL_MAN@|${INSTALL_MAN}|"
-SUBST_MESSAGE.files= Fixing install invocation in Makefile
+post-build:
+ ${RUN}cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
+ -f tools/dist.mk manual
post-install:
cd ${WRKSRC}/examples && pax -rwpam . ${DESTDIR}${EGDIR}
@@ -32,6 +29,5 @@ post-install:
.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"