aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-02-18 00:10:25 +0800
committerolgeni <olgeni@FreeBSD.org>2013-02-18 00:10:25 +0800
commitd44b578b2e4eafbbd8a1818cb4a9f094ee1a0a07 (patch)
tree12686ec8f23c6f1d0faf11db990897ae1af1c6a0 /java
parentb9fcc83f4d2d73db2ccdd97a1f41f797c0202a82 (diff)
downloadfreebsd-ports-gnome-d44b578b2e4eafbbd8a1818cb4a9f094ee1a0a07.tar.gz
freebsd-ports-gnome-d44b578b2e4eafbbd8a1818cb4a9f094ee1a0a07.tar.zst
freebsd-ports-gnome-d44b578b2e4eafbbd8a1818cb4a9f094ee1a0a07.zip
Copy java/springframework to java/springframework31.
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/springframework31/Makefile144
-rw-r--r--java/springframework31/distinfo2
-rw-r--r--java/springframework31/pkg-descr6
4 files changed, 153 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index a304f34c90ea..ee842e6ed2d7 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -139,6 +139,7 @@
SUBDIR += sablevm-classpath
SUBDIR += servingxml
SUBDIR += springframework
+ SUBDIR += springframework31
SUBDIR += sqlitejdbc
SUBDIR += subversion-java
SUBDIR += trove4j
diff --git a/java/springframework31/Makefile b/java/springframework31/Makefile
new file mode 100644
index 000000000000..8e2052db5a63
--- /dev/null
+++ b/java/springframework31/Makefile
@@ -0,0 +1,144 @@
+# Created by: Gerrit Beine <gerrit.beine@gmx.de>
+# $FreeBSD$
+
+PORTNAME= springframework
+PORTVERSION= 3.1.4
+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
+
+NO_BUILD= yes
+USE_JAVA= yes
+USE_ZIP= yes
+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}
+.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:
+.for f in ${JAR_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/dist/${f:S/.jar/-${PORTVERSION}.RELEASE.jar/} \
+ ${JAVAJARDIR}/${f}
+.endfor
+.if ${PORT_OPTIONS:MRESRCS}
+.for f in ${RESOURCE_FILES}
+ @${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${f} -print` \
+ ${JAVASHAREDIR}/${f}
+.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}
+ @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/java/springframework31/distinfo b/java/springframework31/distinfo
new file mode 100644
index 000000000000..2cbfa6b1c104
--- /dev/null
+++ b/java/springframework31/distinfo
@@ -0,0 +1,2 @@
+SHA256 (spring-framework-3.1.4.RELEASE-with-docs.zip) = b70ba31b0e5413e1d02f4f72e97fb5856eec86843bb34ebabb9fdc08118ad7ac
+SIZE (spring-framework-3.1.4.RELEASE-with-docs.zip) = 123250862
diff --git a/java/springframework31/pkg-descr b/java/springframework31/pkg-descr
new file mode 100644
index 000000000000..1cd4047e2e69
--- /dev/null
+++ b/java/springframework31/pkg-descr
@@ -0,0 +1,6 @@
+The Spring Framework is the leading full stack Java/JEE application
+framework. Spring delivers significant benefits for many projects,
+increasing development productivity and runtime performance while
+improving test coverage and application quality.
+
+WWW: http://www.springframework.org/