ports/177920: textproc/dtdinst: Update to version 2009.11.11

KATO Tsuguru tkato432 at yahoo.com
Wed Apr 17 18:10:04 UTC 2013


>Number:         177920
>Category:       ports
>Synopsis:       textproc/dtdinst: Update to version 2009.11.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 17 18:10:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 2009.11.11

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/dtdinst/Makefile textproc/dtdinst/Makefile
--- /usr/ports/textproc/dtdinst/Makefile	2012-11-08 07:59:41.000000000 +0900
+++ textproc/dtdinst/Makefile	2013-02-28 00:20:41.000000000 +0900
@@ -1,37 +1,47 @@
-# New ports collection makefile for:   dtdinst
-# Date created:                3 February 2002
-# Whom:                        Kimura Fuyuki <fuyuki at mj.0038.net>
-#
+# Created by: Kimura Fuyuki <fuyuki at mj.0038.net>
 # $FreeBSD: head/textproc/dtdinst/Makefile 300897 2012-07-14 14:29:18Z beat $
-#
 
 PORTNAME=	dtdinst
-PORTVERSION=	2003.06.19
-PORTREVISION=	2
+PORTVERSION=	2009.11.11
 CATEGORIES=	textproc java
-MASTER_SITES=	http://www.thaiopensource.com/download/
-DISTNAME=	${PORTNAME}-20030619
-EXTRACT_SUFX=	.zip
+MASTER_SITES=	GOOGLE_CODE
+PROJECTHOST=	jing-trang
+DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Converts DTDs to XML instance, in a specific or RELAX NG format
 
-USE_ZIP=	YES
-USE_JAVA=	yes
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/copying.txt
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 NO_BUILD=	yes
-WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_ZIP=	yes
+USE_JAVA=	yes
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
+PLIST_FILES=	%%JAVAJARDIR%%/dtdinst.jar share/xsl/dtdinst/dtdinst2rng.xsl
+PLIST_DIRS=	share/xsl/dtdinst
+PLIST_DIRSTRY=	share/xsl
+
+.include <bsd.port.options.mk>
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVAJARDIR}
-	${MKDIR} ${PREFIX}/share/xsl/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/*.xsl ${PREFIX}/share/xsl/${PORTNAME}
-
-post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/dtdinst.rng ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} *.jar ${JAVAJARDIR})
+	@${MKDIR} ${PREFIX}/share/xsl/dtdinst
+	(cd ${WRKSRC} && ${INSTALL_DATA} *.xsl ${PREFIX}/share/xsl/dtdinst)
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+.for i in dtdinst.rnc.txt dtdinst.rng index.html teixml.dtd.txt
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${EXAMPLESDIR}
+	(cd ${WRKSRC}/example && ${INSTALL_DATA} * ${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/dtdinst/distinfo textproc/dtdinst/distinfo
--- /usr/ports/textproc/dtdinst/distinfo	2012-11-08 07:59:41.000000000 +0900
+++ textproc/dtdinst/distinfo	2013-02-27 22:56:30.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (dtdinst-20030619.zip) = fdaee0e3efaf14698d88f8c3e077041740e7f725fe936ff2458653a46d112a92
-SIZE (dtdinst-20030619.zip) = 179776
+SHA256 (dtdinst-20091111.zip) = b9387901dee4dce7fbb6cac6d7f7a6ca93c7555034fd394b00d95b7bed394b5b
+SIZE (dtdinst-20091111.zip) = 239791
diff -urN /usr/ports/textproc/dtdinst/pkg-plist textproc/dtdinst/pkg-plist
--- /usr/ports/textproc/dtdinst/pkg-plist	2012-11-08 07:59:41.000000000 +0900
+++ textproc/dtdinst/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
-%%JAVAJARDIR%%/dtdinst.jar
-share/xsl/dtdinst/dtdinst2rng.xsl
- at dirrm share/xsl/dtdinst
- at dirrmtry share/xsl
-%%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%%
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list