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

Last change on this file was 95478, checked in by blair@…, 5 years ago

spring-javaconfig: add license.

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