source: trunk/dports/java/scalaz/Portfile @ 34231

Last change on this file since 34231 was 34231, checked in by blair@…, 13 years ago

Scalaz: change primary category to java.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 34231 2008-02-18 17:55:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name            scalaz
6version         2.3
7revision        1
8categories      java
9maintainers     blair
10description     General utility library that extends the Scala core API
11long_description \
12        Scalaz (Scar-lah-zed) is a library written in the Scala Programming \
13        Language.  One mandate of the library is to depend only on the core \
14        Scala API and the core Java 2 Standard Edition API.  The intention \
15        of Scalaz is to include general functions that are not currently \
16        available in the core Scala API.  Scalaz is released under a BSD \
17        open source licence making it compatible with the licence of the \
18        Scala project.
19homepage        http://wiki.workingmouse.com/index.php/Scalaz
20platforms       darwin
21
22master_sites    http://projects.workingmouse.com/public/scalaz/artifacts/${version}/release/
23distname        scalaz
24checksums       md5 1a8df1c2958e82a020f2d332fc045138 \
25                sha1 2fdc600f801fabdee2cc80c3832134e07c65363a \
26                rmd160 051d701a9cda74c41f629676b06d6b1c39d38932
27
28depends_lib     port:scala
29
30use_configure   no
31build           {}
32
33# The tarball doesn't extract into a subdirectory, i.e. its a tarbomb,
34# so create the expected worksrcpath now so that the tarball can be
35# extracted into it.
36pre-extract {
37        xinstall -d -m 755 ${worksrcpath}
38}
39extract.post_args       "${extract.post_args} -C ${worksrcpath}"
40
41destroot {
42        set sharedir ${destroot}${prefix}/share
43        set docscalazdir ${sharedir}/doc/scalaz
44
45        xinstall -d -m 755 ${docscalazdir}
46        file copy ${worksrcpath}/LICENCE ${docscalazdir}
47        file copy ${worksrcpath}/scaladoc ${docscalazdir}/scaladoc
48
49        xinstall -d -m 755 ${sharedir}/java
50        file copy ${worksrcpath}/scalaz.jar ${sharedir}/java
51}
Note: See TracBrowser for help on using the repository browser.