summaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-10-29 17:41:59 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-10-29 17:41:59 +0000
commit5b8a36f47579a7bd71c052028220a22923b5dcf0 (patch)
treef071a801a69fe7ded49cb20ed3788399d155d07b /mail/mutt-devel/Makefile
parented3bfd1931831064d21c971390e2514e997e5229 (diff)
downloadFreeBSD-ports-5b8a36f47579a7bd71c052028220a22923b5dcf0.zip
FreeBSD-ports-5b8a36f47579a7bd71c052028220a22923b5dcf0.tar.gz
Add news posting support
PR: 31585 Submitted by: maintainer
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 81dd2d9..c6c4b06 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -74,6 +74,13 @@ USE_OPENSSL= yes
.if defined(WITH_MUTT_HTML)
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
.endif
+.if defined(WITH_MUTT_NNTP)
+.if ! exists(${LOCALBASE}/bin/inews)
+BUILD_DEPENDS+= nn-inews:${PORTSDIR}/news/nn
+pre-configure::
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-inews
+.endif
+.endif
.if defined(WITH_MUTT_LOCALES_FIX)
CONFIGURE_ARGS+= --enable-locales-fix
@@ -122,7 +129,7 @@ post-patch::
@${PERL} -pi.fbsd -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \
${WRKSRC}/contrib/gpg.rc
-pre-configure:
+pre-configure::
(cd ${WRKSRC}; aclocal -I m4)
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud