Commit graph

64 commits

Author SHA1 Message Date
wiz
55c7d54bf3 Add show-deps target:
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-03-26 02:38:42 +00:00
grant
d066c9bb9a make PKGDB target .PHONY, so it is always rebuilt 2004-02-28 06:04:13 +00:00
grant
e6384805f9 s/Port/Pkg/ 2004-02-28 06:03:22 +00:00
jmmv
192bba3de9 Add a multimedia category. Ok'ed by agc@. 2004-01-26 11:32:06 +00:00
agc
0477235584 Add a geography category, in anticipatino of a number of pending packages. 2003-10-04 19:34:46 +00:00
jmmv
31f60e2cec Abort "make readme-all" before it fails (when there are no README.html files
available) and tell the user what to do.  Addresses PR pkg/22413.
2003-09-16 20:31:00 +00:00
grant
33bf53c28b style nit:
target:<space>depends, not <tab>
2003-07-25 02:44:09 +00:00
grant
cb087abb95 index target improvements:
* 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-25 02:43:00 +00:00
dmcmahill
28fd31fa83 rework the INDEX file generation. The new approach speeds up things by
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-07-23 09:41:23 +00:00
hubertf
d6fc5aa1e3 Sort SUBDIRs properly 2003-06-30 22:05:11 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cjep
6fdda4978e Also include ${USER_ADDITIONAL_PKGS} in ${SUBDIR}. This makes it easy
to add local directories to the build hierarchy (e.g. wip, local).
2003-05-03 16:26:01 +00:00
wiz
246e1b5e85 s/${ENV}/${SETENV}/, noted by Kevin P. Neal in connection with PR 19586. 2003-02-09 14:38:51 +00:00
dmcmahill
742bcd19d1 Switch the top level pkgsrc 'readme' and 'cdrom-readme' targets to use the
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.
2003-01-05 13:37:15 +00:00
salo
047886d903 Do not use commands directly, use ${COMMAND} instead.
Remove continuous blank lines.
2002-12-15 02:49:37 +00:00
dmcmahill
9f079dd858 use = instead of ?= when setting _PKGSRCDIR during the bulk-cache target.
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-12-01 05:51:33 +00:00
wiz
6c40f123f7 Some whitespace cleanup. 2002-09-24 13:59:20 +00:00
seb
4070cadb64 Retire japanese category.
Add the inputmethod category.
This is part of the japanese category retirement.
2002-05-31 15:26:50 +00:00
dmcmahill
daf35abedf replace some leading spaces with leading tabs. 2001-12-17 02:33:46 +00:00
dmcmahill
f68e56c389 - add 'bulk-cache' and 'clean-bulk-cache' targets to create and remove
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-12-17 02:32:22 +00:00
wiz
a654b3fa66 Use better expressions for grep, to avoid tagging non-IPv6 enabled packages
as IPv6-enabled. Fixes pkg/13394.
2001-07-17 13:11:51 +00:00
hubertf
f6885eefc6 echo -> ${ECHO} 2001-02-27 20:23:59 +00:00
wiz
572e80cd21 Move lots of packages to new time category; fix links; add time subcategory
to main Makefile.
2000-12-17 23:40:53 +00:00
wiz
48cf9d2f96 Move packages from 'net' into new 'chat' category. Add chat to main Makefile. 2000-12-15 00:41:00 +00:00
wiz
cfc8f98100 Retire plan9 sub-hierarchy. 2000-12-14 01:02:08 +00:00
wiz
5be08e0178 Added wm category to main Makefile; remove packages that have been moved
from x11 to wm; fix paths in packages that depend on the moved ones.
2000-12-12 02:10:16 +00:00
wiz
91cc83d59d Add new finance category to main Makefile; remove moved packages from old
locations (moved to finance).
2000-12-11 14:15:31 +00:00
fredb
3493b7ee58 Revert last change. I only tested this on netbsd-1-4; it doesn't seem to
work on netbsd-1-5 at all.
2000-09-07 02:29:40 +00:00
fredb
b2fd29e954 Introduce a new category, "crypto", with a special property: If the user
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-09-06 20:28:32 +00:00
sakamoto
658a216cfd Add and enable fonts. 2000-05-12 18:42:22 +00:00
agc
135787acdb Remove empty corba category. 2000-05-12 09:19:14 +00:00
agc
aac426a67b Introduce a new target "show-host-specific-pkgs", which uses the new
show-pkgsrc-dir target to compile a list of host specific package
directories from which the packages can be built and installed.
2000-05-11 11:25:18 +00:00
hubertf
204a64e7d7 Change detection of IPv6-enabled packages by searching for
"^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-03-30 13:01:49 +00:00
wiz
f895e15bb9 remove commented out SUBDIR += lines for packages that never got
converted from FreeBSD, or have been disabled since. Sorted lines
alphabetically, added some missing directories.
2000-02-25 01:04:11 +00:00
hubertf
05f8037daf Add "readme-ipv6" target, that will generate a list of IPv6 ready
packages.
2000-02-09 03:51:12 +00:00
hubertf
46f8efb26d Rewrite moving of old README-all.html aside.
Fixes PR 9120 by Michael Eriksson T/K 2 <Michael.Eriksson@era-t.ericsson.se>
2000-01-04 23:46:14 +00:00
hubertf
cbaef434fc Ignore case when sorting lines in README-all.html 1999-10-26 01:50:04 +00:00
hubertf
3e15e3b2f7 Include the total number of packages at the top of README-all.html, and
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-10-22 00:54:23 +00:00
hubertf
147fff6fb1 only mv README-all.html aside if it exists 1999-08-23 21:37:28 +00:00
hubertf
dc3aa46cc2 Collect information from pkgsrc/*/README.html into one long list
(README-all.html), and reference this file.
1999-08-22 01:30:15 +00:00
frueauf
a1c7336661 Add and enable ham. 1999-06-06 19:33:17 +00:00
rh
c5aca748f5 Add new category biology 1999-04-15 23:17:30 +00:00
hubertf
7a3414a7aa Back out last two revs and go back to 1.19. 1999-03-03 20:19:05 +00:00
hubertf
6a40fdf619 Move PKGSRCTOP definition so it's available for bsd.pkg.subdir.mk. 1999-03-03 17:19:18 +00:00
hubertf
de213b2130 Move up including of bsd.pkg.subdir.mk to prevend bsd.prefs.mk
being pulled in twice.
1999-03-02 03:56:06 +00:00
agc
8e2ac8a943 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 21:25:02 +00:00
garbled
2c9eabaebc Enable new japanese category, and document addition of category, and
ja-less-332.
1998-10-28 18:16:50 +00:00
garbled
c3f5becd1d Add and enable parallel category, and document additions. 1998-10-13 23:37:03 +00:00
agc
0761d22ecc Add pkgtools category 1998-08-28 12:26:50 +00:00
agc
aa6c77eb2f Add corba category. 1998-08-20 22:08:40 +00:00