summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.subdir.mk
AgeCommit message (Collapse)AuthorFilesLines
2005-02-22Pass "makedistinfo" down as one of the inherited targets.agc1-6/+5
2004-04-07There is no need to use "echo -n" in production of HTML.tv1-2/+2
2003-09-06Also descend to sub directories for make lintcjep1-1/+2
2003-07-14"make update" works fine for me with SPECIFIC_PKGS=1, so enable it and the ↵bad1-1/+2
"clean-update" target.
2003-03-20remove incorrect usage of README.html.BAK files. With this change,dmcmahill1-6/+4
1) an extra /usr/pkgsrc/README.html.BAK file is not created 2) we ensure that when a README.html file doesn't change, we don't touch it. The prior version of this file caused the timestamp to change.
2003-01-15Make BUILD_DIR always point to a physical path by invoking /bin/pwd insteadjlam1-2/+2
of relying on the shell's builtin pwd. This makes BUILD_DIR consistently point to the correct directory regardless of the definition of SHELL. This fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is derived from BUILD_DIR and some paths were incorrectly being translated.
2003-01-05Switch the top level pkgsrc 'readme' and 'cdrom-readme' targets to use thedmcmahill1-3/+5
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-10-20Use :Q to quote COMMENT. Proposed by Alan Barrett.wiz1-2/+2
2002-05-29Remove STRIPFLAG to fix pkg/15467.yyamano1-10/+1
It was replaced with _STRIPFLAG_INSTALL and moved to defs.*.mk.
2002-03-04Generalize the handling for packages where "fetch" and "fetch-list"fredb1-1/+2
only emit a message and don't actually fetch anything. This allows us to make the output of "fetch-list" for these packages consistent with other packages. While we're in here, integrate DYNAMIC_MASTER_SITES with the ${ORDERED_SITES} macro. The only functional change here is that ${MASTER_SITE_OVERRIDE} is now respected. Still to do -- something appropriate for "fetch-list" for these packages, like sourcing "getsites.sh" into the generated script. (Well, "package", but there are two others that do something similar in their "Makefile".) Also eliminate the misbegotten _FETCH_ALLFILES macro -- now that only "fetch" uses it, move it's functionality directly under "do-fetch".
2002-02-28Comprehensive update to the fetch-list target (and friends), incorporatingfredb1-2/+44
many suggestions made by Bernd Ernesti on "tech-pkg". Closes PR pkg/15539. - - Partially revert 1.895, which made 'fetch-list' ape 'fetch', so instead check if a file exists on the building host before emitting anything for it into the generated script. Update to use the new 'fetch' procedure on the fetching host, once it is determined that the file is needed, and generally clean up the output, so that it's a human readable shell script with comments. - - Introduce utility target 'show-all-depends-dirs', to do the necessary recursing over dependencies quickly and correctly. Add a couple of variations to show how it's done, and bracket the whole thing with ".if make()", so it's invisible to the dependency graph for all the other targets. The key improvement over the old way, is that it utilizes an "awk" associative array to guarantee that no package subdirectory is visited twice. For the package with the hairiest dependency graph, "x11/gnome", this leads to something like a 1,000-fold improvement! - - "sort -u" over the result of 'fetch-list-one-pkg' goes bye-bye. The new "awk" post-processor begins emitting output as soon as there is a file to fetch, so the user doesn't have to wait for the whole thing to finish before he sees anything. - - Get rid of the old hook for non-recursing for a top-level 'fetch-list', which was never used. Previously, a top-level 'fetch-list' couldn't work anyway, because the progress reports ruined the shell script. Remove 'fetch-list' from the targets that recurse from the top, and instead use a different 'fetch-list' target in "bsd.pkg.subdir.mk" to do the right thing. Currently, that right thing includes recursing in the single-category case, or if ${SPECIFIC_PKGS} is set, and not recursing in the top-level, all packages case (where it would be perfectly pointless).
2001-11-28lose some more pkg/ referencesabs1-5/+5
2001-10-26Add a new "show-vars" target which allows to display several makefiletron1-2/+2
variables at once.
2001-03-06Back out that part, not intended to be committed just yetwiz1-2/+2
2001-03-06Move PKGTOOLS_VERSION check to bsd.prefs.mk for speedups in recursive tree ↵wiz1-2/+2
walks.bsd.pkg.mk bsd.prefs.mk Bump required version number of PKGTOOLS to 20010306 for the latest bugfixes and the -V option support.
2001-02-16Change COMMENT handling:wiz1-8/+14
COMMENTs are now a variable in the Makefile instead of a pkg/COMMENT file. The COMMENT var should be in the maintainer block after the homepage. Modify bsd.pkg.mk, pkglint, url2pkg, and port2pkg (last one untested) for the new behaviour. Document new state in Packages.txt. This should save lots of inodes, and lots of time when untarring/updating. Idea by Alistair Crooks. For the time being, accept pkg/COMMENT instead of a COMMENT var to avoid a flag day.
2001-01-13Add "show-var" to the list of recursable targets.tv1-2/+3
2000-07-28Add bulk-package and bulk-install targets so people can invoke thesehubertf1-3/+3
in pkgsrc or pkgsrc/category now. The install and package targets are still left in, but deprecated now.
2000-06-03/bin/echo -> echo. This file appears to have NetBSD-specific paths already,mycroft1-2/+2
so I'm not worried about .ifdefing it at the moment.
2000-06-03Pass down ${MAKEFLAGS}.mycroft1-13/+9
2000-05-29Garbage collect.hubertf1-10/+4
Now that the procedure for building in a package and in a category is the same, there's no longer any need to differentiate between the two cases.
2000-05-28Do not abort compilation of several categories if building a single categorydmcmahill1-2/+2
fails.
2000-05-11Define a new target, "show-pkgsrc-dir", which prints the directoryagc1-3/+3
from which an installed package can be re-installed. This can be used to build up a list of host specific packages, which is useful, for example, in re-building all packages on a machine for a.out to ELF transition.
1999-12-15Fix off by one count of packages in a category in README.htmlabs1-2/+3
1999-12-06Add total number of packages to the category README.htmlabs1-6/+9
1999-07-09Pass the makepatchsum target down to submakes.agc1-1/+2
1999-07-02Add a show-downlevel target, which shows output of the form:agc1-4/+6
... ===> package security/sudo sudo package: sudo-1.5.7p4 installed, pkgsrc version sudo-1.5.9p1 ===> package security/tripwire ===> category shells ... for installed packages whose version does not match that in pkgsrc. No output is produced if the package is not installed. This allows an easy overview of the packages installed on a machine which need to be upgraded. Also make minor modifications to the SUBDIRUSE target for Solaris.
1999-06-28Add a "show-distfiles" target, used to show the distfiles and patchfilesagc1-1/+18
(including any subdir) for a package. If ${IGNORE} is set, for any reason, do not print anything. The output is relative to ${DISTDIR}. This target can be used to identify out of date distfiles and patchfiles in ${DISTDIR}, in conjunction with suitable filters.
1999-05-17Define "${ECHO_MSG}" so that the patch from PR pkg/7545 doesn't breaktron1-1/+2
(at least) a recursive "make clean".
1999-05-17Fix broken index file creation. Patch suppled by NAKAJIMA Yoshihirotron1-6/+6
in PR pkg/7545.
1999-03-28DUDS is expected to be a a make variable, not a shell variablehubertf1-2/+2
1999-02-22Comment that targets listed in $PKG_MISC_TARGETS are also regardedhubertf1-2/+2
1999-02-21Pull in mk.conf (via bsd.pref.mk), so that e.g. PKG_MISC_TARGETS canhubertf1-1/+11
be set there.
1998-12-29Add "cleandir" target.tron1-4/+4
1998-12-06Add support for custom, per-category targets by setting PKG_MISC_TARGETShubertf1-2/+2
This can be used to - enable execution of a non-standard target for all pkgs of a category, e.g. cd pkgsrc/benchmarks ; make benchmark - superceding standard-targets with custom versions, e.g. from /etc/mk.conf
1998-09-23Add a cdrom-readme target, a clone of the readme target, for ease of use.agc1-27/+35
The URLs in the generated README.html files can be specified by overriding the CDROM_PKG_URL_HOST and CDROM_PKG_URL_DIR definitions. Document the targets, and clean up some English, in Packages.txt
1998-07-26support distclean in subdir makeslukem1-2/+2
1998-07-13Only update README.html if it has changed.hubertf1-4/+11
1998-07-07Fix check if we're doing a package or a category (via PR 5687 byhubertf1-2/+2
Tim Rightnour).
1998-06-17Do not abort compilation of several packages if building a single packagehubertf1-4/+10
fails. (Doing this via a "make -k" breaks things like dependent pkgs in a nasty way)
1998-05-29Make these lists real tableshubertf1-4/+4
1998-05-29Mark README.html as precious.hubertf1-2/+2
This will result in the pkgsrc/README.html _not_ being removed, even if some "make readme" in any of the pkgs fails. (That's the reason there was no toplevel README.html when I postet this first :)
1998-05-15More cosmetic editing - PORTSTOP is now PKGSRCTOPagc1-3/+3
1998-05-14Fix botch in previous commit, as pointed out by Thorsten Frueauf.agc1-2/+2
Add missing semi-colon, and missing '$', both on the same line.
1998-05-14s/make/${MAKE}/gagc1-9/+9
Use _THISDIR_, rather than DIRPRFX, in the same way as src/share/bsd.subdir.mk, and pass _THISDIR_ down to any subdirectories.
1998-05-06Enable deinstall target from herehubertf1-3/+3
1998-04-24Use relative paths within the pkgsrc tree, and remove PORTSDIRagc1-9/+3
definition accordingly. Modify check in LIB_DEPENDS, RUN_DEPENDS and BUILD_DEPENDS, so that the first component is considered to be a file name if it contains a '/' character anywhere within it, not just the first character.
1998-04-15Fix the names of these two files.agc1-3/+3
1998-02-09Fix PR 4884 by replacing STRIP with STRIPFLAG.hubertf1-3/+3
This addes yet another step towards bsd.pkg.mk. :)
1998-01-30Echo the directory name when doing a "make readme", so that progressagc1-2/+2
can be monitored.