1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/mail/nmh/Makefile
Jimmy Olgeni 168f57451a Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.

CR:		D306
Approved by:	portmgr (bapt)
2014-07-07 15:31:01 +00:00

76 lines
2.1 KiB
Makefile

# Created by: Scott Blachowicz <scott+ports@sabami.seaslug.org>
# $FreeBSD$
PORTNAME= nmh
PORTVERSION= 1.6
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= nmh
MAINTAINER= cy@FreeBSD.org
COMMENT= Cleaned up MH mailer suite
LICENSE= BSD3CLAUSE
USES= gmake iconv shebangfix
SHEBANG_FILES= docs/contrib/ml docs/contrib/replyfilter docs/contrib/vpick
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/libexec/nmh \
--sysconfdir=${PREFIX}/etc/nmh \
--docdir=${DOCSDIR}
OPTIONS_DEFINE= DOCS HASH_BKP SASL2 TLS REPLYFILTER
OPTIONS_SINGLE= MTS LOCKING
OPTIONS_SINGLE_MTS= SMTP SENDMAIL_SMTP SENDMAIL_PIPE
OPTIONS_SINGLE_LOCKING= DOT FCNTL FLOCK LOCKF
SASL2_DESC= SASL2 support
SASL2_CONFIGURE_WITH= cyrus-sasl
SASL2_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
SASL2_LDFLAGS=-L${LOCALBASE}/lib
SASL2_CPPFLAGS=-I${LOCALBASE}/include
HASH_BKP_DESC= Use hash as backup prefix (default is a comma)
HASH_BKP_CONFIGURE_WITH= hash-backup
REPLYFILTER_DESC= Install dependencies for contrib/replyfilter
REPLYFILTER_RUN_DEPENDS= p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools \
p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
w3m>=0:${PORTSDIR}/www/w3m \
par>=0:${PORTSDIR}/textproc/par
SMTP_DESC= Use remote SMTP
SMTP_CONFIGURE_ON= --with-mts=smtp
SENDMAIL_SMTP_DESC= Use local sendmail (connect through socket)
SENDMAIL_SMTP_CONFIGURE_ON= --with-mts=sendmail/smtp
SENDMAIL_PIPE_DESC= Use local sendmail (connect through pipe)
SENDMAIL_PIPE_CONFIGURE_ON= --with-mts=sendmail/pipe
DOT_DESC= Dot file locking
DOT_CONFIGURE_ON= --with-locking=dot
FCNTL_DESC= fcntl() file locking
FCNTL_CONFIGURE_ON= --with-locking=fcntl
FLOCK_DESC= flock() file locking
FLOCK_CONFIGURE_ON= --with-locking=flock
LOCKF_DESC= lockf file locking
LOCKF_CONFIGURE_ON= --with-locking=lockf
OPTIONS_DEFAULT= SMTP FLOCK
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTLS}
CONFIGURE_ARGS+= --with-tls
USE_OPENSSL= yes
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
LDFLAGS+= -g
DEBUG_FLAGS+= -O0 -Wall -Wextra -g
.endif
CONFLICTS= ja-mh-[0-9]*
.include <bsd.port.mk>