1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

add py-trex

Python implementation of Tree Regular Expressions for XML (TREX)
This commit is contained in:
Ying-Chieh Liao 2001-03-16 16:24:07 +00:00
parent 4d3a277c01
commit 76617ec798
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39921
7 changed files with 47 additions and 0 deletions

View File

@ -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
View 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>

View File

@ -0,0 +1 @@
MD5 (pytrex-0.5.0.tgz) = 220d34d6b686c06b1ec41e6dd8f5a454

View 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
#

View File

@ -0,0 +1 @@
Python implementation of Tree Regular Expressions for XML (TREX)

View 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/

View File

@ -0,0 +1 @@
bin/pytrex