summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-12-24 10:06:41 +0000
committerjmmv <jmmv@pkgsrc.org>2004-12-24 10:06:41 +0000
commiteb0c4759ca4f89141f50436fb8b5a264e8cc069c (patch)
treebf7cd4c699df8a85b113548974096e3d7b0bf450 /mk
parent5af1578a10e8c45f33936c525f2ade77185bfb69 (diff)
downloadpkgsrc-eb0c4759ca4f89141f50436fb8b5a264e8cc069c.tar.gz
Enable theme-dirs.
Diffstat (limited to 'mk')
-rw-r--r--mk/dirs.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/dirs.mk b/mk/dirs.mk
index 9b1fdb54c25..86eec480edf 100644
--- a/mk/dirs.mk
+++ b/mk/dirs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.5 2004/08/07 14:44:05 xtraeme Exp $
+# $NetBSD: dirs.mk,v 1.6 2004/12/24 10:06:41 jmmv Exp $
#
.if !defined(DIRS_MK)
@@ -6,6 +6,7 @@ DIRS_MK= # defined
_USE_GNOME1_DIRS= # empty
_USE_GNOME2_DIRS= # empty
+_USE_THEME_DIRS= # empty
_USE_XDG_DIRS= # empty
_USE_XDG_X11_DIRS= # empty
_USE_XFREE86_DIRS= # empty
@@ -19,6 +20,8 @@ ver:= ${dir:C/^.*-//}
_USE_GNOME1_DIRS:= ${ver}
. elif ${pkg} == "gnome2" && ${_USE_GNOME2_DIRS} < ${ver}
_USE_GNOME2_DIRS:= ${ver}
+. elif ${pkg} == "theme" && ${_USE_THEME_DIRS} < ${ver}
+_USE_THEME_DIRS:= ${ver}
. elif ${pkg} == "xdg" && ${_USE_XDG_DIRS} < ${ver} && !defined(USE_X11BASE)
_USE_XDG_DIRS:= ${ver}
. elif ${pkg} == "xdg-x11" && ${_USE_XDG_X11_DIRS} < ${ver} && \
@@ -43,6 +46,10 @@ _USE_XORG_DIRS:= ${ver}
. include "../../misc/gnome2-dirs/dirs.mk"
.endif
+.if !empty(_USE_THEME_DIRS)
+. include "../../misc/theme-dirs/dirs.mk"
+.endif
+
.if !empty(_USE_XDG_DIRS)
. include "../../misc/xdg-dirs/dirs.mk"
.endif