Annotation of pkgsrc/Makefile, Revision 1.80
1.80 ! rillig 1: # $NetBSD: Makefile,v 1.79 2007/01/06 17:10:42 rillig Exp $
1.79 rillig 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
1.1 agc 24: #
25:
1.80 ! rillig 26: # Note: The tools definitions must come before bsd.prefs.mk is included.
! 27:
! 28: # tools used by this Makefile
! 29: USE_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
! 33: USE_TOOLS+= basename touch
! 34:
! 35: # additional tools used by bsd.bulk-pkg.mk
! 36: USE_TOOLS+= egrep find ls sh tee true tsort
! 37:
! 38: PKGSRCTOP= yes
! 39:
1.22 hubertf 40: .include "mk/bsd.prefs.mk"
1.19 agc 41:
1.79 rillig 42: .if defined(SPECIFIC_PKGS)
1.19 agc 43: SUBDIR+= ${SITE_SPECIFIC_PKGS}
44: SUBDIR+= ${HOST_SPECIFIC_PKGS}
45: SUBDIR+= ${GROUP_SPECIFIC_PKGS}
46: SUBDIR+= ${USER_SPECIFIC_PKGS}
47: .else
1.75 rillig 48: SUBDIR+= archivers
49: SUBDIR+= audio
50: SUBDIR+= benchmarks
51: SUBDIR+= biology
52: SUBDIR+= cad
53: SUBDIR+= chat
54: SUBDIR+= comms
55: SUBDIR+= converters
56: SUBDIR+= cross
57: SUBDIR+= crosspkgtools
58: SUBDIR+= databases
59: SUBDIR+= devel
60: SUBDIR+= editors
61: SUBDIR+= emulators
62: SUBDIR+= finance
63: SUBDIR+= fonts
64: SUBDIR+= games
65: SUBDIR+= geography
66: SUBDIR+= graphics
67: SUBDIR+= ham
68: SUBDIR+= inputmethod
69: SUBDIR+= lang
70: SUBDIR+= mail
71: SUBDIR+= math
72: SUBDIR+= mbone
73: SUBDIR+= meta-pkgs
74: SUBDIR+= misc
75: SUBDIR+= multimedia
76: SUBDIR+= net
77: SUBDIR+= news
78: SUBDIR+= parallel
79: SUBDIR+= pkgtools
80: SUBDIR+= print
1.76 rillig 81: #SUBDIR+= regress # regression tests must be started manually
1.75 rillig 82: SUBDIR+= security
83: SUBDIR+= shells
84: SUBDIR+= sysutils
85: SUBDIR+= textproc
86: SUBDIR+= time
87: SUBDIR+= wm
88: SUBDIR+= www
89: SUBDIR+= x11
1.53 cjep 90: .endif
91:
92: SUBDIR+= ${USER_ADDITIONAL_PKGS}
1.64 wiz 93:
1.79 rillig 94: .include "${.PARSEDIR}/mk/misc/toplevel.mk"
CVSweb <webmaster@jp.NetBSD.org>