Date: Tue, 13 May 2014 19:39:19 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353982 - head/java/springframework31 Message-ID: <201405131939.s4DJdJ2q053841@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Tue May 13 19:39:19 2014 New Revision: 353982 URL: http://svnweb.freebsd.org/changeset/ports/353982 QAT: https://qat.redports.org/buildarchive/r353982/ Log: Add staging support. Modified: head/java/springframework31/Makefile Modified: head/java/springframework31/Makefile ============================================================================== --- head/java/springframework31/Makefile Tue May 13 19:22:52 2014 (r353981) +++ head/java/springframework31/Makefile Tue May 13 19:39:19 2014 (r353982) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405131939.s4DJdJ2q053841>