pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/tkpiechart



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Mar  8 08:42:09 UTC 2019

Modified Files:
        pkgsrc/graphics/tkpiechart: DESCR Makefile

Log Message:
tkpiechart: update to 5.4nb2.

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/tkpiechart/DESCR
cvs rdiff -u -r1.21 -r1.22 pkgsrc/graphics/tkpiechart/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/tkpiechart/DESCR
diff -u pkgsrc/graphics/tkpiechart/DESCR:1.2 pkgsrc/graphics/tkpiechart/DESCR:1.3
--- pkgsrc/graphics/tkpiechart/DESCR:1.2        Sat Jun  7 15:07:29 2003
+++ pkgsrc/graphics/tkpiechart/DESCR    Fri Mar  8 08:42:09 2019
@@ -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).

Index: pkgsrc/graphics/tkpiechart/Makefile
diff -u pkgsrc/graphics/tkpiechart/Makefile:1.21 pkgsrc/graphics/tkpiechart/Makefile:1.22
--- pkgsrc/graphics/tkpiechart/Makefile:1.21    Wed Jul  4 13:40:21 2018
+++ pkgsrc/graphics/tkpiechart/Makefile Fri Mar  8 08:42:09 2019
@@ -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 @@ HOMEPAGE=   http://jfontain.free.fr/
 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