summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-21 21:41:03 +0000
committermarino <marino@pkgsrc.org>2012-08-21 21:41:03 +0000
commit5518520b40ecc52ebf06adec4cec74f6b7ffc306 (patch)
tree0757c49bf3c4479b35601ddeba59938795e1b88c /chat
parent26d2a29b401c4b9da324e9f4bab9c37d677ac3bb (diff)
downloadpkgsrc-5518520b40ecc52ebf06adec4cec74f6b7ffc306.tar.gz
chat/zircon: Add tcl/tk 8.5 support
Create 8.5 support files based on version 8.4 and add them to manifest.
Diffstat (limited to 'chat')
-rw-r--r--chat/zircon/Makefile12
-rw-r--r--chat/zircon/PLIST3
-rw-r--r--chat/zircon/distinfo3
-rw-r--r--chat/zircon/patches/patch-installer_manifest.tcl20
4 files changed, 33 insertions, 5 deletions
diff --git a/chat/zircon/Makefile b/chat/zircon/Makefile
index 2e8b3550205..aec885a49e1 100644
--- a/chat/zircon/Makefile
+++ b/chat/zircon/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2011/03/07 02:19:51 obache Exp $
+# $NetBSD: Makefile,v 1.16 2012/08/21 21:41:03 marino Exp $
#
DISTNAME= zircon-1.18.245
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= ftp://catless.ncl.ac.uk/pub/
@@ -16,7 +16,13 @@ PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
NO_BUILD= yes
-USE_TOOLS+= wish:run tclsh
+USE_TOOLS+= wish:run tclsh sed
+
+post-extract:
+ @${SED} -e 's|.8.4|.8.5|' ${WRKSRC}/installer/file84.tcl > ${WRKSRC}/installer/file85.tcl
+ @${SED} -e 's|.8.4|.8.5|' ${WRKSRC}/lib/tcl84.tcl > ${WRKSRC}/lib/tcl85.tcl
+ @${ECHO_MSG} 'package ifneeded unixfile 1.18.8.5 [list source [file join $$dir file85.tcl]]' \
+ >> ${WRKSRC}/installer/pkgIndex.tcl
do-install:
@( cd ${WRKSRC} && ${TCLSH} installer/install.tcl -b ${PREFIX}/bin -l ${PREFIX}/share/zircon -p ${DESTDIR:Q} -w ${WISH} -g)
diff --git a/chat/zircon/PLIST b/chat/zircon/PLIST
index 4dad2396c3b..d960483df4a 100644
--- a/chat/zircon/PLIST
+++ b/chat/zircon/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 18:28:45 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2012/08/21 21:41:03 marino Exp $
bin/zircon
share/doc/zircon/BUGS
share/doc/zircon/COPYRIGHT
@@ -125,6 +125,7 @@ share/zircon/lib/tcl81.tcl
share/zircon/lib/tcl82.tcl
share/zircon/lib/tcl83.tcl
share/zircon/lib/tcl84.tcl
+share/zircon/lib/tcl85.tcl
share/zircon/lib/upgrade.tcl
share/zircon/lib/userCmds.tcl
share/zircon/lib/zircon.tcl
diff --git a/chat/zircon/distinfo b/chat/zircon/distinfo
index fa1265b2c9a..f8f5bbcbc7c 100644
--- a/chat/zircon/distinfo
+++ b/chat/zircon/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2010/09/26 09:31:13 obache Exp $
+$NetBSD: distinfo,v 1.6 2012/08/21 21:41:03 marino Exp $
SHA1 (zircon-1.18.245.tar.gz) = 3e6ce951111e7a71b6c2fcfba2cd40405a632386
RMD160 (zircon-1.18.245.tar.gz) = aac489bff6b0834eaa984b632f89141b915d1a8f
Size (zircon-1.18.245.tar.gz) = 326469 bytes
SHA1 (patch-aa) = 1f7c108a66906636d76bd200eb39207591bac4dc
+SHA1 (patch-installer_manifest.tcl) = 7923428fc011e5f966f886933ef23c85dfd94621
diff --git a/chat/zircon/patches/patch-installer_manifest.tcl b/chat/zircon/patches/patch-installer_manifest.tcl
new file mode 100644
index 00000000000..fbda0489788
--- /dev/null
+++ b/chat/zircon/patches/patch-installer_manifest.tcl
@@ -0,0 +1,20 @@
+$NetBSD: patch-installer_manifest.tcl,v 1.1 2012/08/21 21:41:03 marino Exp $
+
+--- installer/manifest.tcl.orig 2000-07-17 12:37:18.000000000 +0000
++++ installer/manifest.tcl
+@@ -73,6 +73,7 @@ array set Manifest [list \
+ [file join installer file82.tcl] {} \
+ [file join installer file83.tcl] {} \
+ [file join installer file84.tcl] {} \
++ [file join installer file85.tcl] {} \
+ [file join installer support.tcl] {} \
+ [file join installer mac.tcl] {} \
+ [file join installer macfile.tcl] {} \
+@@ -161,6 +162,7 @@ array set Manifest [list \
+ [file join lib tcl82.tcl] {copy} \
+ [file join lib tcl83.tcl] {copy} \
+ [file join lib tcl84.tcl] {copy} \
++ [file join lib tcl85.tcl] {copy} \
+ [file join lib Unix.tcl] {copy} \
+ [file join lib Windows.tcl] {copy} \
+ [file join lib debug.tcl] {copy} \