diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2014-05-13 19:39:19 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2014-05-13 19:39:19 +0000 |
commit | 34b551c8e878a192186fee431f057d4a10dbef51 (patch) | |
tree | 93ae638f937896a5a4da61b5f57e0a4e32a4e0cb /java | |
parent | 6d35e4174fda17de81c1fd87c3a6529ba7f541d9 (diff) | |
download | ports-34b551c8e878a192186fee431f057d4a10dbef51.tar.gz ports-34b551c8e878a192186fee431f057d4a10dbef51.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/springframework31/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/java/springframework31/Makefile b/java/springframework31/Makefile index ffa772e5c46b..e90bfd8cfdd4 100644 --- a/java/springframework31/Makefile +++ b/java/springframework31/Makefile @@ -50,7 +50,6 @@ JAR_FILES= org.springframework.aop.jar \ PLIST_FILES += %%JAVAJARDIR%%/${f} .endfor -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MRESRCS} @@ -128,23 +127,21 @@ 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/} \ - ${JAVAJARDIR}/${f} + ${INSTALL_DATA} ${WRKSRC}/dist/${f:S/.jar/-${PORTVERSION}.RELEASE.jar/} \ + ${STAGEDIR}${JAVAJARDIR}/${f} .endfor -.if ${PORT_OPTIONS:MRESRCS} .for f in ${RESOURCE_FILES} - @${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${f} -print` \ - ${JAVASHAREDIR}/${f} + ${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${f} -print | ${TAIL} -1` \ + ${STAGEDIR}${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 + @${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> |