Ticket #17536: Portfile

File Portfile, 1.7 KB (added by krunk7@…, 15 years ago)

Portfile for pyparsing

Line 
1# $Id: Portfile 36266 2008-04-25 08:27:58Z mww@macports.org $
2
3PortSystem          1.0
4
5# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
6source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
7
8name                              py26-parsing
9version                         1.4.11
10categories                    python lang
11platforms                       darwin
12maintainers                   nomaintainer
13description                   alternative approach to creating parsers in python
14long_description \
15        The parsing module is an alternative approach to \
16                                creating and executing simple grammars, vs. the \
17                                traditional lex/yacc approach, or the use of regular \
18                                expressions. The parsing module provides a library of \
19                                classes that client code uses to construct the grammar \
20                                directly in Python code.
21
22platforms darwin
23
24homepage                        http://pyparsing.sourceforge.net/
25master_sites          sourceforge:pyparsing
26distname                        pyparsing-${version}
27
28checksums                       sha1 739d4a809aad9e637df5a7658ef6e1ba43c049b9
29
30post-destroot   {
31  set branch 2.6
32        xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
33                README ${destroot}${prefix}/share/doc/${name}
34        file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
35        xinstall -m 644 -W ${worksrcpath}/examples \
36                AcManForm.dfm LAparser.py SimpleCalc.py SingleForm.dfm \
37                chemicalFormulas.py commasep.py configParse.py dfmparse.py \
38                dictExample.py dictExample2.py ebnf.py ebnftest.py fourFn.py \
39                getNTPservers.py getNTPserversNew.py greeting.py greetingInKorean.py \
40                httpServerLogParser.py idlParse.py makeHTMLTagExample.py mozilla.ics \
41                mozillaCalendarParser.py pgn.py scanExamples.py simpleSQL.py \
42                urlExtractor.py urlExtractorNew.py wordsToNum.py \
43                ${destroot}${prefix}/share/doc/${name}/examples/
44}