Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 14:34:42 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317809 - head/textproc/dtdinst
Message-ID:  <201305101434.r4AEYglv010793@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri May 10 14:34:42 2013
New Revision: 317809
URL: http://svnweb.freebsd.org/changeset/ports/317809

Log:
  - Update to 2009.11.11
  
  PR:		177920
  Submitted by:	Ports Fury

Deleted:
  head/textproc/dtdinst/pkg-plist
Modified:
  head/textproc/dtdinst/Makefile   (contents, props changed)
  head/textproc/dtdinst/distinfo   (contents, props changed)

Modified: head/textproc/dtdinst/Makefile
==============================================================================
--- head/textproc/dtdinst/Makefile	Fri May 10 14:33:41 2013	(r317808)
+++ head/textproc/dtdinst/Makefile	Fri May 10 14:34:42 2013	(r317809)
@@ -1,37 +1,47 @@
-# New ports collection makefile for:   dtdinst
-# Date created:                3 February 2002
-# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
-#
+# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
 # $FreeBSD$
-#
 
 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@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>

Modified: head/textproc/dtdinst/distinfo
==============================================================================
--- head/textproc/dtdinst/distinfo	Fri May 10 14:33:41 2013	(r317808)
+++ head/textproc/dtdinst/distinfo	Fri May 10 14:34:42 2013	(r317809)
@@ -1,2 +1,2 @@
-SHA256 (dtdinst-20030619.zip) = fdaee0e3efaf14698d88f8c3e077041740e7f725fe936ff2458653a46d112a92
-SIZE (dtdinst-20030619.zip) = 179776
+SHA256 (dtdinst-20091111.zip) = b9387901dee4dce7fbb6cac6d7f7a6ca93c7555034fd394b00d95b7bed394b5b
+SIZE (dtdinst-20091111.zip) = 239791



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305101434.r4AEYglv010793>