summaryrefslogtreecommitdiff
path: root/mail/mutt14/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mutt14/Makefile')
-rw-r--r--mail/mutt14/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index 8915456342cf..08480bf54476 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/Makefile
@@ -4,7 +4,7 @@
# Date created: Thur July 25, 1996
# Whom: David O'Brien (obrien@NUXI.com)
#
-# $Id: Makefile,v 1.44 1998/07/16 05:57:09 obrien Exp $
+# $Id: Makefile,v 1.45 1998/07/17 18:52:17 obrien Exp $
DISTNAME= mutt-0.93.1i
PKGNAME= mutt-0.93.1
@@ -25,9 +25,14 @@ PATCHFILES=
MAINTAINER= obrien@FreeBSD.org
-LIB_DEPENDS= ncurses\\.4\\.:${PORTSDIR}/devel/ncurses
.if defined(BATCH)
+LIB_DEPENDS= slang\\.1\\.:${PORTSDIR}/devel/libslang
+BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
+.elif defined(USE_NCURSES_PORT)
+LIB_DEPENDS= ncurses\\.4\\.:${PORTSDIR}/devel/ncurses
+.elif defined(USE_SLANG)
+LIB_DEPENDS= slang\\.1\\.:${PORTSDIR}/devel/libslang
.endif
DIST_SUBDIR= mutt
@@ -36,8 +41,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-dsn --enable-pop --enable-imap --enable-flock \
--disable-fcntl --enable-hidden-host \
--with-sharedir=${PREFIX}/share/misc \
- --with-docdir=${PREFIX}/share/doc/mutt \
- --with-curses=${PREFIX}
+ --with-docdir=${PREFIX}/share/doc/mutt
+.if defined(BATCH) || defined(USE_SLANG)
+CONFIGURE_ARGS+= --with-slang=${PREFIX}
+.elif defined(USE_NCURSES_PORT)
+CONFIGURE_ARGS+= --with-curses=${PREFIX}
+.endif
MAN1= mutt.1
post-patch: