Date: Fri, 27 Jun 2003 21:12:36 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53827: Switch to use xmlcatmgr: textproc/iso12083 Message-ID: <200306271212.h5RCCaC2002556@alph.allbsd.org> Resent-Message-ID: <200306271220.h5RCKFa9049125@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53827 >Category: ports >Synopsis: Switch to use xmlcatmgr: textproc/iso12083 >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:15 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: iso12083/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/iso12083/Makefile,v retrieving revision 1.12 diff -d -u -I\$FreeBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -u -r1.12 Makefile --- iso12083/Makefile 22 Feb 2003 07:48:49 -0000 1.12 +++ iso12083/Makefile 27 Jun 2003 11:11:38 -0000 @@ -7,6 +7,7 @@ PORTNAME= iso12083 PORTVERSION= 1993 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= kuriyama/iso12083 @@ -16,17 +17,19 @@ MAINTAINER= kuriyama@FreeBSD.org COMMENT= SGML DTDs from the The Electronic Publishing Special Interest Group -RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr DIST_SUBDIR= iso12083 NO_MTREE= yes NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG} +PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR} +PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} INSTDIR= ${PREFIX}/share/sgml/iso12083 -MKCATALOG= ${PREFIX}/sbin/mkcatalog +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @@ -38,6 +41,6 @@ @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog post-install: - @${MKCATALOG} -q install ${PORTNAME} + @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog .include <bsd.port.mk> Index: iso12083/pkg-plist =================================================================== RCS file: /home/ncvs/ports/textproc/iso12083/pkg-plist,v retrieving revision 1.3 diff -d -u -I\$FreeBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -u -r1.3 pkg-plist --- iso12083/pkg-plist 10 Nov 2002 22:30:18 -0000 1.3 +++ iso12083/pkg-plist 27 Jun 2003 09:22:11 -0000 @@ -2,7 +2,7 @@ share/sgml/iso12083/book.dtd share/sgml/iso12083/maths.dtd share/sgml/iso12083/serial.dtd -@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%% +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTD_NAME%%/catalog share/sgml/iso12083/catalog -@exec %%MKCATALOG%% -q install %%DTD_NAME%% +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add %%DTD_NAME%%/catalog @dirrm share/sgml/iso12083 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306271212.h5RCCaC2002556>