Revision
95968
Author
mww@macports.org
Date
2012-07-27 01:07:35 -0700 (Fri, 27 Jul 2012)

Log Message

ott: version 0.21.2

Modified Paths

Diff

Modified: trunk/dports/devel/ott/Portfile (95967 => 95968)


--- trunk/dports/devel/ott/Portfile	2012-07-27 08:00:55 UTC (rev 95967)
+++ trunk/dports/devel/ott/Portfile	2012-07-27 08:07:35 UTC (rev 95968)
@@ -4,9 +4,10 @@
 PortSystem          1.0
 
 name                ott
-version             0.10.16
+version             0.21.2
 platforms           darwin
 categories          devel
+license             BSD
 maintainers         nomaintainer
 description         tool for writing definitions of programming languages
 long_description    Ott is a tool for writing definitions of programming \
@@ -21,19 +22,23 @@
 master_sites        ${homepage}
 distname            ott_distro_${version}
 
-checksums           md5     57527d99473f25e6977fd0855b394af9 \
-                    sha1    d2ea7c9eeaed9eec24fd9299b92edbacc0689561 \
-                    rmd160  1c31920762552ada159aeea3e69b3078df477f02
+checksums           rmd160  42f834ab699e775ac57cf8ba322b14c460bd9cbe \
+                    sha256  56368ae9864876cfe3a177ec26ac3e310d00d9ea2616528dd0680580e8361092
 
 depends_lib         port:ocaml
 
 use_configure       no
 
 build.env           PREFIX=${prefix}
-build.target        world-opt
+build.target        world
 
 destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/bin
+    xinstall -m 755 -d ${destroot}${prefix}/bin \
+        ${destroot}${prefix}/share/doc
     xinstall -m 755 -W ${worksrcpath} bin/ott \
         ${destroot}${prefix}/bin/ott
+    file copy ${worksrcpath}/doc \
+        ${destroot}${prefix}/share/doc/${name}
+    file copy ${worksrcpath}/examples \
+        ${destroot}${prefix}/share/doc/${name}/examples
 }