[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc

File: [cvs.NetBSD.org] / pkgsrc / Makefile (download)

Revision 1.84, Mon Jun 23 20:34:20 2008 UTC (9 years, 1 month ago) by kristerw
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.83: +1 -2 lines

The crosspkgtools has not worked for a long time because of changes in
the pkgsrc infrastructure.  And the current infrastructure differs
enough from how it looked when the crosspkgtools was made, so a
somewhat different approach is needed.

# $NetBSD: Makefile,v 1.84 2008/06/23 20:34:20 kristerw 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:
#	(See mk/defaults/mk.conf)
#	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

# Note: The tools definitions must come before bsd.prefs.mk is included.

# tools used by this Makefile
USE_TOOLS+=	[ awk cat cmp echo env expr false fgrep grep mv	rm sed	\
		sort wc

# additional tools used by bsd.pkg.subdir.mk
USE_TOOLS+=	basename touch

# additional tools used by bsd.bulk-pkg.mk
USE_TOOLS+=	egrep find ls sh tee true tsort


.include "mk/bsd.prefs.mk"

.if defined(SPECIFIC_PKGS)
# Packages in the x11 category tend to require a lot more parse time
# than the rest of the packages. Reorder it to the beginning to avoid
# stalling parallel scans near the end of a run.
SUBDIR+=	x11
SUBDIR+=	archivers
SUBDIR+=	audio
SUBDIR+=	benchmarks
SUBDIR+=	biology
SUBDIR+=	cad
SUBDIR+=	chat
SUBDIR+=	comms
SUBDIR+=	converters
SUBDIR+=	cross
SUBDIR+=	databases
SUBDIR+=	devel
SUBDIR+=	editors
SUBDIR+=	emulators
SUBDIR+=	filesystems
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
#SUBDIR+=	regress		# regression tests must be started manually
SUBDIR+=	security
SUBDIR+=	shells
SUBDIR+=	sysutils
SUBDIR+=	textproc
SUBDIR+=	time
SUBDIR+=	www


.include "${.PARSEDIR}/mk/misc/toplevel.mk"