diff options
author | miwi <miwi@FreeBSD.org> | 2007-08-06 06:14:41 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-08-06 06:14:41 +0800 |
commit | 57bc26278b02e49a2ea47709d6db69dad9e5c217 (patch) | |
tree | e67ccbd2f8e981f03cff58004b4e0cbd7e1a1811 /mail | |
parent | 6b664120991809688a7570fe6fa5263c64cc0a39 (diff) | |
download | freebsd-ports-gnome-57bc26278b02e49a2ea47709d6db69dad9e5c217.tar.gz freebsd-ports-gnome-57bc26278b02e49a2ea47709d6db69dad9e5c217.tar.zst freebsd-ports-gnome-57bc26278b02e49a2ea47709d6db69dad9e5c217.zip |
- Use ncurses as default for recent 6.x and 7.x OSVERSIONs to
have an UTF-8 enabled mutt out of the box.
- Add WITH_MUTT_SMTP know.
- Bump PORTREVISION
PR: 115109
Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt-devel/Makefile | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 7df10dd92115..594133e419de 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -20,9 +20,9 @@ # The two most important knobs are: # # In general you can choose between using ncurses (WITH_MUTT_NCURSES) -# and SLANG (WITH_MUTT_SLANG) which is the default. Note that you may -# have to set the variables COLORTERM=yes and COLORFGBG="color1;color2" in your -# environment to get slang function properly. +# and SLANG (WITH_MUTT_SLANG). Note that you may have to set the variables +# COLORTERM=yes and COLORFGBG="color1;color2" in your environment to get slang +# function properly. # The default version for slang is 1.x. Define WITH_MUTT_SLANG2 if you want # to use the slang version 2.x # The default version for ncurses is that which comes with the operating @@ -104,10 +104,13 @@ # If you want to enable the `greeting' option define: # WITH_MUTT_GREETING_PATCH # +# If you want to enable the internal SMTP relay support define: +# WITH_MUTT_SMTP +# PORTNAME= mutt-devel PORTVERSION= 1.5.16 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES+= mail ipv6 .if defined(WITH_MUTT_NNTP) CATEGORIES+= news @@ -203,6 +206,11 @@ WITH_MUTT_IMAP_HEADER_CACHE= yes IGNORE= cannot install: the WITH_MUTT_SIDEBAR_PATCH and WITH_MUTT_NNTP are not compatible .endif .endif +.if ${OSVERSION} >= 700033 || (${OSVERSION} < 700000 && ${OSVERSION} >= 602107) +NCURSES_IS_DEFAULT= yes +.else +SLANG_IS_DEFAULT= yes +.endif .if defined (MUTT_LITE) WITHOUT_MUTT_XML= yes @@ -261,8 +269,12 @@ MUTT_USES_SLANG2= yes MUTT_USES_NCURSES= yes .endif .if !defined(MUTT_USES_SLANG) && !defined(WITHOUT_MUTT_SLANG) && !defined(MUTT_USES_NCURSES) +.if defined(SLANG_IS_DEFAULT) MUTT_USES_SLANG= yes MUTT_USES_SLANG1= yes +.elif defined(NCURSES_IS_DEFAULT) +MUTT_USES_NCURSES= yes +.endif .endif .if defined(WITHOUT_MUTT_SGMLFORMAT) XML_USED= no @@ -382,6 +394,11 @@ CONFIGURE_ARGS+= --with-gss USE_KRB5_SYS=YES .endif .endif +.if defined(WITH_MUTT_SMTP) +CONFIGURE_ARGS+= --enable-smtp +.else +CONFIGURE_ARGS+= --disable-smtp +.endif PATCH_DIST_STRIP= -p1 |