2003-11-14 15:10:05 +00:00
|
|
|
# New ports collection makefile for: tkabber
|
|
|
|
# Date created: 22 October 2003
|
|
|
|
# Whom: Alexander Timoshenko <gonzo@univ.kiev.ua>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tkabber
|
2004-08-03 22:07:42 +00:00
|
|
|
PORTVERSION= 0.9.7
|
2005-11-09 07:48:19 +00:00
|
|
|
CATEGORIES= net-im
|
2005-02-18 14:16:04 +00:00
|
|
|
MASTER_SITES= http://www.jabber.ru/files/tkabber/
|
2003-11-14 15:10:05 +00:00
|
|
|
|
2005-02-18 14:16:04 +00:00
|
|
|
MAINTAINER= alexander.timoshenko@gmail.com
|
2003-11-14 15:10:05 +00:00
|
|
|
COMMENT= Tcl/Tk based jabber client
|
|
|
|
|
2005-02-18 14:16:04 +00:00
|
|
|
TCLLIBVER!= ${MAKE} -C ${.CURDIR}/../../devel/tcllib -V PORTVERSION 2>/dev/null \
|
|
|
|
|| (cd ${.CURDIR}/../../devel/tcllib; ${MAKE} -V PORTVERSION)
|
|
|
|
|
2003-11-14 15:10:05 +00:00
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
|
2004-01-29 13:23:08 +00:00
|
|
|
${LOCALBASE}/lib/tcllib${TCLLIBVER}/pkgIndex.tcl:${PORTSDIR}/devel/tcllib \
|
|
|
|
${LOCALBASE}/lib/tls/pkgIndex.tcl:${PORTSDIR}/devel/tcltls \
|
2003-11-14 15:10:05 +00:00
|
|
|
${LOCALBASE}/lib/bwidget/pkgIndex.tcl:${PORTSDIR}/x11-toolkits/bwidget
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-08-03 22:07:42 +00:00
|
|
|
SUBDIRS= aniemoteicons emoticons-tkabber ifaceck ifacetk plugins \
|
|
|
|
jabberlib-tclxml pixmaps sounds textundo msgs mclistbox-1.02
|
2003-11-14 15:10:05 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-01-29 13:23:08 +00:00
|
|
|
${ECHO} -e "#!/bin/sh\nexec wish8.4 ${DATADIR}/tkabber.tcl \
|
|
|
|
-name tkabber \"\$$@\"\n" > ${PREFIX}/bin/tkabber
|
2003-11-14 15:10:05 +00:00
|
|
|
${CHMOD} +x ${PREFIX}/bin/tkabber
|
|
|
|
${MKDIR} ${DATADIR}
|
2004-08-03 22:07:42 +00:00
|
|
|
${CP} ${WRKSRC}/*.tcl ${DATADIR}
|
2003-11-14 15:10:05 +00:00
|
|
|
.for i in ${SUBDIRS}
|
|
|
|
${CP} -R ${WRKSRC}/${i} ${DATADIR}
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in tkabber.html tkabber.xml
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|