diff options
author | wiz <wiz@pkgsrc.org> | 2019-03-08 08:42:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-03-08 08:42:09 +0000 |
commit | 9e17d7c021619eba672db81920d3695e784253c3 (patch) | |
tree | 0ce3e1b4f66bae7eb60b42864ba4716702c2e9c3 | |
parent | 00a62a0a10ab172b57bd7b4e5da1664f902ff1e9 (diff) | |
download | pkgsrc-9e17d7c021619eba672db81920d3695e784253c3.tar.gz |
tkpiechart: update to 5.4nb2.
Switch from devel/stooop to tcllib.
Some pkglint cleanup while here, and fix configure seddery.
-rw-r--r-- | graphics/tkpiechart/DESCR | 22 | ||||
-rw-r--r-- | graphics/tkpiechart/Makefile | 19 |
2 files changed, 16 insertions, 25 deletions
diff --git a/graphics/tkpiechart/DESCR b/graphics/tkpiechart/DESCR index 093e2b87a0b..4dbb0850fcf 100644 --- a/graphics/tkpiechart/DESCR +++ b/graphics/tkpiechart/DESCR @@ -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) +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 --git a/graphics/tkpiechart/Makefile b/graphics/tkpiechart/Makefile index 859c53c3b94..d0d8c318368 100644 --- a/graphics/tkpiechart/Makefile +++ b/graphics/tkpiechart/Makefile @@ -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" |