svn commit: r317809 - head/textproc/dtdinst
Martin Wilke
miwi at FreeBSD.org
Fri May 10 14:34:43 UTC 2013
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 at mj.0038.net>
-#
+# Created by: Kimura Fuyuki <fuyuki at 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 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>
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
More information about the svn-ports-head
mailing list