pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/tkpiechart tkpiechart: update to 5.4nb2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b009b863ff46
branches:  trunk
changeset: 330919:b009b863ff46
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Mar 08 08:42:09 2019 +0000

description:
tkpiechart: update to 5.4nb2.

Switch from devel/stooop to tcllib.
Some pkglint cleanup while here, and fix configure seddery.

diffstat:

 graphics/tkpiechart/DESCR    |  22 +++-------------------
 graphics/tkpiechart/Makefile |  19 +++++++++++++------
 2 files changed, 16 insertions(+), 25 deletions(-)

diffs (74 lines):

diff -r a5419a54ef94 -r b009b863ff46 graphics/tkpiechart/DESCR
--- a/graphics/tkpiechart/DESCR Fri Mar 08 08:31:22 2019 +0000
+++ b/graphics/tkpiechart/DESCR Fri Mar 08 08:42:09 2019 +0000
@@ -1,19 +1,3 @@
-Some people have asked for a Tcl/Tk pie utility: so here is my little
-implementation with Tcl, not as an extension.
-
-This is version 3.0.2. It was tested with Tcl8.0/Tk8.0 and the
-netscape plug-in 2.0b3 or above.
-
-It is object oriented using the stooop (Simple Tcl Only Object
-Oriented Programming) extension (version 3.0 or above, tcl file
-included).
-
-Whether you like it (or hate it), please let me know. I would like to
-hear about bugs and improvements you would like to see. I will correct
-the bugs quickly, especially if you send me a test script.
-
-If you find a bug in the Tcl code and correct it yourself, please
-email the modified code so I can include it in the next release. The
-same goes for improvements.
-
-Jean-Luc Fontaine (mailto:jfontain%mygale.org@localhost)
+Tkpiechart is a Tcl only extension that allows the programmer to
+create and dynamically update 2D or 3D pie charts in a Tcl/Tk
+application (obviously Tk is required).
diff -r a5419a54ef94 -r b009b863ff46 graphics/tkpiechart/Makefile
--- a/graphics/tkpiechart/Makefile      Fri Mar 08 08:31:22 2019 +0000
+++ b/graphics/tkpiechart/Makefile      Fri Mar 08 08:42:09 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2018/07/04 13:40:21 jperkin Exp $
+# $NetBSD: Makefile,v 1.22 2019/03/08 08:42:09 wiz Exp $
 
 DISTNAME=      tkpiechart-5.4
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  http://jfontain.free.fr/
 
@@ -10,23 +10,30 @@
 COMMENT=       Tcl/Tk pie-chart utility; in Tcl, not as an extension
 
 DEPENDS+=      tk>=8.3.2:../../x11/tk
-DEPENDS+=      stooop>=3.7:../../devel/stooop
+DEPENDS+=      tcllib-[0-9]*:../../devel/tcllib
 
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
 
 SUBST_CLASSES+=                patch
 SUBST_MESSAGE.patch=   Remove version numbers for required packages.
-SUBST_STAGE.patch=     pre-configure
-SUBST_FILES.patch=     demo demo.tcl instapkg.tcl piechart.htm
+# not a good phase due to interaction with patches, but neither
+# configure nor build phases exist
+SUBST_STAGE.patch=     post-patch
+SUBST_FILES.patch+=    INSTALL
+SUBST_FILES.patch+=    demo
+SUBST_FILES.patch+=    demo.tcl
+SUBST_FILES.patch+=    instapkg.tcl
+SUBST_FILES.patch+=    piechart.htm
 SUBST_SED.patch=       -e '/require/s/stooop 3.7/stooop/g'
 SUBST_SED.patch+=      -e '/require/s/switched 1.4/switched/g'
 
+INSTALLATION_DIRS+=    lib/tcl/tkpiechart
+
 post-patch:
        ${CHMOD} a+x ${WRKSRC}/instapkg.tcl
 
 do-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tcl/tkpiechart
        cd ${WRKSRC}; ./instapkg.tcl ${DESTDIR}${PREFIX}/lib/tcl/tkpiechart
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index