pkgsrc-wip/py-gtk2/Makefile
Marc Recht d2d4b38577 re-import of pygtk2 as py-gtk2
This was requested by Lubomir Sedlacik <salo@Xtrmntr.org> to
match pkgsrc's naming scheme for Python pkgs.

This archive contains modules that allow you to use gtk in Python
programs.  At present, it is a fairly complete set of bindings.
Despite the low version number, this piece of software is quite
useful, and is usable to write moderately complex programs.  (see the
examples directory for some examples of the simpler programs you could
write).
2003-04-05 20:40:55 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2003/04/05 20:40:55 marc Exp $
#
DISTNAME= pygtk-1.99.16
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/1.99/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= marc@informatik.uni-bremen.de
HOMEPAGE= http://www.gnome.org/
COMMENT= Python bindings for GTK+2
CONFLICTS= ${PYPKGPREFIX}-gtk-*
PY_PATCHPLIST= YES
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pygtk-2.0.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
PYTHON_VERSION_REQD>= 22
.include "../../mk/pthread.buildlink2.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "native")
CONFIGURE_ARGS+= --enable-thread
.endif
.include "../../devel/libglade2/buildlink2.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../math/py-Numeric/buildlink2.mk"
.include "../../x11/gtk2/buildlink2.mk"
.include "../../wip/gtkglarea2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"