summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorminskim <minskim>2006-04-06 23:09:06 +0000
committerminskim <minskim>2006-04-06 23:09:06 +0000
commit3c553f6d2f3e99bb6077c7c8117e9801cc51772c (patch)
tree3a1d04af6351e68cd9baa922bd500f66c0210eb2 /mk
parent697a6e697d87405ceaa155334a724203605ac43c (diff)
downloadpkgsrc-3c553f6d2f3e99bb6077c7c8117e9801cc51772c.tar.gz
Support texmf-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 86eec480edf..0b9f6202c95 100644
--- a/mk/dirs.mk
+++ b/mk/dirs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.6 2004/12/24 10:06:41 jmmv Exp $
+# $NetBSD: dirs.mk,v 1.7 2006/04/06 23:09:06 minskim Exp $
#
.if !defined(DIRS_MK)
@@ -6,6 +6,7 @@ DIRS_MK= # defined
_USE_GNOME1_DIRS= # empty
_USE_GNOME2_DIRS= # empty
+_USE_TEXMF_DIRS= # empty
_USE_THEME_DIRS= # empty
_USE_XDG_DIRS= # empty
_USE_XDG_X11_DIRS= # empty
@@ -20,6 +21,8 @@ ver:= ${dir:C/^.*-//}
_USE_GNOME1_DIRS:= ${ver}
. elif ${pkg} == "gnome2" && ${_USE_GNOME2_DIRS} < ${ver}
_USE_GNOME2_DIRS:= ${ver}
+. elif ${pkg} == "texmf" && ${_USE_TEXMF_DIRS} < ${ver}
+_USE_TEXMF_DIRS:= ${ver}
. elif ${pkg} == "theme" && ${_USE_THEME_DIRS} < ${ver}
_USE_THEME_DIRS:= ${ver}
. elif ${pkg} == "xdg" && ${_USE_XDG_DIRS} < ${ver} && !defined(USE_X11BASE)
@@ -46,6 +49,10 @@ _USE_XORG_DIRS:= ${ver}
. include "../../misc/gnome2-dirs/dirs.mk"
.endif
+.if !empty(_USE_TEXMF_DIRS)
+. include "../../print/texmf-dirs/dirs.mk"
+.endif
+
.if !empty(_USE_THEME_DIRS)
. include "../../misc/theme-dirs/dirs.mk"
.endif