Commit graph

64 commits

Author SHA1 Message Date
jmmv
9df6598823 Update to 1.2:
Released on 2003/12/16, its state was stable.

* Added the BT_PROG_GREP variable to the build system; this is to allow the
  user override the grep program used by xmlcatmgr.  In some systems, like
  Solaris, the -F flag is not supported, so an alternative must be used.
2003-12-16 22:45:33 +00:00
sketch
f6c197ca04 Ensure a version of grep is used which can handle the -F argument. 2003-12-16 11:33:44 +00:00
jschauma
ed378ed165 Use a GNU awk, so that this creates the files correctly.
Pointed out by Bas van Oostveen in PR pkg/23514.
2003-12-04 04:35:25 +00:00
jmmv
a1746bbfcb Update to 1.1:
* Fixed AWK code generation to work with the mawk interpreter.
* Fixed Makefile.boot to install documentation inside the directory pointed
  by the BT_DIR_DOC variable.

Thanks to reed@ for mawk fixes and grant@ for Solaris tests.
2003-10-13 12:12:57 +00:00
jmmv
18b182d4cf Update to 1.0:
* Adapted Buildtool scripts to the latest version, 0.14.  As a side effect,
  distribution documentation is now installed into the system.
* Minor manpage fixes.
* Code cleanup.

Fixes in the package: avoid overwriting catalog files when using 'make
replace' (if you have 0.2 installed actually, it won't take any effect, so
be careful by backing up pkg/share/{sgml,xml}/catalog).  'make update' will
work fine.
2003-09-08 12:26:20 +00:00
jmmv
3c8e6774f3 Move the definition of XMLCATMGR, SGML_DEFAULT_CATALOG and XML_DEFAULT_CATALOG
variables from the catalogs.mk file to buildlink2.mk.  These may be needed in
a package that does *not* provide catalog files (i.e., all the functionality
in catalogs.mk is not required).
2003-07-22 18:25:09 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
a08f5b5b1c Update HOMEPAGE. 2003-04-05 18:31:37 +00:00
jmmv
7381ae93eb Override install commands, to fix installation in SunOS. Pointed out by
Brian Harrington in PR pkg/20971.
2003-04-01 08:20:08 +00:00
jmmv
566d9afee3 s/PKGBASE/PKGNAME/ (gives more information, and looks better ;) 2003-03-17 17:46:49 +00:00
jmmv
50c90b2f77 Update xmlcatmgr to 0.2. Changes in this version:
* Added XML Catalogs management.  You must use the new `-s' flag to handle
  SGML Catalogs as XML format becomes the default.
* Dropped use of getopt in favour of getopts, as the former does not handle       whitespace in variables properly.
* Handle comments in SGML catalogs properly.
* Several manpage improvements.

Changes in the package:
* Implement a new framework to automatically register/deregister catalog
  entries.  This is available through the catalogs.mk file.  Packages do
  not need to call xmlcatmgr directly any more, nor do tricky things in
  their PLISTs.
* Install two catalog files under PKG_SYSCONFDIR, one called sgml/catalog
  and the other xml/catalog.  Both are completely different things, so they
  can't be mixed.  Also avoid that any of these catalogs refer to the other
  one, as this could cause problems.
2003-01-29 20:21:06 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jmmv
7188966a27 - Install an additional SGML catalog file under share/sgml/catalog.
- Install a system wide catalog file under PKG_SYSCONFDIR, which now
  becomes the default for the program.
- Bump PKGREVISION to 1.
2003-01-11 21:08:42 +00:00
jmmv
321a488d77 Initial import of xmlcatmgr, version 0.1:
xmlcatmgr is a command line script used to manipulate SGML and XML catalogs.
It is designed with simplicity in mind:  it does not depend on external
programs nor libraries, so it is ideal to manage catalog files from inside
pkgsrc.

XML catalogs are files that contain mappings from public identifiers to
system identifiers.  This allows XML parsers to locate public identifiers
in the local system.
2003-01-10 19:24:48 +00:00