1 | # $Id: Portfile,v 1.5 2005/09/13 19:04:55 mww Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | |
---|
6 | name py-parsing |
---|
7 | version 1.4.1 |
---|
8 | categories python lang |
---|
9 | platforms darwin |
---|
10 | maintainers mww@opendarwin.org |
---|
11 | description alternative approach to creating parsers in python |
---|
12 | long_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 | |
---|
19 | homepage http://pyparsing.sourceforge.net/ |
---|
20 | master_sites sourceforge:pyparsing |
---|
21 | distname pyparsing-${version} |
---|
22 | checksums md5 210c2405ff7f9b3bbda0a2fbef479100 |
---|
23 | |
---|
24 | post-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 | } |
---|