36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# Created by: Dennis Herrmann <adox@mcx2.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tkabbur
|
|
PORTVERSION= 0.8
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
|
COMMENT= Is a modification of XMPP/Jabber client Tkabber
|
|
|
|
RUN_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib \
|
|
${LOCALBASE}/lib/tls1.6/pkgIndex.tcl:${PORTSDIR}/devel/tcltls \
|
|
${LOCALBASE}/lib/bwidget/pkgIndex.tcl:${PORTSDIR}/x11-toolkits/bwidget
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
USES= tar:bzip2 tk:run
|
|
NO_BUILD= yes
|
|
|
|
SUBDIRS= contrib emoticons ifacetk jabberlib mclistbox \
|
|
msgs pixmaps plugins sounds tclxml trans
|
|
|
|
do-install:
|
|
${ECHO} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabbur.tcl \
|
|
-name tkabbur \"\$$@\"\n" > ${STAGEDIR}${PREFIX}/bin/tkabbur
|
|
${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/tkabbur
|
|
${CHMOD} 755 ${WRKSRC}/*.tcl
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${CP} ${WRKSRC}/*.tcl ${STAGEDIR}${DATADIR}
|
|
.for i in ${SUBDIRS}
|
|
${CHMOD} -R 755 ${WRKSRC}/${i}
|
|
${CP} -R ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|