Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 21:51:34 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36994: New port: textproc/py-plex
Message-ID:  <200204111251.g3BCpYIX028505@akaraka.yonsei.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         36994
>Category:       ports
>Synopsis:       New port: textproc/py-plex
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 11 06:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Apr 10 04:16:59 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386

>Description:
New port for py-plex, the Lexical Analysis Module for Python

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-plex
#	py-plex/Makefile
#	py-plex/distinfo
#	py-plex/pkg-comment
#	py-plex/pkg-descr
#	py-plex/pkg-plist
#	py-plex/files
#	py-plex/files/setup.py
#
echo c - py-plex
mkdir -p py-plex > /dev/null 2>&1
echo x - py-plex/Makefile
sed 's/^X//' >py-plex/Makefile << 'END-of-py-plex/Makefile'
X# New ports collection makefile for:	py-plex
X# Date created:		11 April 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	plex
XPORTVERSION=	1.1.2
XCATEGORIES=	textproc python
XMASTER_SITES=	http://www.cosc.canterbury.ac.nz/~greg/python/Plex/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	Plex${PORTVERSION}
X
XMAINTAINER=	perky@fallin.lv
X
XUSE_PYTHON=	yes
X
XWRKSRC=		${WRKDIR}
XDOCDIR=		share/doc/py-plex
XEXAMPLESDIR=	share/examples/py-plex
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
X
Xpost-extract:
X	${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
X		> ${WRKSRC}/setup.py
X
Xdo-build:
X	${SETUP_CMD} build
X
Xdo-install:
X	${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/${DOCDIR}
X	cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${PREFIX}/${DOCDIR}
X	${MKDIR} ${PREFIX}/${EXAMPLESDIR}
X	cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${PREFIX}/${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-plex/Makefile
echo x - py-plex/distinfo
sed 's/^X//' >py-plex/distinfo << 'END-of-py-plex/distinfo'
XMD5 (Plex1.1.2.tar.gz) = 40356d1d68009e57e4b380a2139fb1f4
END-of-py-plex/distinfo
echo x - py-plex/pkg-comment
sed 's/^X//' >py-plex/pkg-comment << 'END-of-py-plex/pkg-comment'
XLexical Analysis Module for Python
END-of-py-plex/pkg-comment
echo x - py-plex/pkg-descr
sed 's/^X//' >py-plex/pkg-descr << 'END-of-py-plex/pkg-descr'
XPlex is a Python module for constructing lexical analysers,
Xor scanners. Plex scanners have almost all the capabilities of
Xthe scanners generated by GNU Flex, and are specified in a very
Xsimilar way. Tokens are defined by regular expressions, and each
Xtoken has an associated action, which may be to return a literal
Xvalue, or to call an arbitrary function. 
X
XWWW: http://www.cosc.canterbury.ac.nz/~greg/python/Plex/
END-of-py-plex/pkg-descr
echo x - py-plex/pkg-plist
sed 's/^X//' >py-plex/pkg-plist << 'END-of-py-plex/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Actions.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Actions.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Actions.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/DFA.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/DFA.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/DFA.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Errors.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Errors.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Errors.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Lexicons.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Lexicons.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Lexicons.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Machines.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Machines.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Machines.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Regexps.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Regexps.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Regexps.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Scanners.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Scanners.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Scanners.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Timing.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Timing.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Timing.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Traditional.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Traditional.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Traditional.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Transitions.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Transitions.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/Transitions.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/__init__.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/test_tm.py
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/test_tm.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/Plex/test_tm.pyo
X@dirrm lib/%%PYTHON_VERSION%%/site-packages/Plex
X%%PORTDOCS%%share/doc/py-plex/Reference.html
X%%PORTDOCS%%share/doc/py-plex/Tutorial.html
X%%PORTDOCS%%share/doc/py-plex/index.html
X%%PORTDOCS%%share/examples/py-plex/example1and2.in
X%%PORTDOCS%%share/examples/py-plex/example1and2.py
X%%PORTDOCS%%share/examples/py-plex/example3.in
X%%PORTDOCS%%share/examples/py-plex/example3.py
X%%PORTDOCS%%share/examples/py-plex/example4.in
X%%PORTDOCS%%share/examples/py-plex/example4.py
X%%PORTDOCS%%share/examples/py-plex/example5.in
X%%PORTDOCS%%share/examples/py-plex/example5.py
X%%PORTDOCS%%share/examples/py-plex/example6.in
X%%PORTDOCS%%share/examples/py-plex/example6.py
X%%PORTDOCS%%share/examples/py-plex/example7.in
X%%PORTDOCS%%share/examples/py-plex/example7.py
X%%PORTDOCS%%share/examples/py-plex/pascal.in
X%%PORTDOCS%%share/examples/py-plex/pascal.py
X%%PORTDOCS%%share/examples/py-plex/python.in
X%%PORTDOCS%%share/examples/py-plex/python.py
X%%PORTDOCS%%share/examples/py-plex/speedtest.in
X%%PORTDOCS%%share/examples/py-plex/speedtest.py
X%%PORTDOCS%%@dirrm share/examples/py-plex
X%%PORTDOCS%%@dirrm share/doc/py-plex
END-of-py-plex/pkg-plist
echo c - py-plex/files
mkdir -p py-plex/files > /dev/null 2>&1
echo x - py-plex/files/setup.py
sed 's/^X//' >py-plex/files/setup.py << 'END-of-py-plex/files/setup.py'
Xfrom distutils.core import setup
X
Xsetup(
X    name = 'plex',
X    version = "%%PORTVERSION%%",
X    packages = ['Plex'],
X    )
END-of-py-plex/files/setup.py
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204111251.g3BCpYIX028505>