7820875fff
file's sole purpose was to provide a dependency on pkg-config and set some environment variables. Instead, turn pkg-config into a "tool" in the tools framework, where the pkg-config wrapper automatically adds PKG_CONFIG_LIBDIR to the environment before invoking the real pkg-config. For all package Makefiles that included pkg-config/buildlink3.mk, remove that inclusion and replace it with USE_TOOLS+=pkg-config.
32 lines
875 B
Makefile
32 lines
875 B
Makefile
# $NetBSD: Makefile,v 1.28 2005/08/10 20:56:29 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= pygtk-2.6.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.6/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
HOMEPAGE= http://www.gnome.org/
|
|
COMMENT= Python bindings for GTK+2
|
|
|
|
CONFLICTS= ${PYPKGPREFIX}-gtk<0.6.10
|
|
|
|
PY_PATCHPLIST= YES
|
|
USE_LIBTOOL= YES
|
|
PKGCONFIG_OVERRIDE+= pygtk-2.0.pc.in pygobject-2.0.pc.in
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 24 23
|
|
|
|
.include "../../devel/libglade2/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../math/py-Numeric/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|