Commit graph

89 commits

Author SHA1 Message Date
thor a03ce46f5a science: add category
This is a general category for scientific software, as has been
discussed a year ago, with a conclusion by Greg:

	https://mail-index.netbsd.org/tech-pkg/2022/07/28/msg026615.html
2023-07-17 01:03:19 +00:00
rillig e1241c6570 Makefile: fix outdated documentation
This file no longer defines any targets.
2020-02-12 15:04:51 +00:00
rillig 7fb2cc5c7b regress: remove Makefile
The regress/ directory does not contain pkgsrc packages, therefore it
should not be listed as a SUBDIR in the top-level Makefile.

This wrong impression could be caused because most of the regression
tests have a Makefile that looks like an actual package Makefile. But
this alone doesn't mean that these are packages. The only relevant file
for a regression test is the spec file. If that test uses a package
Makefile or not is an implementation detail of each test.
2020-01-11 11:09:35 +00:00
wiz c9122e82ab Remove old bulk build code. Use pbulk. 2014-06-02 10:24:05 +00:00
rillig e9db305a2e cleanup 2009-05-16 07:21:05 +00:00
kristerw 71122b9bbe 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.
2008-06-23 20:34:20 +00:00
wiz 243817ee4c Fix typo in comment. 2007-06-19 22:30:33 +00:00
joerg 974e9912ac Reorder SUBDIR list slightly to give parallel scans a change to run
the very slow jobs in x11 when other jobs are available for processing.
Some packages need up to 10min for pbulk-index on my build system and
the reorder reduces the overall scan time with 4 clients from 35min to
30min.

Discussed with jlam@.
2007-06-19 13:39:56 +00:00
agc 26ce9d600e Add the new filesystems category, as proposed on tech-pkg. 2007-02-20 22:46:32 +00:00
rillig b69640f761 The tool definitions must come before including bsd.prefs.mk. Pointed
out by wiz.
2007-01-07 00:57:36 +00:00
rillig b0bdba276b Moved the make targets from the top-level Makefile to their own file,
mk/misc/toplevel.mk. Added a bit of documentation.
2007-01-06 17:10:42 +00:00
joerg 2ef327b627 Change the way INDEX is used by dropping the dependency on PKGDB in
INDEX and calling it directly. As the output is removed anyway, it
forced a full rescan on every "make search". Calling "make index" still
regenerates it all the time, but the other targets don't.

OK wiz@
PRs: 26442, 34207, 35266
2006-12-29 19:02:25 +00:00
rillig 2b58ae79ad Fixed some pkglint warnings: Use ${ECHO_N} instead of echo -n and
surround the sed command in the last line by single quotes.
2006-07-02 12:29:22 +00:00
rillig aae344c3a4 Added a comment to the "regress" category. 2005-09-28 07:49:22 +00:00
rillig aab3423f0a Indented the SUBDIR section to look like the SUBDIR sections in the
category Makefiles.
2005-09-01 22:02:34 +00:00
jlam bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
kristerw 7c61f75ec0 Add the crosspkgtools category. 2005-06-06 22:30:19 +00:00
wiz 6469e231c2 Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicator
that a package support IPv6 (for the README-IPv6.html generation).
2005-06-01 17:45:57 +00:00
dmcmahill 832614bc4c Rework the README.html generation code. Major changes are:
- 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-17 21:46:59 +00:00
wiz 78a75d6b01 Fix typo and remove duplicate word. 2005-05-16 19:59:54 +00:00
jlam 25f8d3548e Note the tools used by /usr/pkgsrc/Makefile. 2005-05-16 03:45:24 +00:00
jlam c674177768 List the tools that are used by the files included by /usr/pkgsrc/Makefile.
This causes the relevant "TOOL" variable names to be defined by
bsd.prefs.mk (through including mk/tools/defaults.mk).
2005-05-14 20:50:02 +00:00
rillig 791533230e Fixed two quoting errors. Where $pkgdir had been written, $$pkgsrc had been
meant. Approved by jlam.
2005-02-14 22:47:11 +00:00
jlam 17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
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-10-07 02:01:37 +00:00
jlam d76ad0b5cd Add a new "regress" category for pkgsrc regression testing code. We
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-08-27 21:32:55 +00:00
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