Date: Sat, 23 Nov 2013 06:55:51 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334646 - head/ports-mgmt/pib Message-ID: <201311230655.rAN6tpxL075035@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sat Nov 23 06:55:51 2013 New Revision: 334646 URL: http://svnweb.freebsd.org/changeset/ports/334646 Log: - Make this port build with different versions of TCL - stagify - use modern variables (USES mainly) Modified: head/ports-mgmt/pib/Makefile Modified: head/ports-mgmt/pib/Makefile ============================================================================== --- head/ports-mgmt/pib/Makefile Sat Nov 23 06:43:14 2013 (r334645) +++ head/ports-mgmt/pib/Makefile Sat Nov 23 06:55:51 2013 (r334646) @@ -11,16 +11,17 @@ MASTER_SITE_SUBDIR= msmith MAINTAINER= ports@FreeBSD.org COMMENT= GUI Ports Collection management tool -USE_TK= 84 -USE_TK_BUILD= 84 +USES= tk:build -NO_STAGE= yes .include <bsd.port.pre.mk> +post-patch: + ${REINPLACE_CMD} 's/8.4/${TCL_VER}/g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} 's/84/${TCL_VER:S,.,,}/g' ${WRKSRC}/Makefile do-install: - ${MKDIR} ${PREFIX}/lib/pib - ${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${PREFIX}/lib/pib - ${INSTALL_DATA} ${WRKSRC}/libTkSteal.so.2* ${PREFIX}/lib/pib - ${LN} -fs ${PREFIX}/lib/pib/pib.tcl ${PREFIX}/bin/pib + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pib + ${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${STAGEDIR}${PREFIX}/lib/pib + ${INSTALL_DATA} ${WRKSRC}/libTkSteal.so.2* ${STAGEDIR}${PREFIX}/lib/pib + ${LN} -fs ${PREFIX}/lib/pib/pib.tcl ${STAGEDIR}${PREFIX}/bin/pib .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311230655.rAN6tpxL075035>