Pullup ticket #2800.
[pkgsrc.git] / Makefile
CommitLineData
f3539ed8 1# $NetBSD: Makefile,v 1.83 2007/06/19 22:30:33 wiz Exp $
2#
3# This is the top-level Makefile of pkgsrc. It contains a list of the
4# categories of packages, as well as some targets that operate on the
5# whole pkgsrc system.
6#
7# User-settable variables:
8#
9# SPECIFIC_PKGS
10# (See mk/defaults/mk.conf)
11#
12# SITE_SPECIFIC_PKGS
13# HOST_SPECIFIC_PKGS
14# GROUP_SPECIFIC_PKGS
15# USER_SPECIFIC_PKGS
16# The specific packages that are to be built.
17#
18# XXX: Why are there four distinct variables? The same could be
19# achieved using just SPECIFIC_PKGS as the list of packages and
20# leaving the remaining details to the user.
21#
22# See also:
23# mk/misc/toplevel.mk
24#
25
26# Note: The tools definitions must come before bsd.prefs.mk is included.
27
28# tools used by this Makefile
29USE_TOOLS+= [ awk cat cmp echo env expr false fgrep grep mv rm sed \
30 sort wc
31
32# additional tools used by bsd.pkg.subdir.mk
33USE_TOOLS+= basename touch
34
35# additional tools used by bsd.bulk-pkg.mk
36USE_TOOLS+= egrep find ls sh tee true tsort
37
38PKGSRCTOP= yes
39
40.include "mk/bsd.prefs.mk"
41
42.if defined(SPECIFIC_PKGS)
43SUBDIR+= ${SITE_SPECIFIC_PKGS}
44SUBDIR+= ${HOST_SPECIFIC_PKGS}
45SUBDIR+= ${GROUP_SPECIFIC_PKGS}
46SUBDIR+= ${USER_SPECIFIC_PKGS}
47.else
48# Packages in the x11 category tend to require a lot more parse time
49# than the rest of the packages. Reorder it to the beginning to avoid
50# stalling parallel scans near the end of a run.
51SUBDIR+= x11
52SUBDIR+= archivers
53SUBDIR+= audio
54SUBDIR+= benchmarks
55SUBDIR+= biology
56SUBDIR+= cad
57SUBDIR+= chat
58SUBDIR+= comms
59SUBDIR+= converters
60SUBDIR+= cross
61SUBDIR+= databases
62SUBDIR+= devel
63SUBDIR+= editors
64SUBDIR+= emulators
65SUBDIR+= filesystems
66SUBDIR+= finance
67SUBDIR+= fonts
68SUBDIR+= games
69SUBDIR+= geography
70SUBDIR+= graphics
71SUBDIR+= ham
72SUBDIR+= inputmethod
73SUBDIR+= lang
74SUBDIR+= mail
75SUBDIR+= math
76SUBDIR+= mbone
77SUBDIR+= meta-pkgs
78SUBDIR+= misc
79SUBDIR+= multimedia
80SUBDIR+= net
81SUBDIR+= news
82SUBDIR+= parallel
83SUBDIR+= pkgtools
84SUBDIR+= print
85#SUBDIR+= regress # regression tests must be started manually
86SUBDIR+= security
87SUBDIR+= shells
88SUBDIR+= sysutils
89SUBDIR+= textproc
90SUBDIR+= time
91SUBDIR+= wm
92SUBDIR+= www
93.endif
94
95SUBDIR+= ${USER_ADDITIONAL_PKGS}
96
97.include "${.PARSEDIR}/mk/misc/toplevel.mk"