summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-12-12 05:14:15 +0000
committermarkd <markd@pkgsrc.org>2007-12-12 05:14:15 +0000
commit98be5e390cd18949316628b4465f9d08d81712f3 (patch)
tree02fcc4dcfd9a79bdd6ab3afed56bc6bb784a95e2 /mk
parent0cbe53441781548c5ee42f50b1c58ffd178a1825 (diff)
downloadpkgsrc-98be5e390cd18949316628b4465f9d08d81712f3.tar.gz
Add support for kde4 (currently in wip) so that packages in wip can use
"USE_DIRS+= kde4-1.0"
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 efec7d0cda2..3a56118326c 100644
--- a/mk/dirs.mk
+++ b/mk/dirs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.12 2007/08/23 09:49:18 joerg Exp $
+# $NetBSD: dirs.mk,v 1.13 2007/12/12 05:14:15 markd Exp $
#
.if !defined(DIRS_MK)
@@ -7,6 +7,7 @@ DIRS_MK= # defined
_USE_GNOME1_DIRS= # empty
_USE_GNOME2_DIRS= # empty
_USE_KDE3_DIRS= # empty
+_USE_KDE4_DIRS= # empty
_USE_TEXMF_DIRS= # empty
_USE_THEME_DIRS= # empty
_USE_XDG_DIRS= # empty
@@ -23,6 +24,8 @@ _USE_GNOME1_DIRS:= ${ver}
_USE_GNOME2_DIRS:= ${ver}
. elif ${pkg} == "kde3" && ${_USE_KDE3_DIRS} < ${ver}
_USE_KDE3_DIRS:= ${ver}
+. elif ${pkg} == "kde4" && ${_USE_KDE4_DIRS} < ${ver}
+_USE_KDE4_DIRS:= ${ver}
. elif ${pkg} == "texmf" && ${_USE_TEXMF_DIRS} < ${ver}
_USE_TEXMF_DIRS:= ${ver}
. elif ${pkg} == "theme" && ${_USE_THEME_DIRS} < ${ver}
@@ -51,6 +54,10 @@ _USE_XDG_X11_DIRS:= ${ver}
. include "../../misc/kde3-dirs/dirs.mk"
.endif
+.if !empty(_USE_KDE4_DIRS)
+. include "../../wip/kde4-dirs/dirs.mk"
+.endif
+
.if !empty(_USE_TEXMF_DIRS)
. include "../../print/texmf-dirs/dirs.mk"
.endif