From boris@brooknet.com.au  Wed Apr  6 13:35:25 2005
Return-Path: <boris@brooknet.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6367816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 13:35:25 +0000 (GMT)
Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0CE4643D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 13:35:24 +0000 (GMT)
	(envelope-from boris@brooknet.com.au)
Received: from localhost (ppp266B.dyn.pacific.net.au [61.8.38.107])
	by bloodwood.hunterlink.net.au (8.12.8/8.12.8) with ESMTP id j36DZ6iT014924
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 6 Apr 2005 23:35:16 +1000
Received: by localhost (Postfix, from userid 0)
	id 162F2131C; Wed,  6 Apr 2005 23:34:59 +1000 (EST)
Message-Id: <20050406133459.162F2131C@localhost>
Date: Wed,  6 Apr 2005 23:34:59 +1000 (EST)
From: Sam Lawrance <boris@brooknet.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] textproc/tei: unbreak and update
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79601
>Category:       ports
>Synopsis:       [PATCH] textproc/tei: unbreak and update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 06 13:40:05 GMT 2005
>Closed-Date:    Fri Apr 08 22:37:44 GMT 2005
>Last-Modified:  Fri Apr 08 22:37:44 GMT 2005
>Originator:     Sam Lawrance
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dirk.no.domain 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #11: Sun Mar  6 12:44:50 EST
>Description:
Port was broken due to unversioned distfile.

Update to latest version.
- Bump PORTREVISION
- Update distinfo
- Minor changes to xml/sgml catalog manager commands

>How-To-Repeat:
>Fix:

--- tei-p4_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/textproc/tei-p4/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	28 Feb 2005 04:19:32 -0000	1.7
+++ Makefile	6 Apr 2005 13:29:16 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	tei
 PORTVERSION=	p4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.tei-c.org/P4X/DTD/
 DISTNAME=	dtd
@@ -17,16 +17,14 @@
 
 RUN_DEPENDS=	${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
 
-BROKEN=		Size mismatch
-
 LATEST_LINK=	tei-p4
 USE_ZIP=	yes
 NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
 PLIST_SUB=	XMLCATMGR=${XMLCATMGR} \
 		DTDDIR=${DTDDIR} \
 		CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
-		CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
+		CATALOG_PORTS_XML=${CATALOG_PORTS_XML} \
+		SGMLDIR=${SGMLDIR}
 
 DTD=		dtd.zip
 SGMLDIR=	${PREFIX}/share/sgml
Index: distinfo
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/textproc/tei-p4/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	31 Mar 2004 03:12:05 -0000	1.3
+++ distinfo	6 Apr 2005 08:39:01 -0000
@@ -1,2 +1,2 @@
-MD5 (dtd.zip) = 87c729c401a59ed301da50530cb375fd
-SIZE (dtd.zip) = 77700
+MD5 (dtd.zip) = 80064d55b2c9b703e1ef832d87a5a90e
+SIZE (dtd.zip) = 73194
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/textproc/tei-p4/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	26 Oct 2003 13:50:57 -0000	1.4
+++ pkg-plist	6 Apr 2005 13:25:35 -0000
@@ -1,5 +1,5 @@
-@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/catalog
-@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%DTDDIR%%/catalog.xml
+@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%SGMLDIR%%/%%DTDDIR%%/catalog
+@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%SGMLDIR%%/%%DTDDIR%%/catalog.xml
 share/sgml/tei/p4/dummy.dtd
 share/sgml/tei/p4/catalog.xml
 share/sgml/tei/p4/tei2.dtd
@@ -52,7 +52,6 @@
 share/sgml/tei/p4/teilitex.ent
 share/sgml/tei/p4/teilitex.dtd
 share/sgml/tei/p4/teilite.dec
-share/sgml/tei/p4/teilitex.dec
 share/sgml/tei/p4/catalog
 @exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/catalog
 @dirrm share/sgml/tei/p4/
--- tei-p4_3.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Apr 8 22:37:37 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79601 
>Unformatted:
