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>
This commit is contained in:
parent
d1c79f58de
commit
b43c5b9951
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206072
@ -152,6 +152,7 @@
|
||||
SUBDIR += sablevm-classpath
|
||||
SUBDIR += shujit
|
||||
SUBDIR += simplicity
|
||||
SUBDIR += springframework
|
||||
SUBDIR += sun-wtk
|
||||
SUBDIR += trove4j
|
||||
SUBDIR += tya
|
||||
|
121
java/springframework/Makefile
Normal file
121
java/springframework/Makefile
Normal file
@ -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>
|
3
java/springframework/distinfo
Normal file
3
java/springframework/distinfo
Normal file
@ -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
|
6
java/springframework/pkg-descr
Normal file
6
java/springframework/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user