create bsd12 branch

This commit is contained in:
ziggi
2019-12-26 07:26:06 +00:00
commit 5cfdab6bfe
14432 changed files with 2272620 additions and 0 deletions

30
python/py-ltxml/Makefile Normal file
View File

@@ -0,0 +1,30 @@
# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD: head/textproc/py-ltxml/Makefile 455210 2017-11-30 15:50:30Z mat $
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
COMMENT= Python bindings to the LT XML toolkit
BUILD_DEPENDS= libltxml>=0:text/libltxml
RUN_DEPENDS= libltxml>=0:text/libltxml
USES= python:2.7
USE_PYTHON= distutils autoplist
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
${STRIP_CMD} \
${STAGEDIR}${PYTHON}${PYTHON_SITELIBDIR}/PyLTXML/LTXMLinter.so
.include <bsd.port.mk>
#EOF

2
python/py-ltxml/distinfo Normal file
View File

@@ -0,0 +1,2 @@
SHA256 (PyLTXML-1.3.tar.gz) = 244aad01160825b21a0b9d7f40d79cddb76cc95f7d87ffd11ef0b016c5b1586c
SIZE (PyLTXML-1.3.tar.gz) = 28129

View File

@@ -0,0 +1,28 @@
--- setup.py.orig 2008-01-11 14:26:31 UTC
+++ setup.py
@@ -6,9 +6,7 @@ import sys
from distutils.core import setup, Extension
from distutils import sysconfig
-datafiles= ['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\\msys\\1.0\\include\\ltxml12','C:\\Program Files\\msys\\1.0\\include']
@@ -32,8 +30,6 @@ else:
libs=['ltapi12','ltstd12', 'z']
macros=[('FOR_LT', '1')] # ,('ALLOC_DEBUG', '1')
- data_files=[( sysconfig.get_python_lib() + "/PyLTXML/example",
- datafiles)]
if sys.platform.find("sunos",0,5)==0:
extra_link_args=['-mimpure-text']
extra_compile_args=['-mimpure-text']
@@ -65,5 +61,4 @@ setup(name='PyLTXML',
See 00README for details""",
platforms=[platform],
packages=['PyLTXML'],
- data_files=data_files,
ext_modules=[pyltxml])

View File

@@ -0,0 +1,3 @@
Python bindings for the LT XML API and toolkit.
WWW: https://www.ltg.ed.ac.uk/software/ltxml/