Date: Thu, 3 Apr 2014 11:16:17 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349994 - head/devel/smc Message-ID: <201404031116.s33BGHct038270@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Thu Apr 3 11:16:17 2014 New Revision: 349994 URL: http://svnweb.freebsd.org/changeset/ports/349994 QAT: https://qat.redports.org/buildarchive/r349994/ Log: - Add staging support - Define EXAMPLES option Modified: head/devel/smc/Makefile Modified: head/devel/smc/Makefile ============================================================================== --- head/devel/smc/Makefile Thu Apr 3 11:09:38 2014 (r349993) +++ head/devel/smc/Makefile Thu Apr 3 11:16:17 2014 (r349994) @@ -16,19 +16,16 @@ USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes -NO_STAGE= yes +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES + do-install: - ${INSTALL_DATA} ${WRKSRC}/bin/Smc.jar ${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/lib/statemap.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/lib/statemap.jar ${JAVAJARDIR} - ${CP} -R ${WRKSRC}/lib/statemap1.0 ${PREFIX}/include -.if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} - @${FIND} ${EXAMPLESDIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.endif + ${INSTALL_DATA} ${WRKSRC}/bin/Smc.jar ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_DATA} ${WRKSRC}/lib/statemap.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lib/statemap.jar ${STAGEDIR}${JAVAJARDIR} + ${CP} -R ${WRKSRC}/lib/statemap1.0 ${STAGEDIR}${PREFIX}/include + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404031116.s33BGHct038270>