# $Id$ PortSystem 1.0 name mozart version 1.3.2 revision 1 categories lang platforms darwin maintainers bfulgham homepage http://www.mozart-oz.org description Mozart-Oz multiparadigms programming language. long_description The Mozart system is a development platform focused on open \ distributed computing and constraint-based inferrence. \ The system provides excellent support for logic and \ constraint programming, making it an excellent choice \ for implementing multi-agent systems. The language has \ recently been popularized by the book "Concepts, \ Techniques, and Models of Computer Progamming." depends_build port:gmp port:zlib port:gdbm #depends_lib port:emacs depends_run bin:wish:tk master_sites http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar distfiles mozart-1.3.2.20060615-src.tar.gz checksums md5 b84fb3932eca573e6b8d5d1b26379371 patchfiles patch-share-bin-oz.in worksrcdir mozart-1.3.2.20060615 configure.args --prefix=${prefix}/share/mozart --with-inc-dir=${prefix}/include --with-lib-dir=${prefix}/lib build.target destroot.args PREFIX=${destroot}${prefix}/share/mozart post-destroot { delete ${destroot}${prefix}/share/mozart/cache/x-oz/doc file delete -force ${destroot}${prefix}/share/mozart/doc xinstall -m 0644 ${filespath}/README.MacPorts ${destroot}${prefix}/share/mozart xinstall -d ${destroot}${prefix}/man/man1 # foreach x [glob ${destroot}${prefix}/share/mozart/doc/man/*.1] { system "ln $x ${destroot}${prefix}/man/man1" } reinplace "s|^# OZHOME=.*|OZHOME=${prefix}/share/mozart|" ${destroot}${prefix}/share/mozart/bin/oz xinstall -d ${destroot}${prefix}/bin foreach x [glob -type {x} ${destroot}${prefix}/share/mozart/bin/*] { system "ln $x ${destroot}${prefix}/bin" } file delete -force ${destroot}${prefix}/share/mozart/doc/.htaccess }