2011-09-29 05:38:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.70 2011/09/29 09:38:13 sthen Exp $
|
2001-08-20 15:51:53 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= tty-based e-mail client, development version
|
2001-08-20 15:51:53 -04:00
|
|
|
|
2010-09-15 14:42:38 -04:00
|
|
|
DISTNAME= mutt-1.5.21
|
2011-04-26 10:04:05 -04:00
|
|
|
EPOCH= 0
|
2011-09-29 05:38:13 -04:00
|
|
|
REVISION= 0
|
2011-05-04 03:49:40 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mutt/} \
|
|
|
|
${MASTER_SITES_MUTT:=devel/}
|
2001-08-20 15:51:53 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
WANTLIB= qdbm>=14 z
|
2008-05-09 13:46:51 -04:00
|
|
|
|
2007-07-18 20:18:12 -04:00
|
|
|
FLAVORS= idn sasl sidebar
|
|
|
|
FLAVOR?=
|
2007-06-21 13:26:29 -04:00
|
|
|
|
2011-03-28 12:19:45 -04:00
|
|
|
AUTOCONF_VERSION= 2.65
|
2008-05-09 13:46:51 -04:00
|
|
|
CONFIGURE_ARGS= --enable-hcache \
|
|
|
|
--enable-smtp \
|
2007-06-21 13:26:29 -04:00
|
|
|
--without-gdbm
|
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS= databases/qdbm
|
|
|
|
BUILD_DEPENDS+= textproc/docbook \
|
|
|
|
textproc/docbook-xsl \
|
|
|
|
textproc/libxslt
|
2004-06-28 10:17:21 -04:00
|
|
|
|
2007-07-18 20:18:12 -04:00
|
|
|
.if ${FLAVOR:L:Msasl}
|
|
|
|
CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS+= security/cyrus-sasl2
|
2010-09-08 05:57:28 -04:00
|
|
|
WANTLIB+= sasl2
|
2007-07-18 20:18:12 -04:00
|
|
|
.endif
|
|
|
|
|
2008-05-21 09:46:19 -04:00
|
|
|
MUTTRCDIR= doc/
|
|
|
|
|
2010-09-08 05:57:28 -04:00
|
|
|
DIST_COMPRESSED=compressed-5302767aa6aa.gz:2
|
|
|
|
DIST_SIDEBAR= sidebar-5302767aa6aa.gz:2
|
2009-06-16 05:37:19 -04:00
|
|
|
|
2008-05-22 10:40:12 -04:00
|
|
|
.if ${FLAVOR:L:Msidebar}
|
2009-06-16 05:37:19 -04:00
|
|
|
PATCHFILES+= ${DIST_SIDEBAR}
|
2008-05-22 10:40:12 -04:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
.else
|
2009-06-16 05:37:19 -04:00
|
|
|
SUPDISTFILES+= ${DIST_SIDEBAR}
|
2008-05-22 10:40:12 -04:00
|
|
|
.endif
|
|
|
|
|
2010-09-08 05:57:28 -04:00
|
|
|
AUTOMAKE_VERSION= 1.9
|
|
|
|
CONFIGURE_STYLE= gnu
|
2010-10-18 15:59:15 -04:00
|
|
|
USE_GROFF = Yes
|
2010-09-08 05:57:28 -04:00
|
|
|
BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
autoreconf --install
|
|
|
|
|
2001-08-20 15:51:53 -04:00
|
|
|
.include <bsd.port.mk>
|