From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 27 05:20:42 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 1E49037B40C for ; Fri, 27 Jun 2003 05:20:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5A114402A for ; Fri, 27 Jun 2003 05:20:17 -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 h5RCKHUp049204 for ; Fri, 27 Jun 2003 05:20:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5RCKHRu049203; Fri, 27 Jun 2003 05:20:17 -0700 (PDT) Resent-Date: Fri, 27 Jun 2003 05:20:17 -0700 (PDT) Resent-Message-Id: <200306271220.h5RCKHRu049203@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 5E9FF37B405 for ; Fri, 27 Jun 2003 05:16:27 -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 3C82A4401E for ; Fri, 27 Jun 2003 05:16:23 -0700 (PDT) (envelope-from hrs@allbsd.org) Received: from mail.d.allbsd.org (p19167-adsao12honb4-acca.tokyo.ocn.ne.jp [219.165.47.167]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id BABB53BF0 for ; Fri, 27 Jun 2003 21:16:21 +0900 (JST) Received: from alph.allbsd.org (alph.allbsd.org [192.168.0.10]) h5RCClSI040789 for ; Fri, 27 Jun 2003 21:12:47 +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 h5RCCj5I003147 for ; Fri, 27 Jun 2003 21:12:45 +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 h5RCCjfT003146; Fri, 27 Jun 2003 21:12:45 +0900 (JST) Message-Id: <200306271212.h5RCCjfT003146@alph.allbsd.org> Date: Fri, 27 Jun 2003 21:12:45 +0900 (JST) From: Hiroki Sato To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53831: Switch to use xmlcatmgr: textproc/xmlcharent 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 12:20:43 -0000 >Number: 53831 >Category: ports >Synopsis: Switch to use xmlcatmgr: textproc/xmlcharent >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 05:20:16 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: Change this port to use textproc/xmlcatmgr and bump ${PORTREVISION}. This PR supersedes ports/52640 and please read the original PR for the motivation. >How-To-Repeat: N/A >Fix: Index: xmlcharent/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/xmlcharent/Makefile,v retrieving revision 1.4 diff -d -u -I\$FreeBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -u -r1.4 Makefile --- xmlcharent/Makefile 21 Feb 2003 13:42:49 -0000 1.4 +++ xmlcharent/Makefile 27 Jun 2003 11:05:16 -0000 @@ -1,5 +1,4 @@ -# New ports collection makefile for: xmlcharent -# Date created: 31 January 2002 +# New ports collection makefile for: xmlcharent # Date created: 31 January 2002 # Whom: Kimura Fuyuki # # $FreeBSD: ports/textproc/xmlcharent/Makefile,v 1.4 2003/02/21 13:42:49 knu Exp $ @@ -7,20 +6,36 @@ PORTNAME= xmlcharent PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.oasis-open.org/docbook/${PORTNAME}/${PORTVERSION}/ MAINTAINER= fuyuki@hadaly.org COMMENT= XML character entities +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr + USE_ZIP= yes NO_WRKSUBDIR= yes NO_BUILD= yes +PLIST_SUB= XMLCATMGR=${XMLCATMGR} +PLIST_SUB+= XMLDIR=${XMLDIR} +PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} +PLIST_SUB+= CATALOG_PORTS_XML=${CATALOG_PORTS_XML} XMLDIR= ${PREFIX}/share/xml/${PORTNAME} +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports +CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports + +post-patch: + ${SED} -e 's#@@XMLDIR@@#${XMLDIR}#' < ${FILESDIR}/catalog.xml > ${WRKSRC}/catalog.xml do-install: ${MKDIR} ${XMLDIR} - ${INSTALL_DATA} ${WRKSRC}/*.ent ${FILESDIR}/catalog ${XMLDIR} + ${INSTALL_DATA} ${WRKSRC}/*.ent\ + ${FILESDIR}/catalog ${WRKSRC}/catalog.xml ${XMLDIR} + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${XMLDIR}/catalog + ${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${XMLDIR}/catalog.xml .include Index: xmlcharent/pkg-plist =================================================================== RCS file: /home/ncvs/ports/textproc/xmlcharent/pkg-plist,v retrieving revision 1.3 diff -d -u -I\$FreeBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -u -r1.3 pkg-plist --- xmlcharent/pkg-plist 16 Aug 2002 19:22:24 -0000 1.3 +++ xmlcharent/pkg-plist 27 Jun 2003 10:14:35 -0000 @@ -1,5 +1,10 @@ @comment $FreeBSD: ports/textproc/xmlcharent/pkg-plist,v 1.3 2002/08/16 19:22:24 naddy Exp $ +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%XMLDIR%%/catalog share/xml/xmlcharent/catalog +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%XMLDIR%%/catalog +@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%XMLDIR%%/catalog.xml +share/xml/xmlcharent/catalog.xml +@exec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% add nextCatalog %%XMLDIR%%/catalog.xml share/xml/xmlcharent/iso-amsa.ent share/xml/xmlcharent/iso-amsb.ent share/xml/xmlcharent/iso-amsc.ent Index: xmlcharent/files/catalog.xml =================================================================== RCS file: xmlcharent/files/catalog.xml diff -N xmlcharent/files/catalog.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ xmlcharent/files/catalog.xml 27 Jun 2003 08:17:21 -0000 @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + >Release-Note: >Audit-Trail: >Unformatted: