Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 02:11:26 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348825 - in head/textproc: . xsv xsv/files
Message-ID:  <201403230211.s2N2BQVU030934@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Sun Mar 23 02:11:26 2014
New Revision: 348825
URL: http://svnweb.freebsd.org/changeset/ports/348825
QAT: https://qat.redports.org/buildarchive/r348825/

Log:
  XSV is a command-line tool for performing schema-validity
  assessment of XML documents in accord with the
  W3C XML Schema specification, second edition.
  
  XSV (XML Schema Validator) is an open source (GPLed) work-in-progress
  attempt at a conformant schema-aware processor, as defined by
  XML Schema Part 1: Structures, Second Edition of 28 October 2004.
  It has been developed at the Language Technology Group of the Human
  Communication Research Centre in the School of Informatics at the
  University of Edinburgh, with support for one of us (Thompson)
  from the World Wide Web Consortium.
  
  WWW: http://www.ltg.ed.ac.uk/~ht/xsv-status.html

Added:
  head/textproc/xsv/
  head/textproc/xsv/Makefile   (contents, props changed)
  head/textproc/xsv/distinfo   (contents, props changed)
  head/textproc/xsv/files/
  head/textproc/xsv/files/patch-setup.py   (contents, props changed)
  head/textproc/xsv/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sun Mar 23 02:07:12 2014	(r348824)
+++ head/textproc/Makefile	Sun Mar 23 02:11:26 2014	(r348825)
@@ -1534,6 +1534,7 @@
     SUBDIR += xslide.el
     SUBDIR += xslint
     SUBDIR += xstream
+    SUBDIR += xsv
     SUBDIR += xt
     SUBDIR += y2l
     SUBDIR += yali

Added: head/textproc/xsv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xsv/Makefile	Sun Mar 23 02:11:26 2014	(r348825)
@@ -0,0 +1,38 @@
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	xsv
+PORTVERSION=	3.1
+CATEGORIES=	textproc python
+MASTER_SITES=	ftp://ftp.cogsci.ed.ac.uk/pub/XSV/
+DISTNAME=	${PORTNAME:U}-${DISTVERSION}
+
+MAINTAINER=	nemysis@FreeBSD.org
+COMMENT=	XML Schema Validator
+
+LICENSE=	GPLv2
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ltxml>0:${PORTSDIR}/textproc/py-ltxml
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=  yes
+INSTALLS_EGGINFO=	yes
+USE_LDCONFIG=	yes
+
+PORTDOCS=	pc-shrinkwrap xsv-status.xml xsv-status.html 
+PORTEXAMPLES=	triv.xml triv.xsd tiny.xml tiny.xsd
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+=	-fPIC
+.endif
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.post.mk>

Added: head/textproc/xsv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xsv/distinfo	Sun Mar 23 02:11:26 2014	(r348825)
@@ -0,0 +1,2 @@
+SHA256 (XSV-3.1.tar.gz) = acd0b8522ae6e14ffe17ef23f376aa51c7420152a038c53ef5b51fc0d79c4018
+SIZE (XSV-3.1.tar.gz) = 157804

Added: head/textproc/xsv/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xsv/files/patch-setup.py	Sun Mar 23 02:11:26 2014	(r348825)
@@ -0,0 +1,25 @@
+--- ./setup.py.orig	2008-01-18 13:17:40.000000000 +0100
++++ ./setup.py	2014-03-23 02:06:18.690868591 +0100
+@@ -16,20 +16,10 @@
+     self.install_dir = getattr(install_cmd, 'install_lib')
+     return install_data.run(self)
+ 
+-datafiles=[('XSV/example',
+-            ['triv.xml',
+-             'triv.xsd',
+-             'tiny.xml',
+-             'tiny.xsd']),
+-           ('XSV',['XSV/nndump.xml',
++datafiles=[('XSV',['XSV/nndump.xml',
+                    'XSV/XMLSchema.dtd',
+                    'XSV/datatypes.dtd']),
+-           ('XSV/pubtext',['xsv.xsl']),
+-           ('XSV/doc',['COPYING',
+-                       'COPYRIGHT',
+-                       'pc-shrinkwrap',
+-                       'xsv-status.xml',
+-                       'xsv-status.html'])] # only works for bdist and friends
++           ('XSV/pubtext',['xsv.xsl'])]
+ 
+ if sys.platform.find("win32",0,5)==0:
+   platform="WIN32"

Added: head/textproc/xsv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xsv/pkg-descr	Sun Mar 23 02:11:26 2014	(r348825)
@@ -0,0 +1,13 @@
+XSV is a command-line tool for performing schema-validity
+assessment of XML documents in accord with the
+W3C XML Schema specification, second edition.
+
+XSV (XML Schema Validator) is an open source (GPLed) work-in-progress
+attempt at a conformant schema-aware processor, as defined by
+XML Schema Part 1: Structures, Second Edition of 28 October 2004.
+It has been developed at the Language Technology Group of the Human
+Communication Research Centre in the School of Informatics at the
+University of Edinburgh, with support for one of us (Thompson)
+from the World Wide Web Consortium.
+
+WWW: http://www.ltg.ed.ac.uk/~ht/xsv-status.html



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