ports/53542: [patch] Update textproc/dtdinst to 2003.06.19

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Fri Jun 20 08:20:14 UTC 2003


>Number:         53542
>Category:       ports
>Synopsis:       [patch] Update textproc/dtdinst to 2003.06.19
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 20 01:20:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.8-STABLE FreeBSD 4.8-STABLE #4: Tue Apr 29 11:28:13 CEST 2003 root at menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


	
>Description:
bento noticed that this port got updated.
>How-To-Repeat:
>Fix:
- Mastersite now carries versioned ZIP file
- Honour NOPORTDOCS

--- Makefile.orig	Fri Jun 20 09:37:46 2003
+++ Makefile	Fri Jun 20 10:11:54 2003
@@ -6,33 +6,33 @@
 #
 
 PORTNAME=	dtdinst
-PORTVERSION=	2003.01.22
+PORTVERSION=	2003.06.19
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.thaiopensource.com/relaxng/dtdinst/
-DISTNAME=	${PORTNAME}
-DISTFILES=	dtdinst.jar dtdinst2rng.xsl index.html copying.txt
-DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
-EXTRACT_ONLY=
+MASTER_SITES=	http://www.thaiopensource.com/download/
+DISTNAME=	${PORTNAME}-20030619
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Converts DTDs to XML instance, in a specific or RELAX NG format
 
-BROKEN=		"Checksum mismatch"
-
+USE_ZIP=	YES
 USE_JAVA=	1.1+
 NO_BUILD=	yes
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
 NO_BUILD_DEPENDS_JAVA=	yes
 
 do-install:
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.jar ${JAVAJARDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVAJARDIR}
 	${MKDIR} ${PREFIX}/share/xsl/${PORTNAME}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.xsl \
-		${PREFIX}/share/xsl/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/*.xsl ${PREFIX}/share/xsl/${PORTNAME}
 
 post-install:
+.if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.html ${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.txt ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/dtdinst.rng ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
--- pkg-plist.orig	Fri Jun 20 10:04:58 2003
+++ pkg-plist	Fri Jun 20 10:11:13 2003
@@ -2,6 +2,9 @@
 share/xsl/dtdinst/dtdinst2rng.xsl
 @dirrm share/xsl/dtdinst
 @unexec rmdir %D/share/xsl 2>/dev/null || true
-%%DOCSDIR%%/copying.txt
-%%DOCSDIR%%/index.html
- at dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/copying.txt
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/dtdinst.rng
+%%PORTDOCS%%%%DOCSDIR%%/dtdinst.rnc.txt
+%%PORTDOCS%%%%DOCSDIR%%/teixml.dtd.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- dtdinst ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list