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

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

New upstream 1.0.0.M4 release of Spring JavaConfig.

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