From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 27 04:50:24 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5204237B405 for ; Fri, 27 Jun 2003 04:50:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B650944022 for ; Fri, 27 Jun 2003 04:50:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5RBoKUp044474 for ; Fri, 27 Jun 2003 04:50:20 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5RBoKo7044473; Fri, 27 Jun 2003 04:50:20 -0700 (PDT) Resent-Date: Fri, 27 Jun 2003 04:50:20 -0700 (PDT) Resent-Message-Id: <200306271150.h5RBoKo7044473@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hiroki Sato Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E12637B404 for ; Fri, 27 Jun 2003 04:49:33 -0700 (PDT) Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [211.6.83.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78D5E43FE1 for ; Fri, 27 Jun 2003 04:49:31 -0700 (PDT) (envelope-from hrs@allbsd.org) Received: from mail.d.allbsd.org (p11052-adsao12honb4-acca.tokyo.ocn.ne.jp [219.161.142.52]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id 5228E3334 for ; Fri, 27 Jun 2003 20:49:30 +0900 (JST) Received: from alph.allbsd.org (alph.allbsd.org [192.168.0.10]) h5RBmsSI040679 for ; Fri, 27 Jun 2003 20:48:56 +0900 (JST) (envelope-from hrs@allbsd.org) Received: from alph.allbsd.org (localhost [127.0.0.1]) by alph.allbsd.org (8.12.9/8.12.9) with ESMTP id h5RBmr5I099461 for ; Fri, 27 Jun 2003 20:48:53 +0900 (JST) (envelope-from hrs@alph.d.allbsd.org) Received: (from hrs@localhost) by alph.allbsd.org (8.12.9/8.12.9/Submit) id h5RBmqfI099460; Fri, 27 Jun 2003 20:48:52 +0900 (JST) Message-Id: <200306271148.h5RBmqfI099460@alph.allbsd.org> Date: Fri, 27 Jun 2003 20:48:52 +0900 (JST) From: Hiroki Sato To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53818: New port: textproc/xmlcatmgr X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hiroki Sato List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 11:50:25 -0000 >Number: 53818 >Category: ports >Synopsis: New port: textproc/xmlcatmgr >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 27 04:50:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Hiroki Sato >Release: FreeBSD 4.8-STABLE i386 >Organization: Tokyo University of Science >Environment: System: FreeBSD alph.allbsd.org 4.8-STABLE FreeBSD 4.8-STABLE #7: Tue May 20 00:05:43 JST 2003 hrs@alph.allbsd.org:/home/obj/home/src/sys/ALPH i386 >Description: xmlcatmgr is a small utility for manipulating SGML/XML catalog. This PR supersedes ports/52640 and please read the original PR for the motivation. >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xmlcatmgr # xmlcatmgr/Makefile # xmlcatmgr/distinfo # xmlcatmgr/pkg-plist # xmlcatmgr/pkg-descr # xmlcatmgr/pkg-message # echo c - xmlcatmgr mkdir -p xmlcatmgr > /dev/null 2>&1 echo x - xmlcatmgr/Makefile sed 's/^X//' >xmlcatmgr/Makefile << 'END-of-xmlcatmgr/Makefile' X# Ports collection makefile for: xmlcatmgr X# Date created: Sat May 24, 2003 X# Whom: Hiroki Sato X# X# $FreeBSD$ X# X XPORTNAME= xmlcatmgr XPORTVERSION= 0.2 XCATEGORIES= textproc XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME:L} X XMAINTAINER= hrs@FreeBSD.org XCOMMENT= SGML/XML catalog manager X XMAN1= xmlcatmgr.1 X XCATALOG_MASTER_SGML_DIR?= ${PREFIX}/share/sgml XCATALOG_MASTER_SGML?= ${CATALOG_MASTER_SGML_DIR}/catalog XCATALOG_PORTS_SGML?= ${CATALOG_MASTER_SGML_DIR}/catalog.ports X XCATALOG_MASTER_XML_DIR?= ${PREFIX}/share/xml XCATALOG_MASTER_XML?= ${CATALOG_MASTER_XML_DIR}/catalog XCATALOG_PORTS_XML?= ${CATALOG_MASTER_XML_DIR}/catalog.ports X XMAKEFILE= Makefile.boot XMAKE_ENV+= BT_PREFIX="${PREFIX}" XMAKE_ENV+= BT_PROG_AWK="${AWK}" XMAKE_ENV+= BT_PROG_SH="${SH}" XMAKE_ENV+= BT_DIR_CATALOG="${CATALOG_MASTER_XML_DIR}" XMAKE_ENV+= BT_INSTALL_DIR="${MKDIR}" XMAKE_ENV+= BT_INSTALL_BIN="${INSTALL_SCRIPT}" XMAKE_ENV+= BT_INSTALL_DATA="${INSTALL_DATA}" X Xpost-build: X @${ECHO} "Creating SGML catalogs..." X ${WRKSRC}/bin/xmlcatmgr.sh -sc ${WRKDIR}/catalog.sgml create X ${WRKSRC}/bin/xmlcatmgr.sh -sc ${WRKDIR}/catalog.ports.sgml create X ${WRKSRC}/bin/xmlcatmgr.sh -sc ${WRKDIR}/catalog.sgml add \ X CATALOG catalog.ports X @${ECHO} "Creating XML catalogs..." X ${WRKSRC}/bin/xmlcatmgr.sh -c ${WRKDIR}/catalog.xml create X ${WRKSRC}/bin/xmlcatmgr.sh -c ${WRKDIR}/catalog.ports.xml create X ${WRKSRC}/bin/xmlcatmgr.sh -c ${WRKDIR}/catalog.xml add \ X nextCatalog catalog.ports X Xpost-install: X @if [ -r ${CATALOG_MASTER_SGML} ]; then\ X ${WRKSRC}/bin/xmlcatmgr -sc ${CATALOG_MASTER_SGML} add CATALOG catalog.ports;\ X else\ X ${INSTALL_DATA} ${WRKDIR}/catalog.sgml ${CATALOG_MASTER_SGML};\ X fi X @if [ -r ${CATALOG_PORTS_SGML} ]; then\ X echo "Skipped: ${CATALOG_PORTS_SGML} is already exist.";\ X else\ X ${INSTALL_DATA} ${WRKDIR}/catalog.ports.sgml ${CATALOG_PORTS_SGML};\ X fi X @if [ -r ${CATALOG_MASTER_XML} ]; then\ X ${WRKSRC}/bin/xmlcatmgr -c ${CATALOG_MASTER_XML} add nextCatalog catalog.ports;\ X else\ X ${INSTALL_DATA} ${WRKDIR}/catalog.xml ${CATALOG_MASTER_XML};\ X fi X @if [ -r ${CATALOG_PORTS_XML} ]; then\ X echo "Skipped: ${CATALOG_PORTS_XML} is already exist.";\ X else\ X ${INSTALL_DATA} ${WRKDIR}/catalog.ports.xml ${CATALOG_PORTS_XML};\ X fi X X.include END-of-xmlcatmgr/Makefile echo x - xmlcatmgr/distinfo sed 's/^X//' >xmlcatmgr/distinfo << 'END-of-xmlcatmgr/distinfo' XMD5 (xmlcatmgr-0.2.tar.gz) = cac49c33adf3d70ae5626cfe58d0aa6e END-of-xmlcatmgr/distinfo echo x - xmlcatmgr/pkg-plist sed 's/^X//' >xmlcatmgr/pkg-plist << 'END-of-xmlcatmgr/pkg-plist' X@comment $FreeBSD$ Xbin/xmlcatmgr Xshare/sgml/catalog Xshare/sgml/catalog.ports Xshare/xml/catalog Xshare/xml/catalog.ports X@dirrm share/sgml X@dirrm share/xml END-of-xmlcatmgr/pkg-plist echo x - xmlcatmgr/pkg-descr sed 's/^X//' >xmlcatmgr/pkg-descr << 'END-of-xmlcatmgr/pkg-descr' Xxmlcatmgr is a command line script used to manipulate SGML and XML catalogs. XIt is designed with simplicity in mind: it does not depend on external Xprograms nor libraries, so it is ideal to manage catalog files from inside Xpkgsrc. It is also useful to handle shared directories like share/sgml and Xshare/xml. X XXML catalogs are files that contain mappings from public identifiers to Xsystem identifiers. This allows XML parsers to locate public identifiers Xin the local system. X END-of-xmlcatmgr/pkg-descr echo x - xmlcatmgr/pkg-message sed 's/^X//' >xmlcatmgr/pkg-message << 'END-of-xmlcatmgr/pkg-message' XThe following catalogs are installed: X X 1) ${PREFIX}/share/sgml/catalog X X The top level catalog for SGML stuff. This is not changed X by ports/packages but textproc/xmlcatmgr. X X 2) ${PREFIX}/share/sgml/catalog.ports X X The catalog is for handling SGML stuff installed under X ${PREFIX}/share/sgml. This is changed by ports/packages. X X 3) ${PREFIX}/share/xml/catalog X X The top level catalog for XML stuff. This is not changed X by ports/packages but textproc/xmlcatmgr. X X 4) ${PREFIX}/share/xml/catalog.ports X X The catalog is for handling XML stuff installed under X ${PREFIX}/share/xml. This is changed by ports/packages. X END-of-xmlcatmgr/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: