Add py-ltxml 1.3, python bindings to the LT XML toolkit.

This commit is contained in:
Johann Visagie 2003-01-31 11:14:03 +00:00
parent 8d9d8afd08
commit bde8f43a66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74346
7 changed files with 66 additions and 0 deletions

View file

@ -295,6 +295,7 @@
SUBDIR += py-dsv
SUBDIR += py-expat
SUBDIR += py-jaxml
SUBDIR += py-ltxml
SUBDIR += py-martel
SUBDIR += py-rdflib
SUBDIR += py-rxp

View file

@ -0,0 +1,33 @@
# New ports collection makefile for: py-ltxml
# Date created: 31 January 2002
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ltxml
PORTVERSION= 1.3
CATEGORIES= textproc python
MASTER_SITES= ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyLTXML-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/include/ltxml12/lt-safe.h:${PORTSDIR}/textproc/ltxml
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
INSTALLS_SHLIB= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/00README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (PyLTXML-1.3.tar.gz) = a0f0434c399d2f00e18d1da106dc1707

View file

@ -0,0 +1,14 @@
--- setup.py.orig Mon Nov 4 16:50:20 2002
+++ setup.py Fri Jan 31 12:08:31 2003
@@ -16,10 +16,7 @@
self.install_dir = getattr(install_cmd, 'install_lib')
return install_data.run(self)
-datafiles=[('PyLTXML/example',
- ['example/small.xml',
- 'example/gscore.dtd',
- 'example/simple.py'])] # only works for bdist and friends
+datafiles=[]
if sys.platform.find("win32",0,5)==0:
incldirs=['C:\Program Files\HCRC LTG\LT XML\include']

View file

@ -0,0 +1 @@
Python bindings to the LT XML toolkit

View file

@ -0,0 +1,5 @@
Python bindings for the LT XML API and toolkit.
WWW: http://www.ltg.ed.ac.uk/software/xml/
-- Johann Visagie <wjv@FreeBSD.org>

View file

@ -0,0 +1,11 @@
%%PORTDOCS%%share/doc/py-ltxml/00README
%%PORTDOCS%%share/examples/py-ltxml/gscore.dtd
%%PORTDOCS%%share/examples/py-ltxml/simple.py
%%PORTDOCS%%share/examples/py-ltxml/small.xml
lib/python2.2/site-packages/PyLTXML/LTXMLinter.so
lib/python2.2/site-packages/PyLTXML/__init__.py
lib/python2.2/site-packages/PyLTXML/__init__.pyc
lib/python2.2/site-packages/PyLTXML/__init__.pyo
@dirrm lib/python2.2/site-packages/PyLTXML
%%PORTDOCS%%@dirrm share/examples/py-ltxml
%%PORTDOCS%%@dirrm share/doc/py-ltxml