aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pib
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-11-23 06:55:51 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-11-23 06:55:51 +0000
commit31c507c5a773499fba54229808a11ba3335618b9 (patch)
tree036ce42fd6b07818164b6ca95251027690a1cb0c /ports-mgmt/pib
parented175fb9971711c9db01ade0aba8ae9d26ebfa77 (diff)
downloadports-31c507c5a773499fba54229808a11ba3335618b9.tar.gz
ports-31c507c5a773499fba54229808a11ba3335618b9.zip
- Make this port build with different versions of TCL
- stagify - use modern variables (USES mainly)
Notes
Notes: svn path=/head/; revision=334646
Diffstat (limited to 'ports-mgmt/pib')
-rw-r--r--ports-mgmt/pib/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/ports-mgmt/pib/Makefile b/ports-mgmt/pib/Makefile
index f88768253cac..c47620ddbff7 100644
--- a/ports-mgmt/pib/Makefile
+++ b/ports-mgmt/pib/Makefile
@@ -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>