diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2014-05-13 19:39:45 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2014-05-13 19:39:45 +0000 |
commit | 0ebda89bcb6850388432e895e1463c625762b652 (patch) | |
tree | 734999b6f69e7c9ea1c5112ad8cc3c0d9ac1967f /java | |
parent | Add staging support. (diff) |
Add staging support.
Notes
Notes:
svn path=/head/; revision=353983
Diffstat (limited to 'java')
-rw-r--r-- | java/springframework/Makefile | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/java/springframework/Makefile b/java/springframework/Makefile index 73c671f199a6..717e4bf68271 100644 --- a/java/springframework/Makefile +++ b/java/springframework/Makefile @@ -95,7 +95,6 @@ PLIST_FILES += %%JAVAJARDIR%%/${FILE} PLIST_FILES += %%JAVAJARDIR%%/${FILE} .endfor -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MRESRCS} @@ -167,30 +166,28 @@ PORTDOCS= * .endif do-install: + @${MKDIR} ${STAGEDIR}${JAVAJARDIR} + @${MKDIR} ${STAGEDIR}${JAVASHAREDIR} .for FILE in ${JAR_FILES} - @${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/.jar/-${PORTVERSION}.RELEASE.jar/} \ - ${JAVAJARDIR}/${FILE} + ${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/.jar/-${PORTVERSION}.RELEASE.jar/} \ + ${STAGEDIR}${JAVAJARDIR}/${FILE} .endfor .for FILE in ${SOURCES} - @${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/-sources.jar/-${PORTVERSION}.RELEASE-sources.jar/} \ - ${JAVAJARDIR}/${FILE} + ${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/-sources.jar/-${PORTVERSION}.RELEASE-sources.jar/} \ + ${STAGEDIR}${JAVAJARDIR}/${FILE} .endfor .for FILE in ${JAVADOC} - @${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/-javadoc.jar/-${PORTVERSION}.RELEASE-javadoc.jar/} \ - ${JAVAJARDIR}/${FILE} + ${INSTALL_DATA} ${WRKSRC}/libs/${FILE:S/-javadoc.jar/-${PORTVERSION}.RELEASE-javadoc.jar/} \ + ${STAGEDIR}${JAVAJARDIR}/${FILE} .endfor -.if ${PORT_OPTIONS:MRESRCS} .for FILE in ${RESOURCE_FILES} - @${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${FILE} -print` \ - ${JAVASHAREDIR}/${FILE} + ${INSTALL_DATA} `${FIND} "${WRKSRC}" -name ${FILE} -print` \ + ${STAGEDIR}${JAVASHAREDIR}/${FILE} .endfor -.endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${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}/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> |