summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2005-05-17Rework the README.html generation code. Major changes are:dmcmahill1-15/+3
- completely redo the code which decides on the machine architecture, operating system, and operating system version for the binary packages. The old way just used to directory names to take a guess. The new way creates a cache file containing meta-data for all the binary packages in each "All" directory. This cache file is consulted when generating the lists of available binary packages. The meta-data is obtained with pkg_info so it should always be correct even if you do something silly like mix OS_VERSION or MACHINE_ARCH packages up in the same directory. Among the benefits are: works when PACKAGES is not $PKGSRC/packages, works with a more or less arbitrary subdirectory structure, works when there are subdirectories for multiple operating systems. This portion of the fix should address PR25390. The cache files are only updated when the contents of an "All" directory changes or if the cache file format changes. There is some room for improving the updating of the cache files, but its not too bad the way it is. - fix up some of the awk code so that generadme.awk works with Solaris nawk as well as NetBSD's nawk and gawk (for pre-2.0 systems). - remove some "if ! foo" shell constructs to increase portability. - be more consistent with what variables get passed to mkreadme from make and which ones are determined automatically. Mostly this meant moving stuff into mkreadme to make it easier to run it standalone.
2005-05-16Fix typo and remove duplicate word.wiz1-3/+3
2005-05-16Note the tools used by /usr/pkgsrc/Makefile.jlam1-4/+8
2005-05-14List the tools that are used by the files included by /usr/pkgsrc/Makefile.jlam1-1/+7
This causes the relevant "TOOL" variable names to be defined by bsd.prefs.mk (through including mk/tools/defaults.mk).
2005-02-14Fixed two quoting errors. Where $pkgdir had been written, $$pkgsrc had beenrillig1-3/+3
meant. Approved by jlam.
2004-10-07* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,jlam1-5/+2
as it's only used internally by bsd.prefs.mk. * Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR. Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile than the old method of stripping off the last two components of ${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined. * Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-08-27Add a new "regress" category for pkgsrc regression testing code. Wejlam1-1/+2
don't descend into this directory for anything since these packages aren't packages in the normal sense, since they're not expected to install or package correctly.
2004-03-26Add show-deps target:wiz1-1/+9
List all packages that depend on a particular package; needs the INDEX file Usage: 'make show-deps PKG=openssl' PKG: name of the package No make dependency on INDEX by purpose, since INDEX generation right now happens too often (too much phoniness, I guess).
2004-02-28make PKGDB target .PHONY, so it is always rebuiltgrant1-1/+2
2004-02-28s/Port/Pkg/grant1-3/+3
2004-01-26Add a multimedia category. Ok'ed by agc@.jmmv1-1/+2
2003-10-04Add a geography category, in anticipatino of a number of pending packages.agc1-1/+2
2003-09-16Abort "make readme-all" before it fails (when there are no README.html filesjmmv1-1/+6
available) and tell the user what to do. Addresses PR pkg/22413.
2003-07-25style nit:grant1-3/+3
target:<space>depends, not <tab>
2003-07-25index target improvements:grant1-12/+13
* rename DEPENDSDB to PKGDB * move build of PKGDB to its own target so make(1) removes it if it bombs. ok'd by dmcmahill@.
2003-07-23rework the INDEX file generation. The new approach speeds up things bydmcmahill1-7/+41
several orders of magnitude and 'make index' now takes 30 minutes or so instead of several days on my test machine. The approach now is to take one pass through every package and extract some key information including the explicitly listed dependencies. After the data is extracted, the dependencies are flattened in one step which avoids the extremely inefficient recursive make that was previously used.
2003-06-30Sort SUBDIRs properlyhubertf1-2/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-2/+2
2003-05-03Also include ${USER_ADDITIONAL_PKGS} in ${SUBDIR}. This makes it easycjep1-1/+5
to add local directories to the build hierarchy (e.g. wip, local).
2003-02-09s/${ENV}/${SETENV}/, noted by Kevin P. Neal in connection with PR 19586.wiz1-2/+2
2003-01-05Switch the top level pkgsrc 'readme' and 'cdrom-readme' targets to use thedmcmahill1-1/+35
new and much more efficient code. Previously a 'make readme' took over 3 weeks on my SS5 and now takes < 3 hours. The number of make calls has been reduced from somewhere over 1,000,000 to one per package which is around 3,000. The mk/scripts/mkreadme script does all the work now. This script has been used in standalone form for a month or two on ftp.netbsd.org and has had no problem.
2002-12-15Do not use commands directly, use ${COMMAND} instead.salo1-30/+27
Remove continuous blank lines.
2002-12-01use = instead of ?= when setting _PKGSRCDIR during the bulk-cache target.dmcmahill1-2/+4
Otherwise a bad value of _PKGSRCDIR will be used and the bulk cache creation fails. This didn't show up before because formerly _PKGSRCDIR was previously set in bsd.pkg.mk instead of bsd.prefs.mk as it is now. Should fix bulk build dependency problems noted recently by Hubert.
2002-09-24Some whitespace cleanup.wiz1-6/+6
2002-05-31Retire japanese category.seb1-2/+2
Add the inputmethod category. This is part of the japanese category retirement.
2001-12-17replace some leading spaces with leading tabs.dmcmahill1-6/+6
2001-12-17- add 'bulk-cache' and 'clean-bulk-cache' targets to create and removedmcmahill1-1/+9
the cache files used during a bulk pkgsrc build. - replace the code in the build script that used to create the cache files with a 'make bulk-cache' call.
2001-07-17Use better expressions for grep, to avoid tagging non-IPv6 enabled packageswiz1-2/+2
as IPv6-enabled. Fixes pkg/13394.
2001-02-27echo -> ${ECHO}hubertf1-11/+11
2000-12-17Move lots of packages to new time category; fix links; add time subcategorywiz1-1/+2
to main Makefile.
2000-12-15Move packages from 'net' into new 'chat' category. Add chat to main Makefile.wiz1-1/+2
2000-12-14Retire plan9 sub-hierarchy.wiz1-2/+1
2000-12-12Added wm category to main Makefile; remove packages that have been movedwiz1-1/+2
from x11 to wm; fix paths in packages that depend on the moved ones.
2000-12-11Add new finance category to main Makefile; remove moved packages from oldwiz1-2/+2
locations (moved to finance).
2000-09-07Revert last change. I only tested this on netbsd-1-4; it doesn't seem tofredb1-2/+1
work on netbsd-1-5 at all.
2000-09-06Introduce a new category, "crypto", with a special property: If the userfredb1-1/+2
sets MKCRYPTO=no, packages in this category won't be fetched, installed, built, or packaged. Also, binary package users forbidden, by law, from using strong cryptography would presumably find the list on the category's automatically generated web page useful for ensuring compliance.
2000-05-12Add and enable fonts.sakamoto1-1/+2
2000-05-12Remove empty corba category.agc1-2/+1
2000-05-11Introduce a new target "show-host-specific-pkgs", which uses the newagc1-1/+6
show-pkgsrc-dir target to compile a list of host specific package directories from which the packages can be built and installed.
2000-03-30Change detection of IPv6-enabled packages by searching forhubertf1-2/+3
"^BUILD_DEFS.*=.*USE_INET6" instead of just "USE_INET6" in the pkg's Makefile. Suggested by Jun-ichiro itojun Hagino <itojun@iijlab.net> on tech-pkg.
2000-02-25remove commented out SUBDIR += lines for packages that never gotwiz1-8/+1
converted from FreeBSD, or have been disabled since. Sorted lines alphabetically, added some missing directories.
2000-02-09Add "readme-ipv6" target, that will generate a list of IPv6 readyhubertf1-1/+25
packages.
2000-01-04Rewrite moving of old README-all.html aside.hubertf1-2/+4
Fixes PR 9120 by Michael Eriksson T/K 2 <Michael.Eriksson@era-t.ericsson.se>
1999-10-26Ignore case when sorting lines in README-all.htmlhubertf1-2/+2
1999-10-22Include the total number of packages at the top of README-all.html, andhubertf1-1/+6
lose the <TD VALIGN=TOP> entries (the <TR VALIGN=TOP> should be sufficient). Suggested by David Brownlee <abs@mono.org> on tech-pkg@netbsd.org.
1999-08-23only mv README-all.html aside if it existshubertf1-2/+2
1999-08-22Collect information from pkgsrc/*/README.html into one long listhubertf1-1/+38
(README-all.html), and reference this file.
1999-06-06Add and enable ham.frueauf1-1/+2
1999-04-15Add new category biologyrh1-1/+2
1999-03-03Back out last two revs and go back to 1.19.hubertf1-3/+5