# $Id: Portfile 34230 2008-02-18 17:54:19Z blair@macports.org $ PortSystem 1.0 name scalaz version 2.3 revision 1 categories lang java maintainers blair description General utility library that extends the Scala core API long_description \ Scalaz (Scar-lah-zed) is a library written in the Scala Programming \ Language. One mandate of the library is to depend only on the core \ Scala API and the core Java 2 Standard Edition API. The intention \ of Scalaz is to include general functions that are not currently \ available in the core Scala API. Scalaz is released under a BSD \ open source licence making it compatible with the licence of the \ Scala project. homepage http://wiki.workingmouse.com/index.php/Scalaz platforms darwin master_sites http://projects.workingmouse.com/public/scalaz/artifacts/${version}/release/ distname scalaz checksums md5 1a8df1c2958e82a020f2d332fc045138 \ sha1 2fdc600f801fabdee2cc80c3832134e07c65363a \ rmd160 051d701a9cda74c41f629676b06d6b1c39d38932 depends_lib port:scala use_configure no build {} # The tarball doesn't extract into a subdirectory, i.e. its a tarbomb, # so create the expected worksrcpath now so that the tarball can be # extracted into it. pre-extract { xinstall -d -m 755 ${worksrcpath} } extract.post_args "${extract.post_args} -C ${worksrcpath}" destroot { set sharedir ${destroot}${prefix}/share set docscalazdir ${sharedir}/doc/scalaz xinstall -d -m 755 ${docscalazdir} file copy ${worksrcpath}/LICENCE ${docscalazdir} file copy ${worksrcpath}/scaladoc ${docscalazdir}/scaladoc xinstall -d -m 755 ${sharedir}/java file copy ${worksrcpath}/scalaz.jar ${sharedir}/java }