Commits

Blair Zajac authored c29cf332aa2
Switch from tabs to spaces.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@60632 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

java/spring-framework3/Portfile

Modified
1 1 # $Id$
2 2
3 3 PortSystem 1.0
4 4
5 -name spring-framework3
6 -version 3.0.0
7 -revision 3
5 +name spring-framework3
6 +version 3.0.0
7 +revision 3
8 8
9 -categories java
10 -maintainers blair
11 -platforms darwin
9 +categories java
10 +maintainers blair
11 +platforms darwin
12 12
13 -description Spring application framework for Java
14 -long_description Spring is a layered Java/J2EE application framework.
15 -homepage http://www.springsource.org/about
13 +description Spring application framework for Java
14 +long_description Spring is a layered Java/J2EE application framework.
15 +homepage http://www.springsource.org/about
16 16
17 -distname spring-framework-${version}.RC2-with-docs
18 -master_sites http://s3.amazonaws.com/dist.springframework.org/milestone/SPR
19 -checksums md5 779c64be6f8e2045829d98ace84c0ce0 \
20 - sha1 ebc2242590bd816a8ea8806ebd7d30197804d6f2 \
21 - rmd160 61edd5588af3d6efc693fa7b3bc353d3fb15e6d9
17 +distname spring-framework-${version}.RC2-with-docs
18 +master_sites http://s3.amazonaws.com/dist.springframework.org/milestone/SPR
19 +checksums md5 779c64be6f8e2045829d98ace84c0ce0 \
20 + sha1 ebc2242590bd816a8ea8806ebd7d30197804d6f2 \
21 + rmd160 61edd5588af3d6efc693fa7b3bc353d3fb15e6d9
22 22
23 -use_zip yes
23 +use_zip yes
24 24
25 -depends_lib bin:java:kaffe
25 +depends_lib bin:java:kaffe
26 26
27 -use_configure no
27 +use_configure no
28 28
29 -worksrcdir spring-framework-${version}.RC2
29 +worksrcdir spring-framework-${version}.RC2
30 30
31 -build.cmd true
31 +build.cmd true
32 32
33 33 destroot {
34 - # Ensure needed directories
35 - xinstall -m 755 -d ${destroot}${prefix}/share \
36 - ${destroot}${prefix}/share/doc/${name} \
37 - ${destroot}${prefix}/share/examples
38 -
39 - # Install the framework
40 - file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
41 - foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
42 - file rename ${f} [strsed ${f} {s/-3.0.0.RC2//}]
43 - }
44 -
45 - # Install the docs
46 - foreach f {changelog.txt license.txt notice.txt readme.txt} {
47 - file copy ${worksrcpath}/${f} \
48 - ${destroot}${prefix}/share/doc/${name}/${f}
49 - }
50 - file copy ${worksrcpath}/docs/javadoc-api \
51 - ${destroot}${prefix}/share/doc/${name}/api
52 - file copy ${worksrcpath}/docs/spring-framework-reference \
53 - ${destroot}${prefix}/share/doc/${name}/reference
34 + # Ensure needed directories
35 + xinstall -m 755 -d ${destroot}${prefix}/share \
36 + ${destroot}${prefix}/share/doc/${name} \
37 + ${destroot}${prefix}/share/examples
38 +
39 + # Install the framework
40 + file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
41 + foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
42 + file rename ${f} [strsed ${f} {s/-3.0.0.RC2//}]
43 + }
44 +
45 + # Install the docs
46 + foreach f {changelog.txt license.txt notice.txt readme.txt} {
47 + file copy ${worksrcpath}/${f} \
48 + ${destroot}${prefix}/share/doc/${name}/${f}
49 + }
50 + file copy ${worksrcpath}/docs/javadoc-api \
51 + ${destroot}${prefix}/share/doc/${name}/api
52 + file copy ${worksrcpath}/docs/spring-framework-reference \
53 + ${destroot}${prefix}/share/doc/${name}/reference
54 54 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut