openbsd-ports/mail/mutt/snapshot/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.64 2010/10/18 20:29:53 jsg Exp $
COMMENT= tty-based e-mail client, development version
2010-09-15 14:42:38 -04:00
DISTNAME= mutt-1.5.21
REVISION= 1
2010-09-15 14:42:38 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mutt/}
WANTLIB= qdbm.>=14 z
FLAVORS= idn sasl sidebar
FLAVOR?=
AUTOCONF_VERSION= 2.64
CONFIGURE_ARGS= --enable-hcache \
--enable-smtp \
--without-gdbm
LIB_DEPENDS= ::databases/qdbm
BUILD_DEPENDS+= ::textproc/docbook \
::textproc/docbook-xsl \
::textproc/libxslt
.if ${FLAVOR:L:Msasl}
CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
LIB_DEPENDS+= ::security/cyrus-sasl2
WANTLIB+= sasl2
.endif
MUTTRCDIR= doc/
DIST_COMPRESSED=compressed-5302767aa6aa.gz:2
DIST_SIDEBAR= sidebar-5302767aa6aa.gz:2
.if ${FLAVOR:L:Msidebar}
PATCHFILES+= ${DIST_SIDEBAR}
PATCH_DIST_STRIP= -p1
.else
SUPDISTFILES+= ${DIST_SIDEBAR}
.endif
AUTOMAKE_VERSION= 1.9
CONFIGURE_STYLE= gnu
2010-10-18 15:59:15 -04:00
USE_GROFF = Yes
BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
post-patch:
cd ${WRKSRC}; \
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
autoreconf --install
.include <bsd.port.mk>