# $OpenBSD: Makefile,v 1.26 2009/02/16 15:28:58 sthen Exp $ COMMENT= new MH mail handling program DISTNAME= nmh-1.2 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SAVANNAH:=nmh/} HOMEPAGE= http://www.nongnu.org/nmh/ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c termcap SYSCONFDIR= ${PREFIX}/lib/nmh CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --libdir='$${exec_prefix}/libexec' \ --enable-apop \ --with-locking=fcntl FLAVORS= sasl FLAVOR?= CONFIGURE_ENV+= ac_cv_header_db_h=no USE_GMAKE= Yes .if ${FLAVOR:L:Msasl} LIB_DEPENDS+= sasl2::security/cyrus-sasl2 CPPFLAGS+= -I${LOCALBASE}/include/sasl CONFIGURE_ARGS+= --with-cyrus-sasl=${PREFIX} .endif NO_REGRESS= Yes .include