pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc During PLIST generation, suppress MKDIR lines tha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2eeaff6a5825
branches:  trunk
changeset: 494894:2eeaff6a5825
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue May 31 18:53:32 2005 +0000

description:
During PLIST generation, suppress MKDIR lines that create directories
handled by these packages.  Found by wiz@.

diffstat:

 misc/XFree86-dirs/dirs.mk |  3 ++-
 misc/gnome1-dirs/dirs.mk  |  3 ++-
 misc/gnome2-dirs/dirs.mk  |  3 ++-
 misc/theme-dirs/dirs.mk   |  3 ++-
 misc/xdg-dirs/dirs.mk     |  3 ++-
 misc/xdg-x11-dirs/dirs.mk |  3 ++-
 misc/xorg-dirs/dirs.mk    |  3 ++-
 7 files changed, 14 insertions(+), 7 deletions(-)

diffs (119 lines):

diff -r e1862e76b4ed -r 2eeaff6a5825 misc/XFree86-dirs/dirs.mk
--- a/misc/XFree86-dirs/dirs.mk Tue May 31 18:38:56 2005 +0000
+++ b/misc/XFree86-dirs/dirs.mk Tue May 31 18:53:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.3 2004/07/30 11:24:38 xtraeme Exp $
+# $NetBSD: dirs.mk,v 1.4 2005/05/31 18:53:32 jmmv Exp $
 #
 
 .if !defined(DIRS_XFREE86_MK)
@@ -31,6 +31,7 @@
 DEPENDS+=              XFree86-dirs>=${_USE_XFREE86_DIRS}:../../misc/XFree86-dirs
 
 .  for dir in ${XFREE86_DIRS}
+PRINT_PLIST_AWK+=      /^@exec $${MKDIR} %D/${dir:S|/|\\/|g}$$/ { next; }
 PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
                                { print "@comment in XFree86-dirs: "$$0; next; }
 .  endfor
diff -r e1862e76b4ed -r 2eeaff6a5825 misc/gnome1-dirs/dirs.mk
--- a/misc/gnome1-dirs/dirs.mk  Tue May 31 18:38:56 2005 +0000
+++ b/misc/gnome1-dirs/dirs.mk  Tue May 31 18:53:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.1 2004/04/14 15:26:41 jmmv Exp $
+# $NetBSD: dirs.mk,v 1.2 2005/05/31 18:53:32 jmmv Exp $
 #
 # This file is intended to be included by mk/dirs.mk, not directly by packages.
 #
@@ -16,6 +16,7 @@
 DEPENDS+=              gnome1-dirs>=${_USE_GNOME1_DIRS}:../../misc/gnome1-dirs
 
 .  for dir in ${GNOME_DIRS} ${GNOME1_DIRS}
+PRINT_PLIST_AWK+=      /^@exec $${MKDIR} %D/${dir:S|/|\\/|g}$$/ { next; }
 PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
                                { print "@comment in gnome1-dirs: " $$0; next; }
 .  endfor
diff -r e1862e76b4ed -r 2eeaff6a5825 misc/gnome2-dirs/dirs.mk
--- a/misc/gnome2-dirs/dirs.mk  Tue May 31 18:38:56 2005 +0000
+++ b/misc/gnome2-dirs/dirs.mk  Tue May 31 18:53:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.1 2004/04/14 15:26:41 jmmv Exp $
+# $NetBSD: dirs.mk,v 1.2 2005/05/31 18:53:32 jmmv Exp $
 #
 # This file is intended to be included by mk/dirs.mk, not directly by packages.
 #
@@ -21,6 +21,7 @@
 DEPENDS+=              gnome2-dirs>=${_USE_GNOME2_DIRS}:../../misc/gnome2-dirs
 
 .  for dir in ${GNOME_DIRS} ${GNOME2_DIRS}
+PRINT_PLIST_AWK+=      /^@exec $${MKDIR} %D/${dir:S|/|\\/|g}$$/ { next; }
 PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
                                { print "@comment in gnome2-dirs: " $$0; next; }
 .  endfor
diff -r e1862e76b4ed -r 2eeaff6a5825 misc/theme-dirs/dirs.mk
--- a/misc/theme-dirs/dirs.mk   Tue May 31 18:38:56 2005 +0000
+++ b/misc/theme-dirs/dirs.mk   Tue May 31 18:53:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.2 2005/05/10 20:21:57 jmmv Exp $
+# $NetBSD: dirs.mk,v 1.3 2005/05/31 18:53:32 jmmv Exp $
 #
 # This file is intended to be included by mk/dirs.mk, not directly by packages.
 #
@@ -39,6 +39,7 @@
 DEPENDS+=              theme-dirs>=${_USE_THEME_DIRS}:../../misc/theme-dirs
 
 .  for dir in ${THEME_DIRS}
+PRINT_PLIST_AWK+=      /^@exec $${MKDIR} %D/${dir:S|/|\\/|g}$$/ { next; }
 PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
                                { print "@comment in theme-dirs: " $$0; next; }
 .  endfor
diff -r e1862e76b4ed -r 2eeaff6a5825 misc/xdg-dirs/dirs.mk
--- a/misc/xdg-dirs/dirs.mk     Tue May 31 18:38:56 2005 +0000
+++ b/misc/xdg-dirs/dirs.mk     Tue May 31 18:53:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.2 2005/04/19 10:52:26 wiz Exp $
+# $NetBSD: dirs.mk,v 1.3 2005/05/31 18:53:32 jmmv Exp $
 #
 # This file is intended to be included by mk/dirs.mk, not directly by packages.
 #
@@ -20,6 +20,7 @@
 DEPENDS+=              xdg-dirs>=${_USE_XDG_DIRS}:../../misc/xdg-dirs
 
 .  for dir in ${XDG_DIRS}
+PRINT_PLIST_AWK+=      /^@exec $${MKDIR} %D/${dir:S|/|\\/|g}$$/ { next; }
 PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
                                { print "@comment in xdg-dirs: " $$0; next; }
 .  endfor
diff -r e1862e76b4ed -r 2eeaff6a5825 misc/xdg-x11-dirs/dirs.mk
--- a/misc/xdg-x11-dirs/dirs.mk Tue May 31 18:38:56 2005 +0000
+++ b/misc/xdg-x11-dirs/dirs.mk Tue May 31 18:53:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.2 2005/04/19 13:06:49 wiz Exp $
+# $NetBSD: dirs.mk,v 1.3 2005/05/31 18:53:32 jmmv Exp $
 #
 # This file is intended to be included by mk/dirs.mk, not directly by packages.
 #
@@ -20,6 +20,7 @@
 DEPENDS+=              xdg-x11-dirs>=${_USE_XDG_X11_DIRS}:../../misc/xdg-x11-dirs
 
 .  for dir in ${XDG_X11_DIRS}
+PRINT_PLIST_AWK+=      /^@exec $${MKDIR} %D/${dir:S|/|\\/|g}$$/ { next; }
 PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
                                { print "@comment in xdg-x11-dirs: " $$0; next; }
 .  endfor
diff -r e1862e76b4ed -r 2eeaff6a5825 misc/xorg-dirs/dirs.mk
--- a/misc/xorg-dirs/dirs.mk    Tue May 31 18:38:56 2005 +0000
+++ b/misc/xorg-dirs/dirs.mk    Tue May 31 18:53:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.2 2004/07/30 11:24:38 xtraeme Exp $
+# $NetBSD: dirs.mk,v 1.3 2005/05/31 18:53:32 jmmv Exp $
 #
 
 .if !defined(DIRS_XORG_MK)
@@ -31,6 +31,7 @@
 DEPENDS+=              xorg-dirs>=${_USE_XORG_DIRS}:../../misc/xorg-dirs
 
 .  for dir in ${XORG_DIRS}
+PRINT_PLIST_AWK+=      /^@exec $${MKDIR} %D/${dir:S|/|\\/|g}$$/ { next; }
 PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
                                { print "@comment in xorg-dirs: "$$0; next; }
 .  endfor



Home | Main Index | Thread Index | Old Index