aboutsummaryrefslogtreecommitdiffstats
path: root/java/springframework
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-01-23 22:47:18 +0800
committermiwi <miwi@FreeBSD.org>2008-01-23 22:47:18 +0800
commitd2046084bcc80715ca2ebae7dbd795f5349680bb (patch)
tree408032fa28d0d8922a15ae9c41efac5ad4043ef2 /java/springframework
parentf623bf44fd31fa8a53629bfb6c394c093abfaa8c (diff)
downloadfreebsd-ports-gnome-d2046084bcc80715ca2ebae7dbd795f5349680bb.tar.gz
freebsd-ports-gnome-d2046084bcc80715ca2ebae7dbd795f5349680bb.tar.zst
freebsd-ports-gnome-d2046084bcc80715ca2ebae7dbd795f5349680bb.zip
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/ PR: ports/119273 Submitted by: Gerrit Beine <gerrit.beine at gmx.de>
Diffstat (limited to 'java/springframework')
-rw-r--r--java/springframework/Makefile121
-rw-r--r--java/springframework/distinfo3
-rw-r--r--java/springframework/pkg-descr6
3 files changed, 130 insertions, 0 deletions
diff --git a/java/springframework/Makefile b/java/springframework/Makefile
new file mode 100644
index 000000000000..a1ade0dc0d90
--- /dev/null
+++ b/java/springframework/Makefile
@@ -0,0 +1,121 @@
+# New ports collection makefile for: springframework
+# Date created: 02 Jan 2008
+# Whom: Gerrit Beine <gerrit.beine@gmx.de>
+#
+# $FreeBSD$
+
+PORTNAME= springframework
+PORTVERSION= 2.5
+CATEGORIES= java devel
+MASTER_SITES= SF
+DISTNAME= spring-framework-${PORTVERSION}-with-dependencies
+
+MAINTAINER= gerrit.beine@gmx.de
+COMMENT= The Spring Framework for Java
+
+WRKSRC= ${WRKDIR}/spring-framework-${PORTVERSION}
+
+NO_BUILD= yes
+USE_JAVA= yes
+USE_ZIP= yes
+JAVA_VERSION= 1.5+
+
+OPTIONS= DOCS "Install docs & examples" on \
+ RESRCS "Install resource files" off \
+ MODULES "Install modules" on \
+ WEAVING "Install weaving modules" off
+
+PLIST_FILES= %%JAVAJARDIR%%/spring.jar
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_DOCS) || !defined(WITH_DOCS)
+NOPORTDOCS= yes
+.endif
+
+.if !defined(WITHOUT_RESRCS) || defined(WITH_RESRCS)
+PLIST_FILES+= %%JAVASHAREDIR%%/spring-aop-2.0.xsd \
+ %%JAVASHAREDIR%%/spring-aop-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-beans-2.0.dtd \
+ %%JAVASHAREDIR%%/spring-beans-2.0.xsd \
+ %%JAVASHAREDIR%%/spring-beans-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-beans.dtd \
+ %%JAVASHAREDIR%%/spring-context-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-form.tld \
+ %%JAVASHAREDIR%%/spring-jee-2.0.xsd \
+ %%JAVASHAREDIR%%/spring-jee-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-jms-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-lang-2.0.xsd \
+ %%JAVASHAREDIR%%/spring-lang-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-tool-2.0.xsd \
+ %%JAVASHAREDIR%%/spring-tool-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-tx-2.0.xsd \
+ %%JAVASHAREDIR%%/spring-tx-2.5.xsd \
+ %%JAVASHAREDIR%%/spring-util-2.0.xsd \
+ %%JAVASHAREDIR%%/spring-util-2.5.xsd \
+ %%JAVASHAREDIR%%/spring.ftl \
+ %%JAVASHAREDIR%%/spring.tld \
+ %%JAVASHAREDIR%%/spring.vm
+.endif
+
+.if !defined(WITHOUT_MODULES) || defined(WITH_MODULES)
+PLIST_FILES+= %%JAVAJARDIR%%/spring-aop.jar \
+ %%JAVAJARDIR%%/spring-beans.jar \
+ %%JAVAJARDIR%%/spring-context-support.jar \
+ %%JAVAJARDIR%%/spring-context.jar \
+ %%JAVAJARDIR%%/spring-core.jar \
+ %%JAVAJARDIR%%/spring-jdbc.jar \
+ %%JAVAJARDIR%%/spring-jms.jar \
+ %%JAVAJARDIR%%/spring-orm.jar \
+ %%JAVAJARDIR%%/spring-test.jar \
+ %%JAVAJARDIR%%/spring-tx.jar \
+ %%JAVAJARDIR%%/spring-web.jar \
+ %%JAVAJARDIR%%/spring-webmvc-portlet.jar \
+ %%JAVAJARDIR%%/spring-webmvc-struts.jar \
+ %%JAVAJARDIR%%/spring-webmvc.jar
+.endif
+
+.if !defined(WITHOUT_WEAVING) || defined(WITH_WEAVING)
+PLIST_FILES+= %%JAVAJARDIR%%/spring-agent.jar \
+ %%JAVAJARDIR%%/spring-aspects.jar \
+ %%JAVAJARDIR%%/spring-tomcat-weaver.jar
+.endif
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/dist/spring.jar ${JAVAJARDIR}
+.if !defined(WITHOUT_RESRCS) || defined(WITH_RESRCS)
+ @${INSTALL_DATA} ${WRKSRC}/dist/resources/* ${JAVASHAREDIR}
+.endif
+.if !defined(WITHOUT_MODULES) || defined(WITH_MODULES)
+ @${INSTALL_DATA} ${WRKSRC}/dist/modules/* ${JAVAJARDIR}
+.endif
+.if !defined(WITHOUT_WEAVING) || defined(WITH_WEAVING)
+ @${INSTALL_DATA} ${WRKSRC}/dist/weaving/* ${JAVAJARDIR}
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/changelog.txt ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/notice.txt ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+ @cd ${WRKSRC}/docs/ \
+ && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
+ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+ @${MKDIR} ${EXAMPLESDIR}
+ @cd ${WRKSRC}/samples/ \
+ && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
+ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${FIND} -s ${WRKSRC}/samples -not -type d \
+ | ${SED} -ne 's,^${WRKSRC}/samples,${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
+ @${FIND} -s -d ${WRKSRC}/samples -type d \
+ | ${SED} -ne 's,^${WRKSRC}/samples,@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/java/springframework/distinfo b/java/springframework/distinfo
new file mode 100644
index 000000000000..03143e37b802
--- /dev/null
+++ b/java/springframework/distinfo
@@ -0,0 +1,3 @@
+MD5 (spring-framework-2.5-with-dependencies.zip) = 804014e668d0eb7322cce85656781159
+SHA256 (spring-framework-2.5-with-dependencies.zip) = 42af81963c86f6d7b41d70509185565979aeb30bc4afd73913abf8b8f5357b9b
+SIZE (spring-framework-2.5-with-dependencies.zip) = 76046081
diff --git a/java/springframework/pkg-descr b/java/springframework/pkg-descr
new file mode 100644
index 000000000000..1cd4047e2e69
--- /dev/null
+++ b/java/springframework/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/