051ac35bcb
upstream changes: ----------------- fetchmail-6.4.15 (released 2021-01-03, 27614 LoC): # BUG FIXES * Fix a typo in the manual page reported by David McKelvie. * Fix cross-compilation with openssl, by Fabrice Fontaine. Merge request !23. * Fix truncation of SMTP PLAIN AUTH with ^ in credentials, by Earl Chew. Gitlab issue #23, merge request !25. fetchmail-6.4.14 (released 2020-11-26, 27608 LoC): # TRANSLATION UPDATES were made by these fine people: * sr: Мирослав Николић (Miroslav Nikolić) [Serbian]
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.196 2021/01/27 14:13:20 triaxx Exp $
|
|
|
|
# Note to updaters: mail/fetchmailconf reaches over here, make sure it builds.
|
|
DISTNAME= fetchmail-6.4.15
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fetchmail/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.fetchmail.info/
|
|
COMMENT= Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
|
|
LICENSE= gnu-gpl-v1 AND gnu-gpl-v2 AND modified-bsd AND public-domain AND gnu-lgpl-v2.1
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --without-hesiod
|
|
CONFIGURE_ENV+= PYTHON=:
|
|
LDFLAGS+= ${CFLAGS}
|
|
USE_TOOLS+= msgfmt tbl
|
|
|
|
LDFLAGS.Darwin+= -lresolv
|
|
CFLAGS.Darwin+= -DBIND_8_COMPAT -DHAVE_RESOLV_H
|
|
|
|
.include "options.mk"
|
|
|
|
TEST_TARGET= check
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/fetchmail
|
|
RCD_SCRIPTS= fetchmail
|
|
|
|
INSTALLATION_DIRS+= ${DOCDIR}
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
post-build:
|
|
${MV} ${WRKSRC}/fetchmail.man ${WRKSRC}/fetchmail.man.tbl && \
|
|
${TBL} ${WRKSRC}/fetchmail.man.tbl > ${WRKSRC}/fetchmail.man
|
|
|
|
post-install:
|
|
.for f in FAQ NOTES FEATURES README COPYING fetchmail-FAQ.html \
|
|
fetchmail-features.html design-notes.html
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_DATA} ${f} ${DESTDIR}${DOCDIR}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|