[33579] trunk/dports/java
blair at macports.org
blair at macports.org
Wed Jan 30 10:48:55 PST 2008
Revision: 33579
http://trac.macosforge.org/projects/macports/changeset/33579
Author: blair at macports.org
Date: 2008-01-30 10:48:50 -0800 (Wed, 30 Jan 2008)
Log Message:
-----------
New Port for Scalaz, a general utility library for the Scala
programming language.
Added Paths:
-----------
trunk/dports/java/scalaz/
trunk/dports/java/scalaz/Portfile
Added: trunk/dports/java/scalaz/Portfile
===================================================================
--- trunk/dports/java/scalaz/Portfile (rev 0)
+++ trunk/dports/java/scalaz/Portfile 2008-01-30 18:48:50 UTC (rev 33579)
@@ -0,0 +1,47 @@
+# $Id$
+
+PortSystem 1.0
+name scalaz
+version 2.3
+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
+
+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
+}
Property changes on: trunk/dports/java/scalaz/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080130/d13fe122/attachment-0001.html
More information about the macports-changes
mailing list