Date: Wed, 25 Sep 2013 10:24:50 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328261 - head/devel/SpecTcl Message-ID: <201309251024.r8PAOouc087097@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Wed Sep 25 10:24:50 2013 New Revision: 328261 URL: http://svnweb.freebsd.org/changeset/ports/328261 Log: - Convert to USES+=tk - Stage-safe Modified: head/devel/SpecTcl/Makefile (contents, props changed) Modified: head/devel/SpecTcl/Makefile ============================================================================== --- head/devel/SpecTcl/Makefile Wed Sep 25 10:03:33 2013 (r328260) +++ head/devel/SpecTcl/Makefile Wed Sep 25 10:24:50 2013 (r328261) @@ -13,26 +13,25 @@ COMMENT= Free drag-and-drop GUI builder NO_BUILD= yes -USE_TK_WRAPPER= yes +USES+= tk:85 -NO_STAGE= yes post-patch: .for file in specJava specTcl @${REINPLACE_CMD} -e \ - 's|^DIR=.*|DIR=${DATADIR}/lib|g' ${WRKSRC}/bin/${file} + 's|^DIR=.*|DIR=${DATADIR}/lib|g; s|wish|${WISH}|g' ${WRKSRC}/bin/${file} .endfor do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/specJava ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/specTcl ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/changes ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/license.terms ${DATADIR} - @${MKDIR} ${DATADIR}/demo - @(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${DATADIR}/demo) - @${MKDIR} ${DATADIR}/examples - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${DATADIR}/examples) - @${MKDIR} ${DATADIR}/lib - @(cd ${WRKSRC}/SpecTcl && ${COPYTREE_SHARE} . ${DATADIR}/lib) + ${INSTALL_SCRIPT} ${WRKSRC}/bin/specJava ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/specTcl ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/changes ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/license.terms ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR}/demo + @(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/demo) + @${MKDIR} ${STAGEDIR}${DATADIR}/examples + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/examples) + @${MKDIR} ${STAGEDIR}${DATADIR}/lib + @(cd ${WRKSRC}/SpecTcl && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309251024.r8PAOouc087097>