summaryrefslogtreecommitdiff
path: root/misc/gnome1-dirs
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-05-31 18:53:32 +0000
committerjmmv <jmmv@pkgsrc.org>2005-05-31 18:53:32 +0000
commit0dcda0ebc145c7c4a3552e1c34e8d84bc2a010d3 (patch)
treef9341e33d0568bdc41f494322e3a68d51f15cdab /misc/gnome1-dirs
parent26846bf423185136d937391555326c8f17b17b7c (diff)
downloadpkgsrc-0dcda0ebc145c7c4a3552e1c34e8d84bc2a010d3.tar.gz
During PLIST generation, suppress MKDIR lines that create directories
handled by these packages. Found by wiz@.
Diffstat (limited to 'misc/gnome1-dirs')
-rw-r--r--misc/gnome1-dirs/dirs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/gnome1-dirs/dirs.mk b/misc/gnome1-dirs/dirs.mk
index e00e2a447a2..b4ea30cfaba 100644
--- a/misc/gnome1-dirs/dirs.mk
+++ b/misc/gnome1-dirs/dirs.mk
@@ -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 @@ GNOME1_DIRS= # none yet
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