Date: Fri, 27 Sep 2013 07:55:17 +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: r328435 - head/devel/cbrowser Message-ID: <201309270755.r8R7tHbi020825@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Fri Sep 27 07:55:17 2013 New Revision: 328435 URL: http://svnweb.freebsd.org/changeset/ports/328435 Log: - Convert to USES+=tk - STAGE clean - Refactor the Makefile a bit Deleted: head/devel/cbrowser/pkg-plist Modified: head/devel/cbrowser/Makefile Modified: head/devel/cbrowser/Makefile ============================================================================== --- head/devel/cbrowser/Makefile Fri Sep 27 06:56:36 2013 (r328434) +++ head/devel/cbrowser/Makefile Fri Sep 27 07:55:17 2013 (r328435) @@ -12,23 +12,23 @@ COMMENT= Graphical front end for cscope RUN_DEPENDS= cscope:${PORTSDIR}/devel/cscope -USE_TK= 84+ -USE_TK_RUN= yes +USES+= tk:run NO_BUILD= yes +LIBDIR= ${PREFIX}/lib/${PORTNAME} +PLIST_FILES= bin/cbrowser \ + lib/cbrowser/cbrowser lib/cbrowser/tclIndex \ + lib/cbrowser/builder.tcl lib/cbrowser/calltree.tcl \ + lib/cbrowser/ftcllib.tcl lib/cbrowser/hierarchy.tcl \ + lib/cbrowser/widget.tcl +PLIST_DIRS= lib/cbrowser -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -i "" -e '3s|wish|${WISH}|' ${WRKSRC}/cbrowser do-install: - ${MKDIR} ${DATADIR} - (cd ${WRKSRC} && ${COPYTREE_SHARE} \*.tcl ${DATADIR}) - ${INSTALL_DATA} ${WRKSRC}/tclIndex ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/cbrowser ${DATADIR} - ${LN} -s ${DATADIR}/cbrowser ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${LIBDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${LIBDIR} -a ! -name README + ${CHMOD} ${BINMODE} ${STAGEDIR}${LIBDIR}/cbrowser + ${LN} -s ${LIBDIR}/cbrowser ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309270755.r8R7tHbi020825>