aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1999-02-23 11:17:12 +0800
committerjkoshy <jkoshy@FreeBSD.org>1999-02-23 11:17:12 +0800
commit5988ae55d2ed4a526d287a2692ff1ed4dbf492eb (patch)
treee195f9525c8e9df7918444c8cf7e1bb227c71f73 /mail
parenteeba8cc4917742d09ab03959731d8f1096a4f5a5 (diff)
downloadfreebsd-ports-gnome-5988ae55d2ed4a526d287a2692ff1ed4dbf492eb.tar.gz
freebsd-ports-gnome-5988ae55d2ed4a526d287a2692ff1ed4dbf492eb.tar.zst
freebsd-ports-gnome-5988ae55d2ed4a526d287a2692ff1ed4dbf492eb.zip
Additional config options at port build time.
PR: ports/10119 Reviewed by: jkoshy Submitted by: Scott Blachowicz <sab@seanet.com>
Diffstat (limited to 'mail')
-rw-r--r--mail/nmh/Makefile35
-rw-r--r--mail/nmh/pkg-install9
2 files changed, 40 insertions, 4 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index b0b357995d29..d7244bc31d05 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -5,6 +5,29 @@
#
# $Id: Makefile,v 1.11 1999/02/11 08:57:13 jkoshy Exp $
#
+# Makefile variables of interest:
+#
+# NMH_MTS - pass an MTS specification through to nmh's configure
+# script's "--with-mts" option. Do a "make extract" and check
+# the NMH distribution's "INSTALL" file for more info.
+# Currently, the valid choices are
+# "smtp" - [the default] Open a connection to the SMTP port on
+# the configured server, default - localhost. The server would
+# be specified in the etc/nmh/mts.conf file after installation.
+# This requires access to a SMTP daemon on the localhost or the
+# specified server system.
+# "sendmail" - Fork a copy of sendmail to handle the message. This
+# will have different behavior than "smtp" depending on your
+# local MTA and its configuration. For example, some of the
+# rewriting facilities of "qmail-inject", if you are using qmail,
+# may be available this way, but not via NMH_MTS=smtp.
+#
+# NMH_EDITOR - pass an EDITOR specification through to nmh's configure
+# script's '--with-editor' option.
+#
+# NMH_PAGER - pass an PAGER specification through to nmh's configure
+# script's '--with-pager' option.
+#
DISTNAME= nmh-1.0
CATEGORIES= mail
@@ -15,8 +38,16 @@ MAINTAINER= Scott.Blachowicz@seaslug.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/nmh \
- --sysconfdir=${PREFIX}/etc/nmh --enable-nmh-pop \
- --with-mts=sendmail
+ --sysconfdir=${PREFIX}/etc/nmh --enable-nmh-pop
+.ifdef NMH_MTS
+CONFIGURE_ARGS+= --with-mts=${NMH_MTS}
+.endif
+.ifdef NMH_EDITOR
+CONFIGURE_ARGS+= --with-editor=${NMH_EDITOR}
+.endif
+.ifdef NMH_PAGER
+CONFIGURE_ARGS+= --with-pager=${NMH_PAGER}
+.endif
MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 folder.1 forw.1 \
inc.1 mark.1 mh-chart.1 mhbuild.1 mhl.1 mhlist.1 mhmail.1 \
diff --git a/mail/nmh/pkg-install b/mail/nmh/pkg-install
index f03793f1d2a5..ed90d33ff426 100644
--- a/mail/nmh/pkg-install
+++ b/mail/nmh/pkg-install
@@ -6,8 +6,13 @@ case "$2" in
Some files you might need to customize include the following:
- ${PKG_PREFIX}/etc/nmh/mhn.defaults
- ${PKG_PREFIX}/etc/nmh/mts.conf
+ ${PKG_PREFIX}/etc/nmh/mhn.defaults - For example, you may
+ want to adjust the programs used to handle various MIME
+ content types.
+
+ ${PKG_PREFIX}/etc/nmh/mts.conf - For example, you may need
+ to adjust the "servers" setting if you don't have a
+ locally installed sendmail (or other MTA).
=============================================================
EOF