On Sun, Dec 19, 2010 at 12:40:56PM +0100, Stefan Sperling wrote:
> $ sudo pkg_add -i py-matplotlib
> Can't install py-matplotlib-0.98.5.2p5 because of libraries
> |library tcl84.1.1 not found
> | not found anywhere
> |library tk84.1.1 not found
> | not found anywhere
>
> ok?
>
I haven't received any reply to this yet.
I'm going to commit this within a couple of days if I don't hear
anything.
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/py-matplotlib/Makefile,v
> retrieving revision 1.36
> diff -u -p -r1.36 Makefile
> --- Makefile 17 Nov 2010 08:05:15 -0000 1.36
> +++ Makefile 19 Dec 2010 11:35:49 -0000
> @@ -6,7 +6,7 @@ COMMENT= Python charting and plotting AP
>
> DISTNAME= matplotlib-0.98.5.2
> PKGNAME= py-${DISTNAME}
> -REVISION= 5
> +REVISION= 6
> CATEGORIES= graphics devel math
>
> HOMEPAGE= http://matplotlib.sourceforge.net/
> @@ -18,17 +18,22 @@ PERMIT_DISTFILES_CDROM= Yes
> PERMIT_DISTFILES_FTP= Yes
>
> WANTLIB= X11 Xau Xcomposite Xcursor Xdmcp Xext Xfixes Xi Xinerama \
> - Xrandr Xrender Xdamage expat fontconfig freetype m z stdc++ \
> - atk-1.0 gdk-x11-2.0 cairo \
> + Xrandr Xrender Xdamage Xxf86vm drm expat fontconfig freetype \
> + m z stdc++ \
> + atk-1.0 gdk-x11-2.0 GL cairo \
> gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 \
> - gobject-2.0 gtk-x11-2.0 \
> + gobject-2.0 gthread-2.0 gtk-x11-2.0 \
> pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
> - pthread-stubs tcl84 tk84 xcb ffi png>=3
> + pthread-stubs xcb xcb-render xcb-shm ffi png>=3
> +WANTLIB += ${MODTCL_WANTLIB}
> +WANTLIB += ${MODTK_WANTLIB}
>
> MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matplotlib/}
>
> MODULES= lang/python \
> - devel/gettext
> + devel/gettext \
> + lang/tcl \
> + x11/tk
>
> RUN_DEPENDS= math/py-numpy \
> x11/py-gtk2 \