aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-02-18 00:14:54 +0800
committerolgeni <olgeni@FreeBSD.org>2013-02-18 00:14:54 +0800
commitd31fa3d5929b82f0d69cb71d773957180920d957 (patch)
tree21ebce3a1fe3b99f1f6645ffae61d5d2030fd638 /java
parenta94e0cf4ebbe3b4d2be0c62a4e953fb3e669adb5 (diff)
downloadfreebsd-ports-gnome-d31fa3d5929b82f0d69cb71d773957180920d957.tar.gz
freebsd-ports-gnome-d31fa3d5929b82f0d69cb71d773957180920d957.tar.zst
freebsd-ports-gnome-d31fa3d5929b82f0d69cb71d773957180920d957.zip
Upgrade to version 3.2.1.
Diffstat (limited to 'java')
-rw-r--r--java/springframework/Makefile137
-rw-r--r--java/springframework/distinfo4
2 files changed, 96 insertions, 45 deletions
diff --git a/java/springframework/Makefile b/java/springframework/Makefile
index 8e2052db5a63..74aa36c50fbf 100644
--- a/java/springframework/Makefile
+++ b/java/springframework/Makefile
@@ -2,16 +2,18 @@
# $FreeBSD$
PORTNAME= springframework
-PORTVERSION= 3.1.4
+PORTVERSION= 3.2.1
CATEGORIES= java devel
-MASTER_SITES= http://s3.amazonaws.com/dist.springframework.org/release/SPR/
-DISTNAME= spring-framework-${PORTVERSION}.RELEASE-with-docs
+MASTER_SITES= http://repo.springsource.org/libs-release-local/org/springframework/spring/${PORTVERSION}.RELEASE/
+DISTNAME= spring-framework-${PORTVERSION}.RELEASE-dist
MAINTAINER= olgeni@FreeBSD.org
COMMENT= The Spring Framework for Java
WRKSRC= ${WRKDIR}/spring-framework-${PORTVERSION}.RELEASE
+CONFLICTS= springframework-3.1.*
+
NO_BUILD= yes
USE_JAVA= yes
USE_ZIP= yes
@@ -20,29 +22,77 @@ JAVA_VERSION= 1.6+
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}
+JAR_FILES= spring-aop.jar \
+ spring-aspects.jar \
+ spring-beans.jar \
+ spring-build-src.jar \
+ spring-context-support.jar \
+ spring-context.jar \
+ spring-core.jar \
+ spring-expression.jar \
+ spring-instrument-tomcat.jar \
+ spring-instrument.jar \
+ spring-jdbc.jar \
+ spring-jms.jar \
+ spring-orm.jar \
+ spring-oxm.jar \
+ spring-struts.jar \
+ spring-test.jar \
+ spring-tx.jar \
+ spring-web.jar \
+ spring-webmvc-portlet.jar \
+ spring-webmvc.jar
+
+JAVADOC= spring-aop-javadoc.jar \
+ spring-aspects-javadoc.jar \
+ spring-beans-javadoc.jar \
+ spring-context-javadoc.jar \
+ spring-context-support-javadoc.jar \
+ spring-core-javadoc.jar \
+ spring-expression-javadoc.jar \
+ spring-instrument-javadoc.jar \
+ spring-instrument-tomcat-javadoc.jar \
+ spring-jdbc-javadoc.jar \
+ spring-jms-javadoc.jar \
+ spring-orm-javadoc.jar \
+ spring-oxm-javadoc.jar \
+ spring-struts-javadoc.jar \
+ spring-test-javadoc.jar \
+ spring-tx-javadoc.jar \
+ spring-web-javadoc.jar \
+ spring-webmvc-javadoc.jar \
+ spring-webmvc-portlet-javadoc.jar
+
+SOURCES= spring-aop-sources.jar \
+ spring-aspects-sources.jar \
+ spring-beans-sources.jar \
+ spring-context-sources.jar \
+ spring-context-support-sources.jar \
+ spring-core-sources.jar \
+ spring-expression-sources.jar \
+ spring-instrument-sources.jar \
+ spring-instrument-tomcat-sources.jar \
+ spring-jdbc-sources.jar \
+ spring-jms-sources.jar \
+ spring-orm-sources.jar \
+ spring-oxm-sources.jar \
+ spring-struts-sources.jar \
+ spring-test-sources.jar \
+ spring-tx-sources.jar \
+ spring-web-sources.jar \
+ spring-webmvc-portlet-sources.jar \
+ spring-webmvc-sources.jar
+
+.for FILE in ${JAR_FILES}
+PLIST_FILES += %%JAVAJARDIR%%/${FILE}
+.endfor
+
+.for FILE in ${SOURCES}
+PLIST_FILES += %%JAVAJARDIR%%/${FILE}
+.endfor
+
+.for FILE in ${JAVADOC}
+PLIST_FILES += %%JAVAJARDIR%%/${FILE}
.endfor
.include <bsd.port.options.mk>
@@ -53,20 +103,17 @@ RESOURCE_FILES= spring-aop-2.0.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 \
@@ -78,6 +125,7 @@ RESOURCE_FILES= spring-aop-2.0.xsd \
spring-jms-2.5.xsd \
spring-jms-3.0.xsd \
spring-jms-3.1.xsd \
+ spring-jms-3.2.xsd \
spring-lang-2.0.xsd \
spring-lang-2.5.xsd \
spring-lang-3.0.xsd \
@@ -86,7 +134,6 @@ RESOURCE_FILES= spring-aop-2.0.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 \
@@ -107,13 +154,10 @@ RESOURCE_FILES= spring-aop-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
+ spring-util-3.2.xsd
-.for f in ${RESOURCE_FILES}
-PLIST_FILES += %%JAVASHAREDIR%%/${f}
+.for FILE in ${RESOURCE_FILES}
+PLIST_FILES += %%JAVASHAREDIR%%/${FILE}
.endfor
.endif
@@ -122,19 +166,26 @@ PORTDOCS= *
.endif
do-install:
-.for f in ${JAR_FILES}
- @${INSTALL_DATA} ${WRKSRC}/dist/${f:S/.jar/-${PORTVERSION}.RELEASE.jar/} \
- ${JAVAJARDIR}/${f}
+.for FILE in ${JAR_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/.jar/-${PORTVERSION}.RELEASE.jar/} \
+ ${JAVAJARDIR}/${FILE}
+.endfor
+.for FILE in ${SOURCES}
+ @${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/-sources.jar/-${PORTVERSION}.RELEASE-sources.jar/} \
+ ${JAVAJARDIR}/${FILE}
+.endfor
+.for FILE in ${JAVADOC}
+ @${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/-javadoc.jar/-${PORTVERSION}.RELEASE-javadoc.jar/} \
+ ${JAVAJARDIR}/${FILE}
.endfor
.if ${PORT_OPTIONS:MRESRCS}
-.for f in ${RESOURCE_FILES}
- @${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${f} -print` \
- ${JAVASHAREDIR}/${f}
+.for FILE in ${RESOURCE_FILES}
+ @${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${FILE} -print` \
+ ${JAVASHAREDIR}/${FILE}
.endfor
.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/changelog.txt ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/notice.txt ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
diff --git a/java/springframework/distinfo b/java/springframework/distinfo
index 2cbfa6b1c104..6126634ba9e5 100644
--- a/java/springframework/distinfo
+++ b/java/springframework/distinfo
@@ -1,2 +1,2 @@
-SHA256 (spring-framework-3.1.4.RELEASE-with-docs.zip) = b70ba31b0e5413e1d02f4f72e97fb5856eec86843bb34ebabb9fdc08118ad7ac
-SIZE (spring-framework-3.1.4.RELEASE-with-docs.zip) = 123250862
+SHA256 (spring-framework-3.2.1.RELEASE-dist.zip) = 05bf8dee908dbcbf2027055749d19852c45d9148a085bc35cdb0241ee36dcb1d
+SIZE (spring-framework-3.2.1.RELEASE-dist.zip) = 50123797