ports/178562: [patch] x11-toolkits/tktreectrl -- update to 2.4.1
Pietro Cerutti
gahr at FreeBSD.org
Mon May 13 09:00:02 UTC 2013
>Number: 178562
>Category: ports
>Synopsis: [patch] x11-toolkits/tktreectrl -- update to 2.4.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon May 13 09:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Pietro Cerutti
>Release:
>Organization:
The FreeBSD Project
>Environment:
>Description:
Hi Sylvio,
the following patch updates x11-toolkits/tktreectrl to 2.4.1 and x11-toolkits/py-tktreectrl to 2.0.1.
I have run-tested net-im/coccinella and it works fine. The self-tests of x11-toolkits/py-tktreectrl (demo directory under WRKSRC) also run fine.
Thanks!
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 313650)
+++ Makefile (working copy)
@@ -1,37 +1,23 @@
-# New ports collection makefile for: tktreectrl
-# Date created: 08 October 2006
-# Whom: Andrew Pantyukhin <infofarmer at FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= tktreectrl
-PORTVERSION= 2.2.9
+PORTVERSION= 2.4.1
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sylvio at FreeBSD.org
COMMENT= Multi-column hierarchical listbox widget
-USE_TK= yes
+USE_TK= 86
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
- --exec-prefix=${PREFIX} --enable-shared
-CPPFLAGS+= ${TCL_INCLUDES} ${TK_INCLUDES}
-TCL_INCLUDES= -I${TCL_INCLUDEDIR} -I${TCL_INCLUDEDIR}/generic
-TK_INCLUDES= -I${TK_INCLUDEDIR} -I${TK_INCLUDEDIR}/generic \
- -I${TK_INCLUDEDIR}/unix
+ --exec-prefix=${PREFIX} \
+ --enable-shared
TKPKG= treectrl${PORTVERSION}
-TKLIBVER= 2.2
-PLIST_SUB= VER=${PORTVERSION} TKPKG=${TKPKG} TKLIBVER=${TKLIBVER}
USE_LDCONFIG= ${PREFIX}/lib/${TKPKG}
-MANN= treectrl.n
+PLIST_SUB= TKPKG=${TKPKG}
+MANN= treectrl.n
-post-install:
- @${LN} -sf ${PREFIX}/lib/${TKPKG}/libtreectrl${TKLIBVER}.so \
- ${PREFIX}/lib/${TKPKG}/libtreectrl${TKLIBVER}.so.0
- @${LN} -sf ${PREFIX}/lib/${TKPKG}/libtreectrl${TKLIBVER}.so \
- ${PREFIX}/lib/${TKPKG}/libtreectrl.so.0
-
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 313650)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (tktreectrl-2.2.9.tar.gz) = f6404844a296726597c4e825bdfca88c3e6257de23e487550b9089db3bdc98f7
-SIZE (tktreectrl-2.2.9.tar.gz) = 718999
+SHA256 (tktreectrl-2.4.1.tar.gz) = c2d19cfc7ce8b150cb50a6b63dc6327c91fb71f76b4f2947e0334a15d5f869d3
+SIZE (tktreectrl-2.4.1.tar.gz) = 945101
Index: pkg-plist
===================================================================
--- pkg-plist (revision 313650)
+++ pkg-plist (working copy)
@@ -1,9 +1,7 @@
lib/%%TKPKG%%/filelist-bindings.tcl
-lib/%%TKPKG%%/htmldoc/What's New in TkTreeCtrl.html
+lib/%%TKPKG%%/htmldoc/What-is-New-in-TkTreeCtrl.html
lib/%%TKPKG%%/htmldoc/treectrl.html
-lib/%%TKPKG%%/libtreectrl.so.0
-lib/%%TKPKG%%/libtreectrl%%TKLIBVER%%.so
-lib/%%TKPKG%%/libtreectrl%%TKLIBVER%%.so.0
+lib/%%TKPKG%%/libtreectrl.so.1
lib/%%TKPKG%%/pkgIndex.tcl
lib/%%TKPKG%%/treectrl.tcl
@dirrm lib/%%TKPKG%%/htmldoc
Index: Makefile
===================================================================
--- Makefile (revision 313650)
+++ Makefile (working copy)
@@ -2,17 +2,16 @@
# $FreeBSD$
PORTNAME= tktreectrl
-PORTVERSION= 0.8
-PORTREVISION= 1
+PORTVERSION= 2.0.1
CATEGORIES= x11-toolkits tk python
-MASTER_SITES= http://klappnase.bubble.org/TkinterTreectrl/ CENKES
+MASTER_SITES= SF/tkintertreectrl/TkinterTreectrl-${PORTVERSION:R}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= TkinterTreectrl-${DISTVERSION}
MAINTAINER= sylvio at FreeBSD.org
COMMENT= TkTreectrl Python bindings
-LIB_DEPENDS= treectrl.0:${PORTSDIR}/x11-toolkits/tktreectrl
+LIB_DEPENDS= treectrl:${PORTSDIR}/x11-toolkits/tktreectrl
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_SITELIBDIR}/Pmw/__init__.py:${PORTSDIR}/x11-toolkits/py-Pmw
@@ -21,6 +20,6 @@
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= TkinterTreectrl
-PYDISTUTILS_PKGVERSION= 0.8
+PYDISTUTILS_PKGVERSION= ${PORTVERSION:R}
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 313650)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (TkinterTreectrl-0.8.zip) = baddea6a34efc1efe15e39a5aa2821b2c16a9299bcc329d72b0bd27db76335d2
-SIZE (TkinterTreectrl-0.8.zip) = 72829
+SHA256 (TkinterTreectrl-2.0.1.zip) = 32f347c736f302c7dbb4aa9ceebf69ef076454bf4c61f97f782b628b5134d38d
+SIZE (TkinterTreectrl-2.0.1.zip) = 87644
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list