Date: Thu, 23 Oct 2003 16:13:36 +0200 (CEST) From: Henrik Motakef <ports@henrik-motakef.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/58435: textproc/tei-p4: Maintainer Update Message-ID: <20031023141336.1EB0860E4@pokey.internal.henrik-motakef.de> Resent-Message-ID: <200310231420.h9NEKGwk078842@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 58435 >Category: ports >Synopsis: textproc/tei-p4: Maintainer Update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Oct 23 07:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Henrik Motakef >Release: FreeBSD 5.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD pokey.internal.henrik-motakef.de 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Wed Oct 1 14:06:17 CEST 2003 toor@pokey.henrik-motakef.de:/usr/obj/usr/src/sys/POKEY i386 >Description: * Update to latest version, fixing checksum error * Install XML catalog * Fix catalog permissions * Change maintainer mail address >How-To-Repeat: cd /usr/ports/textproc/tei-p4 && make checksum >Fix: diff -urN tei-p4.orig/Makefile tei-p4/Makefile --- tei-p4.orig/Makefile Mon Oct 20 15:26:10 2003 +++ tei-p4/Makefile Thu Oct 23 15:51:17 2003 @@ -7,12 +7,12 @@ PORTNAME= tei PORTVERSION= p4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://www.tei-c.org/P4X/DTD/ DISTNAME= dtd -MAINTAINER= henrik.motakef@web.de +MAINTAINER= ports@henrik-motakef.de COMMENT= DTD of the Text Encoding Initiative RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr @@ -22,14 +22,17 @@ NO_WRKSUBDIR= yes PLIST_SUB= XMLCATMGR=${XMLCATMGR} \ DTDDIR=${DTDDIR} \ - CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} + CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \ + CATALOG_PORTS_XML=${CATALOG_PORTS_XML} DTD= dtd.zip SGMLDIR= ${PREFIX}/share/sgml INSTDIR= ${SGMLDIR}/${PORTNAME}/${PORTVERSION} DTDDIR= ${PORTNAME}/${PORTVERSION} +DTD_URL= http://www.tei-c.org/Guidelines/DTD XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports +CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @@ -38,10 +41,13 @@ ${INSTALL_DATA} ${WRKSRC}/*.dtd ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/*.ent ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/*.dec ${INSTDIR} - ${INSTALL_DATA} ${WRKSRC}/teicatalog.xml ${INSTDIR} + ${SED} -e "s!${DTD_URL}!file://${INSTDIR}!" ${WRKSRC}/teicatalog.xml > ${INSTDIR}/catalog.xml ${SED} -e "s!&DTDpath;!!" ${WRKSRC}/catalog.tei > ${INSTDIR}/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/catalog.xml + ${CHMOD} ${SHAREMODE} ${INSTDIR}/catalog post-install: - ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/catalog + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${INSTDIR}/catalog + ${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${INSTDIR}/catalog.xml .include <bsd.port.mk> diff -urN tei-p4.orig/distinfo tei-p4/distinfo --- tei-p4.orig/distinfo Mon Oct 20 15:26:10 2003 +++ tei-p4/distinfo Mon Oct 20 15:26:38 2003 @@ -1 +1 @@ -MD5 (dtd.zip) = 1c4e64e093c87e7675a2596840e54e98 +MD5 (dtd.zip) = 87c729c401a59ed301da50530cb375fd diff -urN tei-p4.orig/pkg-plist tei-p4/pkg-plist --- tei-p4.orig/pkg-plist Mon Oct 20 15:26:10 2003 +++ tei-p4/pkg-plist Mon Oct 20 15:33:10 2003 @@ -1,6 +1,7 @@ @unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/catalog +@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%DTDDIR%%/catalog.xml share/sgml/tei/p4/dummy.dtd -share/sgml/tei/p4/teicatalog.xml +share/sgml/tei/p4/catalog.xml share/sgml/tei/p4/tei2.dtd share/sgml/tei/p4/teiana2.dtd share/sgml/tei/p4/teiback2.dtd >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031023141336.1EB0860E4>