source: trunk/dports/java/spring-javaconfig/Portfile @ 95469

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

spring-*: whitespace changes: switch to 4-space indentation.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 95469 2012-07-13 19:12:30Z blair@macports.org $
2
3PortSystem 1.0
4
5name            spring-javaconfig
6set realversion 1.0.0.M4
7version         0.2.${realversion}
8revision        1
9
10categories      java
11maintainers     blair
12platforms       darwin
13
14description     Type-safe, pure-Java way to configure applications
15long_description \
16    The Spring JavaConfig project provides a type-safe, \
17    pure-Java option for configuring Spring Application \
18    Contexts.  While most people currently use XML to \
19    configure bean definitions in their Application \
20    Contexts, Spring's versatility and metadata based \
21    internal handling of bean definitions means \
22    alternatives to XML config are easy to implement.
23homepage        http://www.springframework.org/javaconfig
24
25distname        ${name}-${realversion}
26master_sites    http://s3.amazonaws.com/dist.springframework.org/milestone/SJC
27checksums       md5 a507d2ee282d22cbc3041f0b90ab20c9 \
28                sha1 a92594291dc5e81088023f52435c27ac8fdf20c7 \
29                rmd160 3bdc3d2d9a925008515238dd939ed2daf0cf8286
30
31use_zip         yes
32
33depends_lib     bin:java:kaffe \
34                port:spring-framework25 \
35                port:cglib
36
37use_configure   no
38
39worksrcdir      ${name}
40
41build.cmd       true
42
43destroot {
44    # Ensure needed directories
45    xinstall -m 755 -d ${destroot}${prefix}/share/java \
46        ${destroot}${prefix}/share/doc
47
48    file copy ${worksrcpath}/dist/org.springframework.config.java-${realversion}.jar \
49        ${destroot}${prefix}/share/java/${name}.jar
50
51    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
52}
Note: See TracBrowser for help on using the repository browser.