pkgsrc/textproc/docbook-website/Makefile
hrs f4526f282b Update to 2.6.0:
* catalog, catalog.xml: enable users to have "current" in schema URIs
   in doc instances;

   http://docbook.sourceforge.net/release/website/current/schema/

   Yeah, I know that it's traditionally been the case that DocBook
   doc instances contain public and system IDs for a specific version
   of the DocBook DTD. But note that:

     - all versions of DocBook 4 are backward-compatible

     - doc instances don't actually need to contain any system or
       public ID at all users employ RELAX NG-based tools

     - for RELAX NG-based toolchain, users will probably be authoring
       and validating their doc instances against whatever is the
       current version of the RELAX NG schema for DocBook that that
       they have installed

   So enabling users to put "current" in their doc instances instead
   of a specific version number means that they don't need to update
   the URIs if/when they want to author/validate using a future
   version of the DTD.

 * AUTHORS, BUGS, COPYING, INSTALL, README, TODO: Added standard distro
   files, to make life easier for packagers;

   From README, moved copyright info to COPYING and install info to
   INSTALL. README content is not just minimal how-to info. Added
   BUGS and TODO, which are just pointers to SF trackers. Added
   AUTHORS just for sake completeness.

 * Makefile: generate RELEASE-NOTES.html/.txt

 * RELEASE-NOTES.xml: New file.
2005-05-05 05:43:05 +00:00

40 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2005/05/05 05:43:05 hrs Exp $
#
DISTNAME= docbook-website-2.6.0
PKGREVISION= 0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/}
MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://docbook.sourceforge.net/
COMMENT= DocBook XML DTD for building websites
DEPENDS= docbook-xsl>=1.58:../../textproc/docbook-xsl
USE_LANGUAGES= # empty
NO_BUILD= YES
NO_CONFIGURE= YES
DOCDIR= ${PREFIX}/share/doc/docbook-website
DTDDIR= ${PREFIX}/share/xml/website
EGDIR= ${PREFIX}/share/examples/docbook-website
XML_CATALOGS= ${DTDDIR}/catalog.xml
SGML_CATALOGS= ${DTDDIR}/catalog
do-install:
cd ${WRKSRC} && ${FIND} . -name "*.orig" -exec ${RM} {} \;
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${DTDDIR}
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC} && ${PAX} -rwpm ChangeLog README VERSION \
RELEASE-NOTES.html RELEASE-NOTES.txt RELEASE-NOTES.xml \
TODO ${DOCDIR}
cd ${WRKSRC}/example && ${PAX} -rwpm . ${EGDIR}
cd ${WRKSRC} && ${PAX} -rwpm VERSION extensions schema xsl \
${DTDDIR}
${INSTALL_DATA} ${WRKSRC}/catalog.xml ${WRKSRC}/catalog ${DTDDIR}
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"