Ticket #8020: Portfile

File Portfile, 1.8 KB (added by erickt@…, 18 years ago)

portfile for py-parsing

Line 
1# $Id: Portfile,v 1.5 2005/09/13 19:04:55 mww Exp $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-parsing
7version                 1.4.1
8categories              python lang
9platforms               darwin
10maintainers             mww@opendarwin.org
11description             alternative approach to creating parsers in python
12long_description        The parsing module is an alternative approach to \
13                                creating and executing simple grammars, vs. the \
14                                traditional lex/yacc approach, or the use of regular \
15                                expressions. The parsing module provides a library of \
16                                classes that client code uses to construct the grammar \
17                                directly in Python code.
18
19homepage                http://pyparsing.sourceforge.net/
20master_sites    sourceforge:pyparsing
21distname                pyparsing-${version}
22checksums               md5 210c2405ff7f9b3bbda0a2fbef479100
23
24post-destroot   {
25        xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
26                README ${destroot}${prefix}/share/doc/${name}
27        file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
28        xinstall -m 644 -W ${worksrcpath}/examples \
29                AcManForm.dfm             LAparser.py               SimpleCalc.py           \
30                SingleForm.dfm            chemicalFormulas.py       commasep.py             \
31                configParse.py            dfmparse.py               dictExample.py          \
32                dictExample2.py           ebnf.py                   ebnftest.py             \
33                fourFn.py                 getNTPservers.py          getNTPserversNew.py     \
34                greeting.py               greetingInKorean.py       httpServerLogParser.py  \
35                idlParse.py               makeHTMLTagExample.py     mozilla.ics             \
36                mozillaCalendarParser.py  pgn.py                    scanExamples.py         \
37                simpleSQL.py              urlExtractor.py           urlExtractorNew.py      \
38                wordsToNum.py \
39                ${destroot}${prefix}/share/doc/${name}/examples/
40}