2019-03-08 09:42:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2019/03/08 08:42:09 wiz Exp $
|
1999-06-08 00:45:48 +02:00
|
|
|
|
2000-08-30 23:04:51 +02:00
|
|
|
DISTNAME= tkpiechart-5.4
|
2019-03-08 09:42:09 +01:00
|
|
|
PKGREVISION= 2
|
1999-06-08 00:45:48 +02:00
|
|
|
CATEGORIES= graphics
|
2000-08-30 23:04:51 +02:00
|
|
|
MASTER_SITES= http://jfontain.free.fr/
|
1999-06-08 00:45:48 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-08-30 23:04:51 +02:00
|
|
|
HOMEPAGE= http://jfontain.free.fr/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Tcl/Tk pie-chart utility; in Tcl, not as an extension
|
1999-06-08 00:45:48 +02:00
|
|
|
|
2004-03-30 03:51:46 +02:00
|
|
|
DEPENDS+= tk>=8.3.2:../../x11/tk
|
2019-03-08 09:42:09 +01:00
|
|
|
DEPENDS+= tcllib-[0-9]*:../../devel/tcllib
|
1999-06-08 00:45:48 +02:00
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-04-09 22:42:59 +02:00
|
|
|
SUBST_CLASSES+= patch
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.patch= Remove version numbers for required packages.
|
2019-03-08 09:42:09 +01:00
|
|
|
# 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
|
2013-04-06 23:07:31 +02:00
|
|
|
SUBST_SED.patch= -e '/require/s/stooop 3.7/stooop/g'
|
|
|
|
SUBST_SED.patch+= -e '/require/s/switched 1.4/switched/g'
|
1999-11-19 13:12:28 +01:00
|
|
|
|
2019-03-08 09:42:09 +01:00
|
|
|
INSTALLATION_DIRS+= lib/tcl/tkpiechart
|
|
|
|
|
2000-02-09 18:14:27 +01:00
|
|
|
post-patch:
|
|
|
|
${CHMOD} a+x ${WRKSRC}/instapkg.tcl
|
|
|
|
|
1999-06-08 00:45:48 +02:00
|
|
|
do-install:
|
2008-03-04 16:39:09 +01:00
|
|
|
cd ${WRKSRC}; ./instapkg.tcl ${DESTDIR}${PREFIX}/lib/tcl/tkpiechart
|
1999-06-08 00:45:48 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|