pkgsrc/misc/xdg-dirs/dirs.mk
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

29 lines
813 B
Makefile

# $NetBSD: dirs.mk,v 1.5 2005/12/05 20:50:41 rillig Exp $
#
# This file is intended to be included by mk/dirs.mk, not directly by packages.
#
.if !defined(DIRS_XDG_MK)
DIRS_XDG_MK= # defined
XDG_DIRS= share/application-registry
XDG_DIRS+= share/applications
XDG_DIRS+= share/desktop-directories
XDG_DIRS+= share/icons
XDG_DIRS+= share/images
XDG_DIRS+= share/mime-info
XDG_DIRS+= share/pixmaps
XDG_DIRS+= share/sounds
XDG_DIRS+= share/themes
.if defined(_USE_XDG_DIRS) && !empty(_USE_XDG_DIRS)
DEPENDS+= xdg-dirs>=${_USE_XDG_DIRS}:../../misc/xdg-dirs
. for dir in ${XDG_DIRS}
PRINT_PLIST_AWK+= /^@exec \$${MKDIR} %D\/${dir:S|/|\\/|g}$$/ { next; }
PRINT_PLIST_AWK+= /^@dirrm ${dir:S|/|\\/|g}$$/ \
{ print "@comment in xdg-dirs: " $$0; next; }
. endfor
.endif
.endif # !defined(DIRS_XDG_MK)