source: trunk/dports/java/jmock2/Portfile @ 44883

Last change on this file since 44883 was 44883, checked in by toby@…, 12 years ago

misc typos

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 44883 2009-01-04 12:36:18Z toby@macports.org $
2
3PortSystem 1.0
4
5name                    jmock2
6version                 2.4.0
7categories              java
8platforms               darwin
9maintainers             blair
10
11description             Library for testing Java code using mock objects
12long_description        jMock is a library that supports test-driven \
13                        development of Java code with mock objects.  Mock \
14                        objects help you design and test the interactions \
15                        between the objects in your programs.
16homepage                http://www.jmock.org/
17
18master_sites            ${homepage}dist
19distfiles               jmock-${version}-jars.zip \
20                        jmock-${version}-javadoc.zip
21checksums               jmock-${version}-jars.zip \
22                                md5 db3bb06edd4a0c9e55f1a2b5903df131 \
23                                sha1 3d90976aac03f72d16b2d39ac9c825d9526058bb \
24                                rmd160 7b2f878af31449832c94246b3083e6104003fb72 \
25                        jmock-${version}-javadoc.zip \
26                                md5 83791edeeefdebb5f971a5412568d835 \
27                                sha1 d3b4fc885709744bb693fddeda0f8e4dcdabb46f \
28                                rmd160 eb26574f4594479561848f18a77b8636e130c1bf
29use_zip                 yes
30
31worksrcdir              jmock-${version}
32
33depends_lib             bin:java:kaffe \
34                        port:cglib \
35                        port:hamcrest-core \
36                        port:objenesis
37
38use_configure           no
39
40build.cmd               true
41
42destroot {
43        set javadir ${destroot}${prefix}/share/java
44        set docdir ${destroot}${prefix}/share/doc/${name}
45
46        xinstall -d -m 755 ${javadir}
47        xinstall -d -m 755 ${docdir}
48
49        file copy ${worksrcpath}/jmock-${version}.jar \
50                ${javadir}/jmock2.jar
51        file copy ${worksrcpath}/jmock-junit3-${version}.jar \
52                ${javadir}/jmock2-junit3.jar
53        file copy ${worksrcpath}/jmock-junit4-${version}.jar \
54                ${javadir}/jmock2-junit4.jar
55        file copy ${worksrcpath}/jmock-legacy-${version}.jar \
56                ${javadir}/jmock2-legacy.jar
57        file copy ${worksrcpath}/doc ${docdir}/api
58}
Note: See TracBrowser for help on using the repository browser.