blob: f979f528b2f01d19ad10d1113dfbc805d0ce32ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
PORTNAME= springframework
PORTVERSION= 3.1.4
PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= http://s3.amazonaws.com/dist.springframework.org/release/SPR/
DISTNAME= spring-framework-${PORTVERSION}.RELEASE-with-docs
MAINTAINER= olgeni@FreeBSD.org
COMMENT= The Spring Framework for Java
WRKSRC= ${WRKDIR}/spring-framework-${PORTVERSION}.RELEASE
PKGNAMESUFFIX= 31
CONFLICTS= springframework-3.2.*
NO_BUILD= yes
USE_JAVA= yes
USES= zip
OPTIONS_DEFINE= DOCS RESRCS
RESRCS_DESC= Install resource files
JAR_FILES= org.springframework.aop.jar \
org.springframework.asm.jar \
org.springframework.aspects.jar \
org.springframework.beans.jar \
org.springframework.context.jar \
org.springframework.context.support.jar \
org.springframework.core.jar \
org.springframework.expression.jar \
org.springframework.instrument.jar \
org.springframework.instrument.tomcat.jar \
org.springframework.jdbc.jar \
org.springframework.jms.jar \
org.springframework.orm.jar \
org.springframework.oxm.jar \
org.springframework.test.jar \
org.springframework.transaction.jar \
org.springframework.web.jar \
org.springframework.web.portlet.jar \
org.springframework.web.servlet.jar \
org.springframework.web.struts.jar
.for f in ${JAR_FILES}
PLIST_FILES += %%JAVAJARDIR%%/${f}
.endfor
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRESRCS}
RESOURCE_FILES= spring-aop-2.0.xsd \
spring-aop-2.5.xsd \
spring-aop-3.0.xsd \
spring-aop-3.1.xsd \
spring-aop-3.2.xsd \
spring-beans-2.0.dtd \
spring-beans-2.0.xsd \
spring-beans-2.5.xsd \
spring-beans-3.0.xsd \
spring-beans-3.1.xsd \
spring-beans-3.2.xsd \
spring-beans.dtd \
spring-cache-3.1.xsd \
spring-cache-3.2.xsd \
spring-context-2.5.xsd \
spring-context-3.0.xsd \
spring-context-3.1.xsd \
spring-context-3.2.xsd \
spring-form.tld \
spring-jdbc-3.0.xsd \
spring-jdbc-3.1.xsd \
spring-jdbc-3.2.xsd \
spring-jee-2.0.xsd \
spring-jee-2.5.xsd \
spring-jee-3.0.xsd \
spring-jee-3.1.xsd \
spring-jee-3.2.xsd \
spring-jms-2.5.xsd \
spring-jms-3.0.xsd \
spring-jms-3.1.xsd \
spring-lang-2.0.xsd \
spring-lang-2.5.xsd \
spring-lang-3.0.xsd \
spring-lang-3.1.xsd \
spring-lang-3.2.xsd \
spring-mvc-3.0.xsd \
spring-mvc-3.1.xsd \
spring-mvc-3.2.xsd \
spring-oxm-1.5.xsd \
spring-oxm-3.0.xsd \
spring-oxm-3.1.xsd \
spring-oxm-3.2.xsd \
spring-task-3.0.xsd \
spring-task-3.1.xsd \
spring-task-3.2.xsd \
spring-tool-2.0.xsd \
spring-tool-2.5.xsd \
spring-tool-3.0.xsd \
spring-tool-3.1.xsd \
spring-tool-3.2.xsd \
spring-tx-2.0.xsd \
spring-tx-2.5.xsd \
spring-tx-3.0.xsd \
spring-tx-3.1.xsd \
spring-tx-3.2.xsd \
spring-util-2.0.xsd \
spring-util-2.5.xsd \
spring-util-3.0.xsd \
spring-util-3.1.xsd \
spring-util-3.2.xsd \
spring.ftl \
spring.tld \
spring.vm
.for f in ${RESOURCE_FILES}
PLIST_FILES += %%JAVASHAREDIR%%/${f}
.endfor
.endif
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${JAVASHAREDIR}
.for f in ${JAR_FILES}
${INSTALL_DATA} ${WRKSRC}/dist/${f:S/.jar/-${PORTVERSION}.RELEASE.jar/} \
${STAGEDIR}${JAVAJARDIR}/${f}
.endfor
.for f in ${RESOURCE_FILES}
${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${f} -print | ${TAIL} -1` \
${STAGEDIR}${JAVASHAREDIR}/${f}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/changelog.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/notice.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|