summaryrefslogtreecommitdiff
path: root/misc/gnome2-dirs/dirs.mk
blob: 7f00889e16cfd29b78d67c9a55eeeeadb4a31ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $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.
#

.if !defined(DIRS_GNOME2_MK)
DIRS_GNOME2_MK=		# defined

_USE_XDG_DIRS=		1.1
.include "../../misc/xdg-dirs/dirs.mk"
.include "../../misc/gnome-dirs/dirs.mk"

GNOME2_DIRS=		share/control-center-2.0
GNOME2_DIRS+=		share/control-center-2.0/capplets
GNOME2_DIRS+=		share/control-center-2.0/icons
GNOME2_DIRS+=		share/gnome-2.0
GNOME2_DIRS+=		share/gnome-2.0/ui
GNOME2_DIRS+=		share/gnome/wm-properties

.if defined(_USE_GNOME2_DIRS) && !empty(_USE_GNOME2_DIRS)
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
.  undef dir
.endif

.endif			# !defined(DIRS_GNOME2_MK)