summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 93eb103cd92..cffec6538d9 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.89 2002/12/01 15:38:00 salo Exp $
+# $NetBSD: Makefile,v 1.90 2002/12/03 21:21:57 jmmv Exp $
DISTNAME= mutt-1.4i
PKGNAME= ${DISTNAME:C/i$//}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
@@ -63,6 +63,14 @@ EGDIR= ${PREFIX}/share/examples/mutt
CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
SUPPORT_FILES= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
+post-extract:
+ ${MV} ${WRKSRC}/doc/mutt.man ${WRKSRC}/doc/mutt.man.in
+
+pre-build:
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" \
+ -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
+ < ${WRKSRC}/doc/mutt.man.in > ${WRKSRC}/doc/mutt.man
+
post-install:
${LN} -s ${EGDIR} ${PREFIX}/share/doc/mutt/samples