summaryrefslogtreecommitdiff
path: root/mail/nmh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/nmh/Makefile')
-rw-r--r--mail/nmh/Makefile31
1 files changed, 14 insertions, 17 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 20ddd8a3ebf..65137a089fb 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.67 2008/03/11 18:47:40 tnn Exp $
+# $NetBSD: Makefile,v 1.68 2008/08/08 23:41:22 epg Exp $
-DISTNAME= nmh-1.0.4
-PKGREVISION= 7
+DISTNAME= nmh-1.3
CATEGORIES= mail
-MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \
- ftp://ftp.gw.com/pub/unix/mail/mh/nmh/
+MASTER_SITES= http://savannah.nongnu.org/download/nmh/
-MAINTAINER= kim@tac.nyc.ny.us
+MAINTAINER= epg@NetBSD.org
HOMEPAGE= http://www.nongnu.org/nmh/
COMMENT= Cleaned up MH mailer suite
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= ja-mh-[0-9]*
CONFLICTS+= ja-mh6-[0-9]*
@@ -27,10 +27,6 @@ USE_TOOLS+= lex
CFLAGS+= -O1
.endif
-.if !empty(MACHINE_PLATFORM:MIRIX-5*)
-CPPFLAGS+= -DIRIX5 # for a patch with extra typedefs
-.endif
-
.include "options.mk"
# Mail Transport Agent - either "smtp" or "sendmail"
@@ -62,7 +58,7 @@ CONFIGURE_ARGS+= --without-krb4
.endif
DOCDIR= share/doc/nmh
-EGDIR= ${PREFIX}/share/examples/nmh
+EGDIR= ${PREFIX}/share/examples/nmh
BUILD_DEFS+= NMH_MTA NMH_EDITOR NMH_PAGER NMH_HASH_BACKUP
@@ -93,20 +89,21 @@ CONF_FILES= # empty
scan.size \
scan.time \
scan.timely \
- scan.unseen \
- tmac.h
+ scan.unseen
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
# This hopefully makes sure the permissions and ownership are right.
pre-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
for f in `${GREP} '^${DOCDIR}/' ${PKGDIR}/PLIST`; do \
- ${INSTALL_DATA} ${WRKSRC}/`${BASENAME} $$f` ${PREFIX}/${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/docs/`${BASENAME} $$f` \
+ ${DESTDIR}${PREFIX}/${DOCDIR}; \
done
- ${INSTALL_DATA} ${FILESDIR}/mhn.defaults.dist ${EGDIR}/mhn.defaults
+ ${INSTALL_DATA} ${FILESDIR}/mhn.defaults.dist \
+ ${DESTDIR}${EGDIR}/mhn.defaults
.include "../../mk/bsd.pkg.mk"