summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron>2006-04-12 13:29:20 +0000
committertron <tron>2006-04-12 13:29:20 +0000
commita29809053f17ea31a466b7c6155ba4af1f5e4010 (patch)
tree7c0c009f964f8e58a244dce6784d44101cd60c68 /mail
parent3cd2c212ac6dd3001c84a4833acd4e75eca654b9 (diff)
downloadpkgsrc-a29809053f17ea31a466b7c6155ba4af1f5e4010.tar.gz
Optimizie substition handling of "mutt.man".
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt/Makefile26
1 files changed, 8 insertions, 18 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index f206ba85371..73eebe773b0 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.137 2006/04/11 13:26:01 tron Exp $
+# $NetBSD: Makefile,v 1.138 2006/04/12 13:29:20 tron Exp $
DISTNAME= mutt-1.4.2.1i
PKGNAME= ${DISTNAME:C/i$//}
@@ -43,23 +43,13 @@ SUBST_STAGE.gpg= post-patch
SUBST_FILES.gpg= contrib/gpg.rc
SUBST_SED.gpg= -e "s,/usr/bin/gpg,gpg,g"
-SUBST_CLASSES+= docdir
-SUBST_MESSAGE.docdir= Fixing path to documentation directory.
-SUBST_STAGE.docdir= post-patch
-SUBST_FILES.docdir= doc/mutt.man
-SUBST_SED.docdir= -e "s,/usr/local/doc/mutt/,${DOCDIR}/,g"
-
-SUBST_CLASSES+= confdir
-SUBST_MESSAGE.confdir= Fixing path do configuration directory.
-SUBST_STAGE.confdir= post-patch
-SUBST_FILES.confdir= doc/mutt.man
-SUBST_SED.confdir= -e "s,/etc/,${PKG_SYSCONFDIR}/,g"
-
-SUBST_CLASSES+= prefix
-SUBST_MESSAGE.prefix= Fixing installation directory.
-SUBST_STAGE.prefix= post-patch
-SUBST_FILES.prefix= doc/mutt.man
-SUBST_SED.prefix= -e "s,/usr/local/,${PREFIX}/,g"
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= Fixing pathnames in manual pagae.
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= doc/mutt.man
+SUBST_SED.paths= -e "s,/usr/local/doc/mutt/,${DOCDIR}/,g"
+SUBST_SED.paths+= -e "s,/etc/,${PKG_SYSCONFDIR}/,g"
+SUBST_SED.paths+= -e "s,/usr/local/,${PREFIX}/,g"
.if ${OPSYS} == "Interix"
SUBST_CLASSES+= mgroup