aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2005-08-31 12:23:46 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2005-08-31 12:23:46 +0000
commitc6183c26cf7653c31cb948251962adf0344d03a7 (patch)
treeaf0c36999ab2c0055ebaf849aaaeb02de6e3761b /net-im
parent1959ba8575c05e9c8b4f66ca6ddcb27d58c77171 (diff)
downloadports-c6183c26cf7653c31cb948251962adf0344d03a7.tar.gz
ports-c6183c26cf7653c31cb948251962adf0344d03a7.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/tkabber-devel/Makefile24
-rw-r--r--net-im/tkabber-devel/distinfo4
-rw-r--r--net-im/tkabber-devel/files/patch-tkabber.tcl11
-rw-r--r--net-im/tkabber-devel/pkg-plist7
4 files changed, 34 insertions, 12 deletions
diff --git a/net-im/tkabber-devel/Makefile b/net-im/tkabber-devel/Makefile
index eb02bb4b3e39..6d64a8d1e6c8 100644
--- a/net-im/tkabber-devel/Makefile
+++ b/net-im/tkabber-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tkabber
-PORTVERSION= 0.9.8.a.20050621
+PORTVERSION= 0.9.8.a.20050814
CATEGORIES= net
MASTER_SITES= http://neva.vlink.ru/distfiles/
PKGNAMESUFFIX= -devel
@@ -14,6 +14,8 @@ PKGNAMESUFFIX= -devel
MAINTAINER= dsh@vlink.ru
COMMENT= Tcl/Tk based jabber client, development version
+LIB_DEPENDS= img.1:${PORTSDIR}/graphics/libimg \
+ tkXwin.1:${PORTSDIR}/x11/tkXwin
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
${LOCALBASE}/lib/tcllib1.7/pkgIndex.tcl:${PORTSDIR}/devel/tcllib \
${LOCALBASE}/lib/tls/pkgIndex.tcl:${PORTSDIR}/devel/tcltls \
@@ -34,20 +36,26 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/tkabber.sh ${PREFIX}/bin/tkabber
${MKDIR} ${DATADIR}
- ${CP} ${WRKSRC}/*.tcl ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/*.tcl ${DATADIR}
.for i in ${SUBDIRS}
- ${CP} -R ${WRKSRC}/${i} ${DATADIR}/
+ ${CP} -R ${WRKSRC}/${i} ${DATADIR}
.endfor
+ ${HEAD} -1 ${WRKSRC}/ChangeLog > ${DATADIR}/version
${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}/
+ ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
+
+.for i in ${DATADIR} ${EXAMPLESDIR}
+ ${FIND} ${i} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
+ ${FIND} ${i} -type f -print0 | ${XARGS} -0 ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.for i in AUTHORS COPYING ChangeLog
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
+. for i in AUTHORS COPYING ChangeLog
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+. endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/net-im/tkabber-devel/distinfo b/net-im/tkabber-devel/distinfo
index 372430c60e86..035042341b5f 100644
--- a/net-im/tkabber-devel/distinfo
+++ b/net-im/tkabber-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (tkabber-0.9.8.a.20050621.tar.bz2) = 675d215cfafb3a8bf889d2104c4e4fdf
-SIZE (tkabber-0.9.8.a.20050621.tar.bz2) = 608799
+MD5 (tkabber-0.9.8.a.20050814.tar.bz2) = e8305a8c7e277cfc760abbcf4bc9f945
+SIZE (tkabber-0.9.8.a.20050814.tar.bz2) = 619184
diff --git a/net-im/tkabber-devel/files/patch-tkabber.tcl b/net-im/tkabber-devel/files/patch-tkabber.tcl
new file mode 100644
index 000000000000..0f0303391b93
--- /dev/null
+++ b/net-im/tkabber-devel/files/patch-tkabber.tcl
@@ -0,0 +1,11 @@
+--- tkabber.tcl.orig Mon Aug 1 01:09:36 2005
++++ tkabber.tcl Wed Aug 3 11:35:21 2005
+@@ -75,7 +75,7 @@
+ return $snapshot
+ }
+
+-set version "0.9.8-alpha[get_snapshot [file join $rootdir ChangeLog]]"
++set version "0.9.8-alpha[get_snapshot [file join $rootdir version]]"
+ set toolkit_version "Tcl/Tk [info patchlevel]"
+ set debug_lvls {}
+
diff --git a/net-im/tkabber-devel/pkg-plist b/net-im/tkabber-devel/pkg-plist
index dd0e33b4453d..540b9343aa1e 100644
--- a/net-im/tkabber-devel/pkg-plist
+++ b/net-im/tkabber-devel/pkg-plist
@@ -41,8 +41,10 @@ bin/tkabber
%%DATADIR%%/iq.tcl
%%DATADIR%%/itemedit.tcl
%%DATADIR%%/jabberlib-tclxml/jabberlib.tcl
+%%DATADIR%%/jabberlib-tclxml/jlibsasl.tcl
%%DATADIR%%/jabberlib-tclxml/ntlm.tcl
%%DATADIR%%/jabberlib-tclxml/pkgIndex.tcl
+%%DATADIR%%/jabberlib-tclxml/streamerror.tcl
%%DATADIR%%/jabberlib-tclxml/tclxml/pkgIndex.tcl
%%DATADIR%%/jabberlib-tclxml/tclxml/sgml-8.1.tcl
%%DATADIR%%/jabberlib-tclxml/tclxml/sgmlparser.tcl
@@ -517,9 +519,11 @@ bin/tkabber
%%DATADIR%%/plugins/filetransfer/http.tcl
%%DATADIR%%/plugins/filetransfer/jidlink.tcl
%%DATADIR%%/plugins/filetransfer/si.tcl
+%%DATADIR%%/plugins/general/annotations.tcl
%%DATADIR%%/plugins/general/autoaway.tcl
%%DATADIR%%/plugins/general/avatars.tcl
%%DATADIR%%/plugins/general/clientinfo.tcl
+%%DATADIR%%/plugins/general/conferences.tcl
%%DATADIR%%/plugins/general/conferenceinfo.tcl
%%DATADIR%%/plugins/general/message_archive.tcl
%%DATADIR%%/plugins/general/offline.tcl
@@ -573,6 +577,7 @@ bin/tkabber
%%DATADIR%%/tkabber.tcl
%%DATADIR%%/userinfo.tcl
%%DATADIR%%/utils.tcl
+%%DATADIR%%/version
%%DATADIR%%/xmppmime.tcl
%%EXAMPLESDIR%%/badlop-config-home.tcl
%%EXAMPLESDIR%%/badlop-config.tcl
@@ -607,13 +612,11 @@ bin/tkabber
@dirrm %%DATADIR%%/emoticons-tkabber
@dirrm %%DATADIR%%/ifaceck
@dirrm %%DATADIR%%/ifacetk
-@dirrm %%DATADIR%%/plugins/mac
@dirrm %%DATADIR%%/plugins/filetransfer
@dirrm %%DATADIR%%/plugins/general
@dirrm %%DATADIR%%/plugins/iq
@dirrm %%DATADIR%%/plugins/jidlink
@dirrm %%DATADIR%%/plugins/chat
-@dirrm %%DATADIR%%/plugins/macintosh
@dirrm %%DATADIR%%/plugins/si
@dirrm %%DATADIR%%/plugins/unix
@dirrm %%DATADIR%%/plugins/windows