diff options
author | kim <kim> | 1999-03-04 09:12:39 +0000 |
---|---|---|
committer | kim <kim> | 1999-03-04 09:12:39 +0000 |
commit | 7241222c0aea31683b2cc7ade9c3f4537167e53d (patch) | |
tree | 0fdefca3abde3213f2ab06906915c768d74144ab /mail/nmh/Makefile | |
parent | c8f146b1d4fd59d0028b24232707bb32cae24815 (diff) | |
download | pkgsrc-7241222c0aea31683b2cc7ade9c3f4537167e53d.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" |