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

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

Depend upon spring-framework25 which replaced spring-framework.

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