pkgsrc/mk
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
..
buildlink3 Rename MAKE_VARS to MAKEVARS so that it more closely resembles 2005-05-11 22:08:18 +00:00
bulk When generating the report, add a list of top ten offenders at the top. 2005-05-16 19:11:19 +00:00
compiler The sunpro wrapper now creates aliases for gcc and g++, too. This is needed 2005-05-17 19:06:21 +00:00
defaults NetBSD's (and bootstrap's) pax-as-tar is GNUish enough to extract most 2005-05-16 18:43:20 +00:00
gnu-config Add $NetBSD$. 2005-01-14 00:10:50 +00:00
install Rename mk/bsd.pkg.install.mk to mk/install/bsd.pkginstall.mk to 2005-05-11 02:07:37 +00:00
platform Teach the new tools framework about INSTALL and set the appropriate 2005-05-03 20:41:53 +00:00
scripts Rework the README.html generation code. Major changes are: 2005-05-17 21:46:59 +00:00
tools Move perl handling into replace.mk. We now can specify USE_TOOLS+=perl 2005-05-17 18:34:45 +00:00
wrapper Add missing required argument to msg_log. 2005-05-16 17:54:51 +00:00
AIX.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
alternatives.mk Explicitly use -g to avoid relying on default behavior. 2005-01-25 16:48:53 +00:00
apache.mk Fix typo. 2005-04-21 23:05:41 +00:00
autoconf.mk Make these two files aware of the new tools framework to ease integration. 2005-05-11 22:17:26 +00:00
automake.mk Make these two files aware of the new tools framework to ease integration. 2005-05-11 22:17:26 +00:00
bdb.buildlink3.mk Modify bdb.buildlink3.mk so that we choose a single, well-known package 2005-01-09 23:56:21 +00:00
bsd.hacks.mk We already know that bsd.prefs.mk is included before this, so reduce make 2004-11-30 15:09:45 +00:00
bsd.options.mk Changed option processing to evaluate the options strictly from left to 2005-05-16 09:08:29 +00:00
bsd.pkg.extract.mk Allow tweaking of options to pax/tar via EXTRACT_CMD_OPTS.*. 2005-05-17 21:34:29 +00:00
bsd.pkg.mk Rework the README.html generation code. Major changes are: 2005-05-17 21:46:59 +00:00
bsd.pkg.patch.mk Missed (harmless) rename of "fuzz" to "fuzz_flags". 2005-05-17 19:11:02 +00:00
bsd.pkg.subdir.mk Pass "makedistinfo" down as one of the inherited targets. 2005-02-22 21:02:15 +00:00
bsd.pkg.use.mk Teach the new tools framework more about perl. We include perl5/vars.mk 2005-05-12 21:03:46 +00:00
bsd.prefs.mk Replaced .ifdef with .if defined() and .ifnded with .if !defined(). This 2005-05-14 01:51:52 +00:00
bsd.sites.mk Ditto citkit.dl.sourceforge.net. 2005-05-11 15:52:14 +00:00
BSDOS.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
compiler.mk note that xlc support is on Darwin. 2005-02-16 08:41:20 +00:00
curses.buildlink3.mk Oy, what a hack. But then, so is Interix.... 2004-10-13 20:10:31 +00:00
Darwin.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
Darwin.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
db1.builtin.mk Don't remove library options from the command line quite so aggressively. 2004-12-23 14:27:04 +00:00
dirs.mk Enable theme-dirs. 2004-12-24 10:06:41 +00:00
djbware.mk Excise DJB_CONFIG_DIR. 2005-05-17 08:42:24 +00:00
dlopen.buildlink3.mk Check that USE_BUILTIN.dl is "yes", not that it's just defined. 2004-11-26 09:32:06 +00:00
dlopen.builtin.mk Also match NetBSD security releases, e.g. 2.0.1, when deciding whether 2005-01-20 15:22:39 +00:00
DragonFly.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
DragonFly.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
emacs.mk Second cut of a fix for the problem where PKGNAME is geting set to xemacs-${VERRSION} 2005-04-08 19:05:29 +00:00
endian.mk Rewrite to avoid needing egrep. 2005-04-30 03:01:06 +00:00
find-prefix.mk Rewrite command to compute the installation prefix of a package to not 2005-05-13 23:37:54 +00:00
fonts.mk Fix ttf/type1 handling in fonts.mk: 2004-12-28 14:38:03 +00:00
FreeBSD.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
FreeBSD.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
ghostscript.mk The lists of ghostscript version patterns should match all ghostscript 2005-02-07 07:18:40 +00:00
Interix.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
Interix.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
IRIX.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
IRIX.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
java-env.mk Let this file be included even if JAVA_WRAPPERS is empty; this was possible 2005-03-19 16:46:45 +00:00
java-vm.mk Check for the JRE and not the SDK package to figure which version of the 2005-04-20 13:17:40 +00:00
krb5.buildlink3.mk Modify krb5.buildlink3.mk so that we choose a single, well-known 2005-01-09 23:59:26 +00:00
Linux.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
Linux.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
motif.buildlink3.mk Whitespace nit. 2004-08-27 06:33:17 +00:00
mysql.buildlink3.mk Remove support for 30, since mysql3 packages have been removed. Noted by kristerw. 2005-04-26 13:29:00 +00:00
NetBSD.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
NetBSD.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
nroff.buildlink3.mk Short bl3 fragment to provide a NROFF (base system or textproc/groff 2005-03-15 04:45:50 +00:00
OpenBSD.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
OpenBSD.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
OSF1.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
ossaudio.buildlink3.mk OpenBSD was fork()ed from NetBSD, so this uses -lossaudio as well. 2004-11-18 04:00:50 +00:00
pam.buildlink3.mk Add OS conditional blocks to exclude some PAM implementations from 2005-04-25 14:21:47 +00:00
pgsql.buildlink3.mk postgresql80-client is the correct BUILDLINK_PACKAGE word to use when 2005-05-12 22:19:16 +00:00
pthread.buildlink3.mk Fixed quoting errors. Approved by jlam. 2005-04-13 16:16:50 +00:00
pthread.builtin.mk Rework code to more easily allow listing other platform that, like NetBSD, 2005-01-17 08:29:30 +00:00
reduce-depends.mk _DEPENDS.${_path_} can contain more than one dependency pattern, so split 2004-10-06 21:51:41 +00:00
solaris-pam.builtin.mk Modify linux-pam and solaris-pam builtin.mk files to be more general 2005-01-14 07:54:20 +00:00
subst.mk Fixed shell quoting. Reviewed by jlam. 2005-05-17 19:01:36 +00:00
SunOS.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
SunOS.x11.dist Add my_MM locale, initially used by gaim-1.1.1. 2005-01-04 09:01:44 +00:00
texinfo.mk Rename mk/bsd.pkg.install.mk to mk/install/bsd.pkginstall.mk to 2005-05-11 02:07:37 +00:00
tools.mk USE_BUILDLINK3 is no longer optional (and cannot be turned off). Per mail 2005-03-24 17:46:00 +00:00
UnixWare.pkg.dist There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise, 2005-04-28 19:15:38 +00:00
x11-clients.buildlink3.mk Add a small Makefile fragment for packages requiring X11 clients 2005-05-09 13:01:29 +00:00
xaw.buildlink3.mk xaw for buildlink3. 2004-04-11 23:35:16 +00:00