diff options
author | kim <kim@pkgsrc.org> | 1999-03-04 09:12:39 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1999-03-04 09:12:39 +0000 |
commit | 3c4a00b8d312a911a9f23931bb82bb13a2cbdcf0 (patch) | |
tree | 0fdefca3abde3213f2ab06906915c768d74144ab /mail/nmh/Makefile | |
parent | 9b1b024f643464817267fcee208b8ef53685d498 (diff) | |
download | pkgsrc-3c4a00b8d312a911a9f23931bb82bb13a2cbdcf0.tar.gz |
Upgraded to nmh-1.0
Diffstat (limited to 'mail/nmh/Makefile')
-rw-r--r-- | mail/nmh/Makefile | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 215b0d87779..a2eb01dc66c 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.21 1999/02/20 22:48:34 hubertf Exp $ +# $NetBSD: Makefile,v 1.22 1999/03/04 09:12:39 kim Exp $ # FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp # -DISTNAME= nmh-0.27 +DISTNAME= nmh-1.0 CATEGORIES= mail MASTER_SITES= ftp://ftp.math.gatech.edu/pub/nmh/ @@ -13,16 +13,29 @@ HOMEPAGE= http://www.math.gatech.edu/nmh/ NMH_MTA?= smtp GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nmh \ - --sysconfdir=${PREFIX}/etc/nmh --enable-nmh-pop \ +CONFIGURE_ARGS+= \ + --libdir=${PREFIX}/libexec/nmh \ + --sysconfdir=${PREFIX}/etc/nmh \ + --enable-nmh-pop \ --with-mts=${NMH_MTA} +.if exists(/usr/lib/libkrb.a) && (defined(MAKE_EBONES) || defined(MAKE_KERBEROS4)) +CONFIGURE_ARGS+= --with-krb4=yes +.endif + +DOCDIR= share/doc/nmh + # Since we patch the autoconf files as well as their outputs, avoid attempt # to regenerate header input files with 'autoheader' by Makefile. post-patch: - ${ECHO} > ${WRKSRC}/stamp-h.in + ${TOUCH} ${WRKSRC}/stamp-h.in post-install: + @${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR} + @for f in `grep '^${DOCDIR}/' ${PKGDIR}/PLIST`; do \ + ${INSTALL_DATA} ${WRKSRC}/`basename $$f` ${PREFIX}/${DOCDIR}; \ + done + @${INSTALL_DATA} ${FILESDIR}/mhn.defaults ${PREFIX}/etc/nmh @PKG_PREFIX='${PREFIX}' sh -f ${PKGDIR}/INSTALL .include "../../mk/bsd.pkg.mk" |