mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 18:36:28 -04:00
Add py-ltxml 1.3, python bindings to the LT XML toolkit.
This commit is contained in:
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
|
@ -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
|
||||
|
|
33
textproc/py-ltxml/Makefile
Normal file
33
textproc/py-ltxml/Makefile
Normal 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>
|
1
textproc/py-ltxml/distinfo
Normal file
1
textproc/py-ltxml/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (PyLTXML-1.3.tar.gz) = a0f0434c399d2f00e18d1da106dc1707
|
14
textproc/py-ltxml/files/patch-setup.py
Normal file
14
textproc/py-ltxml/files/patch-setup.py
Normal 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']
|
1
textproc/py-ltxml/pkg-comment
Normal file
1
textproc/py-ltxml/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Python bindings to the LT XML toolkit
|
5
textproc/py-ltxml/pkg-descr
Normal file
5
textproc/py-ltxml/pkg-descr
Normal 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>
|
11
textproc/py-ltxml/pkg-plist
Normal file
11
textproc/py-ltxml/pkg-plist
Normal 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
|
Loading…
Add table
Reference in a new issue