1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name lpeg |
---|
6 | version 0.10.2 |
---|
7 | categories devel |
---|
8 | platforms darwin |
---|
9 | maintainers amaidl |
---|
10 | description Parsing Expression Grammars for Lua |
---|
11 | long_description LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs). |
---|
12 | homepage http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html |
---|
13 | master_sites http://www.inf.puc-rio.br/~roberto/lpeg/ |
---|
14 | |
---|
15 | checksums md5 1402433f02e37ddadff04a3d4118b026 \ |
---|
16 | sha1 f2cd5857efb6e1bb02dfb9fbd68e74a451467462 \ |
---|
17 | rmd160 77dc2f7ca88ac84e6f185cf6077aaf88a130c3af |
---|
18 | |
---|
19 | depends_lib port:lua |
---|
20 | |
---|
21 | build.target |
---|
22 | |
---|
23 | patchfiles patch-makefile.diff |
---|
24 | |
---|
25 | configure {} |
---|
26 | |
---|
27 | destroot { |
---|
28 | xinstall -m 755 -d ${destroot}${prefix}/lib/lua/5.1/ |
---|
29 | xinstall ${worksrcpath}/lpeg.so ${destroot}${prefix}/lib/lua/5.1/ |
---|
30 | |
---|
31 | xinstall -m 755 -d ${destroot}${prefix}/share/lua/5.1/ |
---|
32 | xinstall ${worksrcpath}/re.lua ${destroot}${prefix}/share/lua/5.1/ |
---|
33 | |
---|
34 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/html/ |
---|
35 | xinstall ${worksrcpath}/HISTORY ${destroot}${prefix}/share/doc/${name}/ |
---|
36 | xinstall ${worksrcpath}/lpeg-128.gif ${destroot}${prefix}/share/doc/${name}/html/ |
---|
37 | xinstall ${worksrcpath}/lpeg.html ${destroot}${prefix}/share/doc/${name}/html/ |
---|
38 | xinstall ${worksrcpath}/re.html ${destroot}${prefix}/share/doc/${name}/html/ |
---|
39 | } |
---|