Bug 177920 - textproc/dtdinst: Update to version 2009.11.11
Summary: textproc/dtdinst: Update to version 2009.11.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-17 19:10 UTC by tkato432
Modified: 2013-05-10 15:40 UTC (History)
0 users

See Also:


Attachments
file.diff (3.23 KB, patch)
2013-04-17 19:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-04-17 19:10:03 UTC
- Update to version 2009.11.11

Remove file:
pkg-plist
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-17 19:11:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-05-10 15:34:45 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-05-10 15:34:56 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"