aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/tkabbur
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2010-12-02 01:17:56 +0800
committerdhn <dhn@FreeBSD.org>2010-12-02 01:17:56 +0800
commite84cdc76b3ffba08342a5094b5bf3eb20d865d3e (patch)
treeceb5a12100e30187b9f7de76f9be532a93548078 /net-im/tkabbur
parenta6c89e4ef4b126f8aa518c7e3313278b421cf689 (diff)
downloadfreebsd-ports-gnome-e84cdc76b3ffba08342a5094b5bf3eb20d865d3e.tar.gz
freebsd-ports-gnome-e84cdc76b3ffba08342a5094b5bf3eb20d865d3e.tar.zst
freebsd-ports-gnome-e84cdc76b3ffba08342a5094b5bf3eb20d865d3e.zip
- Use bsd.tcl.mk instead of manual WISH
PR: ports/152707 Submitted by: Martin Matuska <mm@FreeBSD.org>
Diffstat (limited to 'net-im/tkabbur')
-rw-r--r--net-im/tkabbur/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-im/tkabbur/Makefile b/net-im/tkabbur/Makefile
index 69408c66fecb..331bc5aea334 100644
--- a/net-im/tkabbur/Makefile
+++ b/net-im/tkabbur/Makefile
@@ -14,8 +14,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= dhn@FreeBSD.org
COMMENT= Is a modification of XMPP/Jabber client Tkabber
-RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
- dtplite:${PORTSDIR}/devel/tcllib \
+RUN_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib \
${LOCALBASE}/lib/tls/pkgIndex.tcl:${PORTSDIR}/devel/tcltls \
${LOCALBASE}/lib/bwidget/pkgIndex.tcl:${PORTSDIR}/x11-toolkits/bwidget
@@ -23,11 +22,15 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
USE_BZIP2= yes
NO_BUILD= yes
+USE_TK_RUN= 84+
+
SUBDIRS= contrib emoticons ifacetk jabberlib mclistbox \
msgs pixmaps plugins sounds tclxml trans
+.include <bsd.port.pre.mk>
+
do-install:
- ${ECHO} -e "#!/bin/sh\nexec wish8.4 ${DATADIR}/tkabbur.tcl \
+ ${ECHO} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabbur.tcl \
-name tkabbur \"\$$@\"\n" > ${PREFIX}/bin/tkabbur
${CHMOD} +x ${PREFIX}/bin/tkabbur
${CHMOD} 755 ${WRKSRC}/*.tcl
@@ -38,4 +41,4 @@ do-install:
${CP} -R ${WRKSRC}/${i} ${DATADIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>