pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mutt-devel Use INSTALLATION_DIRS instead of creat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d59c60dd60dc
branches:  trunk
changeset: 511200:d59c60dd60dc
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Apr 11 14:13:21 2006 +0000

description:
Use INSTALLATION_DIRS instead of creating directories at pre-install.

diffstat:

 mail/mutt-devel/Makefile |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r f69a67812cce -r d59c60dd60dc mail/mutt-devel/Makefile
--- a/mail/mutt-devel/Makefile  Tue Apr 11 13:57:51 2006 +0000
+++ b/mail/mutt-devel/Makefile  Tue Apr 11 14:13:21 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2006/04/11 13:57:32 jlam Exp $
+# $NetBSD: Makefile,v 1.47 2006/04/11 14:13:21 jlam Exp $
 
 DISTNAME=              mutt-1.5.11
 PKGREVISION=           4
@@ -51,6 +51,7 @@
 CONF_FILES=            ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
 CONF_FILES+=           ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
 FILES_SUBST+=          DOCDIR=${DOCDIR:Q}
+INSTALLATION_DIRS+=    ${DOCDIR} ${EGDIR}
 
 # Define WRKSRC explicitly so we can use its value below.
 WRKSRC=                        ${WRKDIR}/${DISTNAME}
@@ -79,8 +80,4 @@
                        $$file.save > $$file;                           \
        done
 
-pre-install:
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA_DIR} ${DOCDIR}
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index