- Add the MUTT_LITE knob for those who want to build mutt-devel with

minimal effort.

PR:		ports/80786
Submitted by:	maintainer
This commit is contained in:
Oliver Lehmann 2005-05-08 15:38:19 +00:00
parent b2cc914be9
commit bd2b4feea7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134866

View file

@ -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