summaryrefslogtreecommitdiff
path: root/misc/xdg-x11-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/xdg-x11-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/xdg-x11-dirs')
-rw-r--r--misc/xdg-x11-dirs/dirs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/xdg-x11-dirs/dirs.mk b/misc/xdg-x11-dirs/dirs.mk
index b4895b4d59e..3796ab34fca 100644
--- a/misc/xdg-x11-dirs/dirs.mk
+++ b/misc/xdg-x11-dirs/dirs.mk
@@ -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 @@ XDG_X11_DIRS+= share/themes
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