most recent changes, diff for lemon

Index: lang/lemon/Portfile
--- lang/lemon/Portfile (revision 33781)
+++ lang/lemon/Portfile (revision 33782)
@@ -4,6 +4,7 @@

name lemon
version 1.39
+revision 1
categories lang devel
platforms darwin
maintainers mww
@@ -15,17 +16,20 @@
freebsd
checksums sha1 0baa13c54d437b21ccf802792e4ef081e5af3348
use_bzip2 yes
+post-extract {
+ xinstall -m 644 ${filespath}/Makefile ${worksrcpath}
+ xinstall -m 755 ${filespath}/configure ${worksrcpath}
+}

-use_configure no
+patchfiles patch-lemon.c.diff

-build.cmd gcc
-build.target lemon.c -o lemon
-build.args -DLEMPAR=\"${prefix}/share/lemon/lempar.c\"
+configure.env-append PREFIX=${prefix}

destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/lemon
- xinstall -m 755 ${worksrcpath}/lemon ${destroot}${prefix}/bin
- xinstall -m 644 ${worksrcpath}/lempar.c ${destroot}${prefix}/share/lemon/
+ xinstall -m 755 -W ${worksrcpath} lemon lemoncxx ${destroot}${prefix}/bin
+ xinstall -m 644 ${worksrcpath}/lempar.c ${destroot}${prefix}/share/lemon/lempar.c
+ xinstall -m 644 ${worksrcpath}/lempar.c ${destroot}${prefix}/share/lemon/lempar.cpp
}

livecheck.check moddate