mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
add py-trex
Python implementation of Tree Regular Expressions for XML (TREX)
This commit is contained in:
parent
4d3a277c01
commit
76617ec798
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39921
@ -125,6 +125,7 @@
|
||||
SUBDIR += py-expat
|
||||
SUBDIR += py-martel
|
||||
SUBDIR += py-mxTextTools
|
||||
SUBDIR += py-trex
|
||||
SUBDIR += py-xml
|
||||
SUBDIR += rand
|
||||
SUBDIR += rman
|
||||
|
32
textproc/py-trex/Makefile
Normal file
32
textproc/py-trex/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# ex:ts=8
|
||||
# New ports collection Makefile for: PyTREX
|
||||
# Date created: Mar 16, 2001
|
||||
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= trex
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pytrex
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= pytrex-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/pytrex.py
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pytrex.py ${PREFIX}/bin/pytrex
|
||||
|
||||
.include <bsd.port.mk>
|
1
textproc/py-trex/distinfo
Normal file
1
textproc/py-trex/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pytrex-0.5.0.tgz) = 220d34d6b686c06b1ec41e6dd8f5a454
|
7
textproc/py-trex/files/patch-pytrex.py
Normal file
7
textproc/py-trex/files/patch-pytrex.py
Normal file
@ -0,0 +1,7 @@
|
||||
--- pytrex.py.orig Sat Mar 17 00:00:31 2001
|
||||
+++ pytrex.py Sat Mar 17 00:02:26 2001
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!%%LOCALBASE%%/bin/python
|
||||
# PyTREX: A clean-room implementation of TREX in Python
|
||||
# by James Tauber
|
||||
#
|
1
textproc/py-trex/pkg-comment
Normal file
1
textproc/py-trex/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Python implementation of Tree Regular Expressions for XML (TREX)
|
4
textproc/py-trex/pkg-descr
Normal file
4
textproc/py-trex/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
PyTREX is a Python implementation of TREX, an XML schema language.
|
||||
|
||||
WWW: http://pytrex.sourceforge.net/
|
||||
TREX WWW: http://thaiopensource.com/trex/
|
1
textproc/py-trex/pkg-plist
Normal file
1
textproc/py-trex/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/pytrex
|
Loading…
Reference in New Issue
Block a user