2007-01-06 18:10:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.79 2007/01/06 17:10:42 rillig Exp $
|
|
|
|
#
|
|
|
|
# This is the top-level Makefile of pkgsrc. It contains a list of the
|
|
|
|
# categories of packages, as well as some targets that operate on the
|
|
|
|
# whole pkgsrc system.
|
|
|
|
#
|
|
|
|
# User-settable variables:
|
|
|
|
#
|
|
|
|
# SPECIFIC_PKGS
|
|
|
|
# (See mk/defaults/mk.conf)
|
|
|
|
#
|
|
|
|
# SITE_SPECIFIC_PKGS
|
|
|
|
# HOST_SPECIFIC_PKGS
|
|
|
|
# GROUP_SPECIFIC_PKGS
|
|
|
|
# USER_SPECIFIC_PKGS
|
|
|
|
# The specific packages that are to be built.
|
|
|
|
#
|
|
|
|
# XXX: Why are there four distinct variables? The same could be
|
|
|
|
# achieved using just SPECIFIC_PKGS as the list of packages and
|
|
|
|
# leaving the remaining details to the user.
|
|
|
|
#
|
|
|
|
# See also:
|
|
|
|
# mk/misc/toplevel.mk
|
1997-10-03 10:03:18 +02:00
|
|
|
#
|
2005-05-14 22:50:02 +02:00
|
|
|
|
1999-03-03 21:19:05 +01:00
|
|
|
.include "mk/bsd.prefs.mk"
|
Allow for customised groups of packages at the top-level of pkgsrc.
If SPECIFIC_PKGS is defined (at the top-level of pkgsrc), then instead of
looping through all the categories and then all the packages within that,
simply loop through ${SITE_SPECIFIC_PKGS}, ${HOST_SPECIFIC_PKGS},
${GROUP_SPECIFIC_PKGS} and ${USER_SPECIFIC_PKGS}, which are whitespace
separated lists of categories/packages e.g.
SITE_SPECIFIC_PKGS+= devel/cvs security/ssh
The default behaviour is unchanged - if SPECIFIC_PKGS is not defined,
the whole hierarchy will be traversed.
Modify mk.conf.example to reflect the settings of SPECIFIC_PKGS,
SITE_SPECIFIC_PKGS, HOST_SPECIFIC_PKGS, GROUP_SPECIFIC_PKGS and
USER_SPECIFIC_PKGS.
Modify the ispell package to use the make definition ISPELL_LANG,
rather than just LANG (which can clash with the environment variable
of the same name), and modify mk.conf.example accordingly.
1999-02-21 22:25:02 +01:00
|
|
|
|
2007-01-06 18:10:42 +01:00
|
|
|
.if defined(SPECIFIC_PKGS)
|
Allow for customised groups of packages at the top-level of pkgsrc.
If SPECIFIC_PKGS is defined (at the top-level of pkgsrc), then instead of
looping through all the categories and then all the packages within that,
simply loop through ${SITE_SPECIFIC_PKGS}, ${HOST_SPECIFIC_PKGS},
${GROUP_SPECIFIC_PKGS} and ${USER_SPECIFIC_PKGS}, which are whitespace
separated lists of categories/packages e.g.
SITE_SPECIFIC_PKGS+= devel/cvs security/ssh
The default behaviour is unchanged - if SPECIFIC_PKGS is not defined,
the whole hierarchy will be traversed.
Modify mk.conf.example to reflect the settings of SPECIFIC_PKGS,
SITE_SPECIFIC_PKGS, HOST_SPECIFIC_PKGS, GROUP_SPECIFIC_PKGS and
USER_SPECIFIC_PKGS.
Modify the ispell package to use the make definition ISPELL_LANG,
rather than just LANG (which can clash with the environment variable
of the same name), and modify mk.conf.example accordingly.
1999-02-21 22:25:02 +01:00
|
|
|
SUBDIR+= ${SITE_SPECIFIC_PKGS}
|
|
|
|
SUBDIR+= ${HOST_SPECIFIC_PKGS}
|
|
|
|
SUBDIR+= ${GROUP_SPECIFIC_PKGS}
|
|
|
|
SUBDIR+= ${USER_SPECIFIC_PKGS}
|
|
|
|
.else
|
2005-09-02 00:02:34 +02:00
|
|
|
SUBDIR+= archivers
|
|
|
|
SUBDIR+= audio
|
|
|
|
SUBDIR+= benchmarks
|
|
|
|
SUBDIR+= biology
|
|
|
|
SUBDIR+= cad
|
|
|
|
SUBDIR+= chat
|
|
|
|
SUBDIR+= comms
|
|
|
|
SUBDIR+= converters
|
|
|
|
SUBDIR+= cross
|
|
|
|
SUBDIR+= crosspkgtools
|
|
|
|
SUBDIR+= databases
|
|
|
|
SUBDIR+= devel
|
|
|
|
SUBDIR+= editors
|
|
|
|
SUBDIR+= emulators
|
|
|
|
SUBDIR+= finance
|
|
|
|
SUBDIR+= fonts
|
|
|
|
SUBDIR+= games
|
|
|
|
SUBDIR+= geography
|
|
|
|
SUBDIR+= graphics
|
|
|
|
SUBDIR+= ham
|
|
|
|
SUBDIR+= inputmethod
|
|
|
|
SUBDIR+= lang
|
|
|
|
SUBDIR+= mail
|
|
|
|
SUBDIR+= math
|
|
|
|
SUBDIR+= mbone
|
|
|
|
SUBDIR+= meta-pkgs
|
|
|
|
SUBDIR+= misc
|
|
|
|
SUBDIR+= multimedia
|
|
|
|
SUBDIR+= net
|
|
|
|
SUBDIR+= news
|
|
|
|
SUBDIR+= parallel
|
|
|
|
SUBDIR+= pkgtools
|
|
|
|
SUBDIR+= print
|
2005-09-28 09:49:22 +02:00
|
|
|
#SUBDIR+= regress # regression tests must be started manually
|
2005-09-02 00:02:34 +02:00
|
|
|
SUBDIR+= security
|
|
|
|
SUBDIR+= shells
|
|
|
|
SUBDIR+= sysutils
|
|
|
|
SUBDIR+= textproc
|
|
|
|
SUBDIR+= time
|
|
|
|
SUBDIR+= wm
|
|
|
|
SUBDIR+= www
|
|
|
|
SUBDIR+= x11
|
Allow for customised groups of packages at the top-level of pkgsrc.
If SPECIFIC_PKGS is defined (at the top-level of pkgsrc), then instead of
looping through all the categories and then all the packages within that,
simply loop through ${SITE_SPECIFIC_PKGS}, ${HOST_SPECIFIC_PKGS},
${GROUP_SPECIFIC_PKGS} and ${USER_SPECIFIC_PKGS}, which are whitespace
separated lists of categories/packages e.g.
SITE_SPECIFIC_PKGS+= devel/cvs security/ssh
The default behaviour is unchanged - if SPECIFIC_PKGS is not defined,
the whole hierarchy will be traversed.
Modify mk.conf.example to reflect the settings of SPECIFIC_PKGS,
SITE_SPECIFIC_PKGS, HOST_SPECIFIC_PKGS, GROUP_SPECIFIC_PKGS and
USER_SPECIFIC_PKGS.
Modify the ispell package to use the make definition ISPELL_LANG,
rather than just LANG (which can clash with the environment variable
of the same name), and modify mk.conf.example accordingly.
1999-02-21 22:25:02 +01:00
|
|
|
.endif
|
1997-10-03 10:03:18 +02:00
|
|
|
|
2003-05-03 18:26:01 +02:00
|
|
|
SUBDIR+= ${USER_ADDITIONAL_PKGS}
|
2004-03-26 03:38:42 +01:00
|
|
|
|
2007-01-06 18:10:42 +01:00
|
|
|
.include "${.PARSEDIR}/mk/misc/toplevel.mk"
|