source: trunk/dports/java/jmock1/Portfile

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

misc typos

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 44883 2009-01-04 12:36:18Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jmock1
6version                 1.2.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 551c531f7fe36ac2fb0f4e9354be1a82 \
23                                sha1 b1fa7cb1fe4acaacc67b8d37bb2bcc563bc63ea7 \
24                                rmd160 0cc4683285615875e39fc654222b133b2fb1bf82 \
25                        jmock-${version}-javadoc.zip \
26                                md5 1ee41636ec18fa68dc8881dbec9b3879 \
27                                sha1 0944d4850b12375811dd9b4974fb70f6ac877c22 \
28                                rmd160 7895cd7895ef1721f7f32948d540dc10637b7a8e
29use_zip                 yes
30
31worksrcdir              .
32
33depends_lib             bin:java:kaffe
34
35use_configure           no
36
37build.cmd               true
38
39destroot {
40        set javadir ${destroot}${prefix}/share/java
41        set docdir ${destroot}${prefix}/share/doc/${name}
42
43        xinstall -d -m 755 ${javadir}
44        xinstall -d -m 755 ${docdir}
45
46        file copy ${workpath}/jmock-core-${version}.jar \
47                ${javadir}/jmock1-core.jar
48        file copy ${workpath}/jmock-cglib-${version}.jar \
49                ${javadir}/jmock1-cglib.jar
50        file copy ${workpath}/javadoc-${version} \
51                ${docdir}/api
52}
Note: See TracBrowser for help on using the repository browser.