naddy@, fgsch@ and I all agreed to remove the pop and imap

FLAVORs and intergrate them in the default install in both stable
and snapshot ports of mail/mutt
This commit is contained in:
lebel 2002-01-23 19:01:28 +00:00
parent 07997a1070
commit f834b96787
2 changed files with 5 additions and 18 deletions

View File

@ -1,8 +1,6 @@
# $OpenBSD: Makefile,v 1.48 2001/10/06 02:47:46 lebel Exp $ # $OpenBSD: Makefile,v 1.49 2002/01/23 19:01:28 lebel Exp $
SUBDIR += stable SUBDIR += stable
SUBDIR += stable,imap,pop
SUBDIR += snapshot SUBDIR += snapshot
SUBDIR += snapshot,imap,pop
.include <bsd.port.subdir.mk> .include <bsd.port.subdir.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2002/01/11 04:26:11 lebel Exp $ # $OpenBSD: Makefile,v 1.14 2002/01/23 19:01:28 lebel Exp $
COMMENT= "tty-based e-mail client, development version" COMMENT= "tty-based e-mail client, development version"
@ -24,14 +24,15 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
FLAVORS= slang imap pop mixmaster compressed FLAVORS= slang mixmaster compressed
FLAVOR?= FLAVOR?=
SYSCONFDIR= /etc/mutt SYSCONFDIR= /etc/mutt
CONFIGURE_ARGS= --with-sharedir="${PREFIX}/share/mutt" \ CONFIGURE_ARGS= --with-sharedir="${PREFIX}/share/mutt" \
--with-docdir="${PREFIX}/share/doc/mutt" \ --with-docdir="${PREFIX}/share/doc/mutt" \
--enable-flock --disable-fcntl \ --enable-flock --disable-fcntl \
--enable-external_dotlock --enable-external_dotlock \
--enable-imap --enable-pop --with-ssl
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \ LDFLAGS="-L${LOCALBASE}/lib" \
ISPELL="${LOCALBASE}/bin/ispell" ISPELL="${LOCALBASE}/bin/ispell"
@ -55,18 +56,6 @@ SUPDISTFILES+= patch-${VERSION}.rr.compressed.2.gz:0
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
.endif .endif
# If you need IMAP or POP, you may want to enable those.
.if ${FLAVOR:L:Mimap}
CONFIGURE_ARGS+= --enable-imap --with-ssl
.endif
# Note: The POP3 support is there only for convenience, and it's rather
# limited. If you need more functionality you should consider using a
# specialized program, such as fetchmail.
.if ${FLAVOR:L:Mpop}
CONFIGURE_ARGS+= --enable-pop --with-ssl
.endif
.if ${FLAVOR:L:Mmixmaster} .if ${FLAVOR:L:Mmixmaster}
CONFIGURE_ARGS+= --with-mixmaster="${LOCALBASE}/sbin/mixmaster" CONFIGURE_ARGS+= --with-mixmaster="${LOCALBASE}/sbin/mixmaster"
RUN_DEPENDS+= ::mail/mixmaster RUN_DEPENDS+= ::mail/mixmaster