1997-06-04 04:39:25 +00:00
|
|
|
# New ports collection makefile for: nmh
|
1999-02-11 08:57:13 +00:00
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: 07 Feb 1999
|
1997-06-04 04:39:25 +00:00
|
|
|
# Whom: Scott Blachowicz <Scott.Blachowicz@seaslug.org>
|
|
|
|
#
|
1999-05-10 17:47:01 +00:00
|
|
|
# $Id: Makefile,v 1.13 1999/02/23 03:17:04 jkoshy Exp $
|
1997-06-04 04:39:25 +00:00
|
|
|
#
|
1999-02-23 03:17:12 +00:00
|
|
|
# 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.
|
|
|
|
#
|
1997-06-04 04:39:25 +00:00
|
|
|
|
1999-02-11 08:57:13 +00:00
|
|
|
DISTNAME= nmh-1.0
|
1997-06-04 04:39:25 +00:00
|
|
|
CATEGORIES= mail
|
1999-05-10 17:47:01 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \
|
1999-02-11 08:57:13 +00:00
|
|
|
http://www.freebsd.org/~jkoshy/PORTS/
|
1997-06-04 04:39:25 +00:00
|
|
|
|
|
|
|
MAINTAINER= Scott.Blachowicz@seaslug.org
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1998-01-05 19:11:14 +00:00
|
|
|
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/nmh \
|
1999-02-23 03:17:12 +00:00
|
|
|
--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
|
1997-06-04 04:39:25 +00:00
|
|
|
|
1999-02-11 08:57:13 +00:00
|
|
|
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 \
|
|
|
|
mhn.1 mhparam.1 mhpath.1 mhshow.1 mhstore.1 msgchk.1 msh.1 \
|
|
|
|
next.1 nmh.1 packf.1 pick.1 prev.1 prompter.1 rcvdist.1 \
|
|
|
|
rcvpack.1 rcvstore.1 rcvtty.1 refile.1 repl.1 rmf.1 rmm.1 \
|
|
|
|
scan.1 send.1 sendfiles.1 show.1 slocal.1 sortm.1 \
|
|
|
|
vmh.1 whatnow.1 whom.1
|
1997-06-04 04:39:25 +00:00
|
|
|
|
|
|
|
MAN5= mh-alias.5 mh-draft.5 mh-format.5 mh-mail.5 mh-profile.5 \
|
|
|
|
mh-sequence.5 mh-tailor.5
|
|
|
|
|
|
|
|
MAN8= ap.8 conflict.8 dp.8 fmtdump.8 install-mh.8 mh-mts.8 post.8
|
|
|
|
|
1997-08-04 06:51:46 +00:00
|
|
|
# Since we patch the autoconf files as well as their outputs, avoid attempt
|
|
|
|
# to regenerate header input files with 'autoheader' by Makefile.
|
|
|
|
post-patch:
|
1998-01-05 19:11:14 +00:00
|
|
|
@${TOUCH} ${WRKSRC}/stamp-h.in
|
1997-08-04 06:51:46 +00:00
|
|
|
|
|
|
|
post-install:
|
1998-04-27 04:27:46 +00:00
|
|
|
@PKG_PREFIX='${PREFIX}' sh ${PKGDIR}/INSTALL
|
1998-01-05 19:11:14 +00:00
|
|
|
chgrp mail ${PREFIX}/bin/inc
|
|
|
|
chmod g+s ${PREFIX}/bin/inc
|
1997-08-04 06:51:46 +00:00
|
|
|
|
1997-06-04 04:39:25 +00:00
|
|
|
.include <bsd.port.mk>
|