aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-05-08 23:38:19 +0800
committeroliver <oliver@FreeBSD.org>2005-05-08 23:38:19 +0800
commitdd5d2eb5434c0e30a7d33dbe65f5ec270740d9c1 (patch)
treef41f75e02cf781766df39c99557b6cef5535a5d4
parentcfb09d0ccd2dc7f3367d380baf60c84cf6b9d414 (diff)
downloadfreebsd-ports-gnome-dd5d2eb5434c0e30a7d33dbe65f5ec270740d9c1.tar.gz
freebsd-ports-gnome-dd5d2eb5434c0e30a7d33dbe65f5ec270740d9c1.tar.zst
freebsd-ports-gnome-dd5d2eb5434c0e30a7d33dbe65f5ec270740d9c1.zip
- Add the MUTT_LITE knob for those who want to build mutt-devel with
minimal effort. PR: ports/80786 Submitted by: maintainer
-rw-r--r--mail/mutt-devel/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 0bf6917bdd16..7530f2a709e0 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -187,6 +187,15 @@ WITH_MUTT_IMAP_HEADER_CACHE= yes
.endif
.endif
+.if defined (MUTT_LITE)
+WITHOUT_MUTT_SGMLFORMAT= yes
+WITHOUT_NLS= yes
+WITHOUT_MUTT_COMPRESSED_FOLDERS= yes
+WITHOUT_MUTT_QUOTE_PATCH= yes
+WITHOUT_MUTT_HTML= yes
+WITH_MUTT_NCURSES= yes
+.endif
+
# XXX
# this should be done automagically by aclocal but ....
# for now, this will have to do
@@ -198,6 +207,7 @@ pre-build:
${BUILD_WRKSRC}/Makefile
RUN_DEPENDS+= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+.if !defined (MUTT_LITE)
.if exists(${LOCALBASE}/bin/aspell) && !defined(WITH_MUTT_ISPELL)
WITH_MUTT_ASPELL= yes
.elif exists(${LOCALBASE}/bin/ispell) && !defined(WITH_MUTT_ASPELL)
@@ -217,6 +227,7 @@ RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
.if defined(PACKAGE_BUILDING)
RUN_DEPENDS+= urlview:${PORTSDIR}/textproc/urlview
.endif
+.endif
.if defined(WITH_MUTT_NCURSES_PORT)
WITH_MUTT_NCURSES= yes