Add three new hooks...

* WITH_MUTT_POP
   * WITH_MUTT_IMAP
   * WITH_MUTT_POP_IMAP

They replace the --enable-pop and --enable-imap options that were the
defaults.  Now you have the choice to build with one or the other, both,
or neither (which is useful for those of us who don't need those
features).

Bump PORTREVISION.

Approved by:	maintainer
This commit is contained in:
Jim Mock 2001-07-26 07:45:44 +00:00
parent 1fbe4349b9
commit f5a2155a7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45501

View File

@ -8,6 +8,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.3.20
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.demon.co.uk/pub/mirrors/mutt/devel/ \
ftp://ftp.parodius.com/pub/mutt/devel/
@ -19,7 +20,7 @@ MAINTAINER= ust@cert.siemens.de
DIST_SUBDIR= mutt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
CONFIGURE_ARGS= --enable-flock --disable-fcntl \
--with-sharedir=${PREFIX}/share/mutt \
--with-docdir=${PREFIX}/share/doc/mutt \
--sysconfdir=${PREFIX}/etc \
@ -78,6 +79,15 @@ CONFIGURE_ARGS+= --with-curses=${PREFIX}
.if defined(WITH_MUTT_SSL)
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
.if defined(WITH_MUTT_POP)
CONFIGURE_ARGS+= --enable-pop
.endif
.if defined(WITH_MUTT_IMAP)
CONFIGURE_ARGS+= --enable-imap
.endif
.if defined(WITH_MUTT_POP_IMAP)
CONFIGURE_ARGS+= --enable-pop --enable-imap
.endif
PATCH_DIST_STRIP= -p1