summaryrefslogtreecommitdiff
path: root/misc/xdg-dirs/dirs.mk
AgeCommit message (Collapse)AuthorFilesLines
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+1
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-06-04Fix print-PLIST generation (broken by incorrect regexp in MKDIR handling).jmmv1-2/+2
2005-05-31During PLIST generation, suppress MKDIR lines that create directoriesjmmv1-1/+2
handled by these packages. Found by wiz@.
2005-04-19Update to 1.2: add share/desktop-directories.wiz1-1/+2
Okayed by jmmv@.
2004-04-14Rework the way to use the -dirs packages (ATM, xdg-dirs, xdg-x11-dirs,jmmv1-0/+28
gnome1-dirs and gnome2-dirs): - Introduce a global USE_DIRS variable, which takes pairs of names and versions. For example, an xdg-1.1 value will request the use of the xdg-dirs package, at least version 1.1. This variable must always be appended to. If there are duplicates with different versions, the one with the higher number will be picked up. - Introduce the mk/dirs.mk file, which is automatically included by bsd.pkg.mk when USE_DIRS is not empty. It parses the variable's value and includes the required dirs.mk files, present in each -dirs package. - For each -dirs package, add a dirs.mk file that defines a variable holding the list of directories provided by it, adds a dependency on that package, and modifies the PRINT_PLIST_AWK variable to output comments for the directories handled by it. - Drop some Makefile.common files that only make things difficult and more confusing now (in favour of the new dirs.mk files). The only thing to worry about is to keep version numbers consistent across xdg-* and gnome*-* packages, but that will be easier to handle. The main reason for this change is to be able to modify PRINT_PLIST_AWK in a clean way, but I hope this will improve clarity too. Also, this simplifies the addition of future -dirs packages (if needed) in a consistent way.