diff options
author | xtraeme <xtraeme> | 2004-07-29 07:26:03 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-07-29 07:26:03 +0000 |
commit | c9930fe1dfcbbfdb8e1d21bf62d67bc61b259a67 (patch) | |
tree | 2b5190dab98c8e0e03bf7be146a23aa44d8fdcfe /misc/xorg-dirs/dirs.mk | |
parent | 401cfd2bd94962d9cd421572e0128efbb2e4b0bf (diff) | |
download | pkgsrc-c9930fe1dfcbbfdb8e1d21bf62d67bc61b259a67.tar.gz |
Initial import of xorg-dirs-1.0.
xorg-dirs handles the X11 directories.
Diffstat (limited to 'misc/xorg-dirs/dirs.mk')
-rw-r--r-- | misc/xorg-dirs/dirs.mk | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/misc/xorg-dirs/dirs.mk b/misc/xorg-dirs/dirs.mk new file mode 100644 index 00000000000..a3766c1effb --- /dev/null +++ b/misc/xorg-dirs/dirs.mk @@ -0,0 +1,41 @@ +# $NetBSD: dirs.mk,v 1.1.1.1 2004/07/29 07:26:03 xtraeme Exp $ +# + +.if !defined(DIRS_XORG_MK) +DIRS_XORG_MK= # defined + +oldval:= ${XORG_ONLY_DIRS} +XORG_ONLY_DIRS:= YES +.include "../../meta-pkgs/xorg/Makefile.common" +XORG_ONLY_DIRS:= ${oldval} +.undef oldval + +XORG_DIRS= bin +XORG_DIRS+= include +XORG_DIRS+= include/X11 +XORG_DIRS+= include/X11/bitmaps +XORG_DIRS+= lib +XORG_DIRS+= lib/X11 +XORG_DIRS+= lib/X11/app-defaults +XORG_DIRS+= lib/X11/config +XORG_DIRS+= lib/X11/doc +XORG_DIRS+= lib/X11/etc +XORG_DIRS+= lib/X11/fonts +XORG_DIRS+= lib/X11/fs +XORG_DIRS+= ${MAN_DIR} +XORG_DIRS+= ${LIBMAN_DIR} +XORG_DIRS+= ${KERNMAN_DIR} +XORG_DIRS+= ${FILEMAN_DIR} +XORG_DIRS+= ${MISCMAN_DIR} + +.if defined(_USE_XORG_DIRS) && !empty(_USE_XORG_DIRS) +DEPENDS+= xorg-dirs>=${_USE_XORG_DIRS}:../../misc/xorg-dirs + +. for dir in ${XORG_DIRS} +PRINT_PLIST_AWK+= /^@dirrm ${dir:S|/|\\/|g}$$/ \ + { print "@comment in xorg-dirs: "$$0; next; } +. endfor +. undef dir +.endif + +.endif # !defined(DIRS_XORG_MK) |