aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/tkabbur
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-01-17 18:15:47 +0800
committergahr <gahr@FreeBSD.org>2014-01-17 18:15:47 +0800
commit39f07a5bc1a5f46a881c99f118edcf91edc31af4 (patch)
tree35f8104bf07e0bc42e99a445b884a78f24836f2a /net-im/tkabbur
parent3f1eafcec794df25f12f24e63468fe3162b51834 (diff)
downloadfreebsd-ports-gnome-39f07a5bc1a5f46a881c99f118edcf91edc31af4.tar.gz
freebsd-ports-gnome-39f07a5bc1a5f46a881c99f118edcf91edc31af4.tar.zst
freebsd-ports-gnome-39f07a5bc1a5f46a881c99f118edcf91edc31af4.zip
- Convert to USES=tk
- STAGE-clean
Diffstat (limited to 'net-im/tkabbur')
-rw-r--r--net-im/tkabbur/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/net-im/tkabbur/Makefile b/net-im/tkabbur/Makefile
index c0b5753aa307..1b0e7fbb8d51 100644
--- a/net-im/tkabbur/Makefile
+++ b/net-im/tkabbur/Makefile
@@ -15,27 +15,23 @@ RUN_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib \
${LOCALBASE}/lib/bwidget/pkgIndex.tcl:${PORTSDIR}/x11-toolkits/bwidget
WRKSRC= ${WRKDIR}/${DISTNAME}
+USES= tk:run
USE_BZIP2= yes
NO_BUILD= yes
-USE_TK_RUN= 84+
-
SUBDIRS= contrib emoticons ifacetk jabberlib mclistbox \
msgs pixmaps plugins sounds tclxml trans
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-install:
${ECHO} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabbur.tcl \
- -name tkabbur \"\$$@\"\n" > ${PREFIX}/bin/tkabbur
- ${CHMOD} +x ${PREFIX}/bin/tkabbur
+ -name tkabbur \"\$$@\"\n" > ${STAGEDIR}${PREFIX}/bin/tkabbur
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/tkabbur
${CHMOD} 755 ${WRKSRC}/*.tcl
- ${MKDIR} ${DATADIR}
- ${CP} ${WRKSRC}/*.tcl ${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${CP} ${WRKSRC}/*.tcl ${STAGEDIR}${DATADIR}
.for i in ${SUBDIRS}
${CHMOD} -R 755 ${WRKSRC}/${i}
- ${CP} -R ${WRKSRC}/${i} ${DATADIR}
+ ${CP} -R ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>