diff options
author | rene <rene@FreeBSD.org> | 2010-08-28 18:29:15 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2010-08-28 18:29:15 +0800 |
commit | f698f2ed2da13dd584497a76883e959940cc7523 (patch) | |
tree | 1117c1c077f4c9737bc36edc41293967220af0c7 /mail/mutt | |
parent | fccf7171dbfa252285816fdcb53b196b5a639f25 (diff) | |
download | freebsd-ports-gnome-f698f2ed2da13dd584497a76883e959940cc7523.tar.gz freebsd-ports-gnome-f698f2ed2da13dd584497a76883e959940cc7523.tar.zst freebsd-ports-gnome-f698f2ed2da13dd584497a76883e959940cc7523.zip |
- add options for user-settable knobs [1]
- replace an .error with an IGNORE [1]
- s/WITH_NCURSES_PORT/WITH_NCURSES [1]
- pet portlint for fatal errors and capitalization of IGNORE lines
- invert SGML logic for Alpha architecture
PR: ports/149061 [1]
Submitted by: David DEMELIER [demelier.david gmail.com]
Reviewed by: Chip Camden [sterling camdensoftware.com] (during last bugathon)
Approved by: maintainer timeout (21 days)
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/Makefile | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index ae1538814edd..1a2892de2a5d 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -30,6 +30,19 @@ MAINTAINER?= udo.schweigert@siemens.com COMMENT?= The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc.) CONFLICTS= mutt-devel-* + +OPTIONS= NLS "Native Language Support via gettext utilities" on \ + SLANG "Adds display/screen management via S-Lang" off \ + NCURSES "Adds ncurses console graphics support" off \ + SGML_DOCS "Enable mutt SGML documentation" off \ + LOCALES_FIX "Enable locales fixes" off \ + MUTT_XFACE "Adds mutt X-Face" off \ + MUTT_FLOCK "Enable mutt flock" on \ + MUTT_ICONV "Enable mutt iconv" on \ + GSSAPI "GSSAPI (Kerberos) support" on + +USE_OPENSSL= yes + .include <bsd.port.pre.mk> RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support @@ -42,17 +55,17 @@ USE_GMAKE= yes .endif .if defined (MUTT_LITE) PKGNAMESUFFIX= -lite -WITH_SGML_DOCS:=no -.elif ${MACHINE_ARCH} != "alpha" +WITH_SGML_DOCS:="no" +.elif ${ARCH} == "alpha" # coredump in sgmls -WITH_SGML_DOCS?=yes +WITH_SGML_DOCS:="no" .endif .if !defined(WITHOUT_NLS) USE_GETTEXT= yes USE_ICONV= yes .if defined(WITHOUT_MUTT_ICONV) -.error the WITHOUT_MUTT_ICONV knob of the mutt port only works if \ +IGNORE= the WITHOUT_MUTT_ICONV knob of the mutt port only works if \ WITHOUT_NLS is also given .endif .elif !defined(WITHOUT_MUTT_ICONV) @@ -61,12 +74,12 @@ USE_ICONV= yes .if defined(WITH_SLANG) LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 -.elif defined(WITH_NCURSES_PORT) +.elif defined(WITH_NCURSES) LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses .endif .if !defined (MUTT_LITE) .if defined(WITH_MUTT_CYRUS_SASL) -IGNORE= The SASL support for mutt has been withdrawn. Please use the mutt-devel port instead +IGNORE= the SASL support for mutt has been withdrawn. Please use the mutt-devel port instead .endif .if defined(WITH_SGML_DOCS) && ${WITH_SGML_DOCS} != "no" BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat @@ -79,7 +92,6 @@ RUN_DEPENDS+= slrnface:${PORTSDIR}/news/slrnface DIST_SUBDIR= mutt WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} -USE_OPENSSL= yes GNU_CONFIGURE= yes USE_AUTOTOOLS= automake:19 autoconf:262 LDFLAGS+= -L${LOCALBASE}/lib @@ -113,7 +125,7 @@ CONFIGURE_ARGS+= --with-libiconv-prefix=${PREFIX} .endif .if defined(WITH_SLANG) CONFIGURE_ARGS+= --with-slang=${PREFIX} -.elif defined(WITH_NCURSES_PORT) +.elif defined(WITH_NCURSES) CONFIGURE_ARGS+= --with-curses=${PREFIX} CFLAGS+= -I${PREFIX}/include/ncurses -I${PREFIX}/include .endif |