# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= xmlcatmgr VERSION= 2.2 REVISION= 5 KEYWORDS= textproc VARIANTS= std SDESC[std]= SGML and XML catalog manager HOMEPAGE= https://xmlcatmgr.sourceforge.net/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= SF/xmlcatmgr/xmlcatmgr/2.2 DISTFILE[1]= xmlcatmgr-2.2.tar.gz:main DF_INDEX= 1 SPKGS[std]= set primary man OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none LICENSE= BSD3CLAUSE:primary LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING LICENSE_SCHEME= solo FPC_EQUIVALENT= textproc/xmlcatmgr MUST_CONFIGURE= gnu CONFIGURE_ARGS= --disable-docs DEFAULT_CATALOG_SGML={{PREFIX}}/share/sgml/catalog.ports DEFAULT_CATALOG_XML={{PREFIX}}/share/xml/catalog.ports SUB_FILES= scripts-primary.ucl messages-primary.ucl refresh_xmlcatmgr_catalogs SUB_LIST= CATALOG_MASTER_SGML={{PREFIX}}/share/sgml/catalog CATALOG_MASTER_XML={{PREFIX}}/share/xml/catalog CATALOG_PORTS_SGML={{PREFIX}}/share/sgml/catalog.ports CATALOG_PORTS_XML={{PREFIX}}/share/xml/catalog.ports XMLCATMGR={{PREFIX}}/bin/xmlcatmgr post-install: ${INSTALL_SCRIPT} ${WRKDIR}/refresh_xmlcatmgr_catalogs \ ${STAGEDIR}${PREFIX}/bin/ [FILE:578:descriptions/desc.primary] XML Catalog Manager (xmlcatmgr in its short form) is a small utility used to manipulate SGML and XML catalogs. It is extremely small and lightweight, specially designed to be run from packaging systems. Basically, it allows adding and removing entries from catalogs in a completely automated way. A catalog is a lookup mechanism used to translate entities into other different entities. They can, for example, map public identifiers to local files or URIs. This allows you to tell the parser where to look for entities without having to modify the original document source. [FILE:99:distinfo] ea1142b6aef40fbd624fc3e2130cf10cf081b5fa88e5229c92b8f515779d6fdc 97265 xmlcatmgr-2.2.tar.gz [FILE:44:manifests/plist.primary] bin/ refresh_xmlcatmgr_catalogs xmlcatmgr [FILE:27:manifests/plist.man] share/man/man1/xmlcatmgr.1 [FILE:689:files/messages-primary.ucl.in] primary: { type: "install" message: < /dev/null 2>&1; then echo "xmlcatmgr: Registering CATALOG catalog.ports (SGML)" ${XMLCATMGR} -sc ${CATALOG_MASTER_SGML} add CATALOG catalog.ports fi if ! ${XMLCATMGR} -c ${CATALOG_MASTER_XML} lookup ${CATALOG_PORTS_XML} > /dev/null 2>&1 ; then echo "xmlcatmgr: Registering nextCatalog catalog.ports (XML)" ${XMLCATMGR} -c ${CATALOG_MASTER_XML} add nextCatalog ${CATALOG_PORTS_XML} fi echo "complete" [FILE:3378:files/scripts-primary.ucl.in] post-install: [{ args: "" code: < /dev/null 2>&1; then echo " + Registering CATALOG catalog.ports (SGML)" ${XMLCATMGR} -sc "${CATALOG_MASTER_SGML}" add CATALOG catalog.ports fi if [ ! -r ${CATALOG_PORTS_SGML} ]; then echo " + Creating ${CATALOG_PORTS_SGML}" ${XMLCATMGR} -sc "${CATALOG_PORTS_SGML}" create fi if [ ! -d "${XML_DIR}" ]; then echo " + Creating ${XML_DIR} directory" mkdir -p "${XML_DIR}" fi if [ ! -r ${CATALOG_MASTER_XML} ]; then echo " + Creating ${CATALOG_MASTER_XML}" ${XMLCATMGR} -c "${CATALOG_MASTER_XML}" create fi if ! ${XMLCATMGR} -c ${CATALOG_MASTER_XML} lookup ${CATALOG_PORTS_XML} > /dev/null 2>&1 ; then echo " + Registering nextCatalog catalog.ports (XML)" ${XMLCATMGR} -c "${CATALOG_MASTER_XML}" add nextCatalog "${CATALOG_PORTS_XML}" fi if [ ! -r ${CATALOG_PORTS_XML} ]; then echo " + Creating ${CATALOG_PORTS_XML}" ${XMLCATMGR} -c "${CATALOG_PORTS_XML}" create fi EOS }] pre-deinstall-lua: [{ args: "" code: <