pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mutt Optimizie substition handling of "mutt.man".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9b61298c019
branches:  trunk
changeset: 511248:e9b61298c019
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Apr 12 13:29:20 2006 +0000

description:
Optimizie substition handling of "mutt.man".

diffstat:

 mail/mutt/Makefile |  26 ++++++++------------------
 1 files changed, 8 insertions(+), 18 deletions(-)

diffs (40 lines):

diff -r dd9dbff253e5 -r e9b61298c019 mail/mutt/Makefile
--- a/mail/mutt/Makefile        Wed Apr 12 13:26:11 2006 +0000
+++ b/mail/mutt/Makefile        Wed Apr 12 13:29:20 2006 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index