mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
c62ba3046d
- add several new CATEGORIES to the port - add LICENSE - cleanup RUN_DEPENDS to reflect minimal requirements - add customization through OptionsNG - add pkg-message to better describe port functionality - pass maintainership to submitter PR: 188256 Submitted by: Mikhail <mp39590@gmail.com> Approved by: Volodymyr Kostyrko <c.kworr@gmail.com> (maintainer)
67 lines
2.0 KiB
Makefile
67 lines
2.0 KiB
Makefile
# Created by: Alexander Timoshenko <gonzo@univ.kiev.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tkabber
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= net-im ipv6 tcl tk
|
|
MASTER_SITES= http://files.jabber.ru/tkabber/
|
|
|
|
MAINTAINER= mp39590@gmail.com
|
|
COMMENT= Tcl/Tk based jabber client
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= tcllib>=1.2:${PORTSDIR}/devel/tcllib \
|
|
bwidget>=1.4:${PORTSDIR}/x11-toolkits/bwidget
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES IPV6 SOUND TDOM TKCON TKTRAY TLS
|
|
OPTIONS_DEFAULT= TLS
|
|
|
|
CONFLICTS= tkabber-devel-[0-9]*
|
|
|
|
USES= tar:xz
|
|
|
|
IPV6_USES= tk:86+
|
|
IPV6_USES_OFF= tk:85+
|
|
SOUND_RUN_DEPENDS= snack>=2.2.10:${PORTSDIR}/audio/snack
|
|
TDOM_DESC= Use more efficient tDOM parser for XML
|
|
TDOM_RUN_DEPENDS= tDOM>=0.8.0:${PORTSDIR}/www/tdom
|
|
TKCON_DESC= Install devel/tkcon for interactive debugging
|
|
TKCON_RUN_DEPENDS= tkcon>=2.3:${PORTSDIR}/devel/tkcon
|
|
TKTRAY_DESC= Install x11-toolkits/tktray for system tray support
|
|
TKTRAY_RUN_DEPENDS= tktray>=1.3:${PORTSDIR}/x11-toolkits/tktray
|
|
TLS_RUN_DEPENDS= tcltls>=1.4.1:${PORTSDIR}/devel/tcltls
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
NO_BUILD= yes
|
|
|
|
SUBDIRS= contrib emoticons ifacetk mclistbox \
|
|
msgs pixmaps plugins sounds tclxmpp trans
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${ECHO_CMD} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabber.tcl \
|
|
-name tkabber \"\$$@\"\n" > ${WRKDIR}/tkabber.sh
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tkabber.sh ${STAGEDIR}${PREFIX}/bin/tkabber
|
|
${ECHO_CMD} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabber-remote.tcl \
|
|
-name tkabber-remote \"\$$@\"\n" > ${WRKDIR}/tkabber-remote.sh
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tkabber-remote.sh ${STAGEDIR}${PREFIX}/bin/tkabber-remote
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${CP} ${WRKSRC}/*.tcl ${STAGEDIR}${DATADIR}
|
|
.for i in ${SUBDIRS}
|
|
${CP} -R ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
.endif
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in tkabber.html tkabber.xml
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|