pkgsrc/graphics/py-goocanvas/Makefile
2010-12-02 13:36:56 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2010/12/02 13:36:57 wiz Exp $
#
DISTNAME= pygoocanvas-0.14.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
PKGREVISION= 5
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygoocanvas/0.14/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://live.gnome.org/PyGoocanvas
COMMENT= Python bindings for GooCanvas
LICENSE= gnu-lgpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= pygoocanvas.pc.in
CONFIGURE_ARGS+= --disable-docs
PY_PATCHPLIST= yes
# This restriction came from py-gtk2 and py-cairo,
# pygoocanvas itself just require >=22.
PYTHON_VERSIONS_ACCEPTED= 26 25
.include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.10.0
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../devel/py-gobject/buildlink3.mk"
BUILDLINK_API_DEPENDS.goocanvas+= goocanvas>=0.14.0
.include "../../graphics/goocanvas/buildlink3.mk"
BUILDLINK_API_DEPENDS.pycairo+= ${PYPKGPREFIX}-cairo>=1.8.4
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"