source: trunk/dports/lang/lemon/Portfile

Last change on this file was 85819, checked in by mww@…, 6 years ago

lemon: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 85819 2011-10-16 12:27:37Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                lemon
6version             1.39
7revision            2
8categories          lang devel
9platforms           darwin
10maintainers         mww
11license             public-domain
12description         An LALR(1) parser generator like yacc or bison.
13long_description    ${description}
14
15homepage            http://www.hwaci.com/sw/lemon/
16master_sites        http://people.FreeBSD.org/~seanc/ports/lemon/ \
17                    freebsd
18checksums           sha1    0baa13c54d437b21ccf802792e4ef081e5af3348 \
19                    rmd160  fe09fb8862467da6e20090bbab18d0fb1971cfbc \
20                    sha256  22ea0766611dcfa33629a9d44c275e82c9060bcfd2a2662d0ff533d428b5b5dd
21use_bzip2           yes
22post-extract {
23    xinstall -m 644 ${filespath}/Makefile ${worksrcpath}
24    xinstall -m 755 ${filespath}/configure ${worksrcpath}
25}
26
27patchfiles          patch-lemon.c.diff
28
29configure.env-append PREFIX=${prefix}
30
31destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/lemon
33    xinstall -m 755 -W ${worksrcpath} lemon lemoncxx ${destroot}${prefix}/bin
34    xinstall -m 644 ${worksrcpath}/lempar.c ${destroot}${prefix}/share/lemon/lempar.c
35    xinstall -m 644 ${worksrcpath}/lempar.c ${destroot}${prefix}/share/lemon/lempar.cpp
36}
37
38livecheck.type      moddate
39livecheck.url       http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c
40
Note: See TracBrowser for help on using the repository browser.