pkgsrc/devel/py-gobject-shared/Makefile
obache 004dc82899 Fixes dependency
* change dependency on py-cairo and gobject-introspection to build.
  Those are required by configure script, but not required by
  installed files. Furthermore, this package is python-version-independent
  part of py-gobject, but full dependency of those packages introduce
  dependency on certain python version.
* add direct full dependency on libffi, because it is already in  buildlink3.mk.
  (previously, it was indirect dependency from gobject-introspection, but
   py-gobject is using it directly).

Bump PKGREVISION.
2011-01-24 08:30:00 +00:00

30 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.20 2011/01/24 08:30:00 obache Exp $
PKGNAME= py-gobject-shared-2.26.0
PKGREVISION= 3
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../devel/py-gobject/Makefile.common"
PYTHON_FOR_BUILD_ONLY= yes
INSTALLATION_DIRS= include/pygtk-2.0 lib/pkgconfig
do-build:
do-install:
${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/include/pygtk-2.0
${INSTALL_DATA} ${WRKSRC}/gobject/pygobject.h \
${DESTDIR:Q}${PREFIX:Q}/include/pygtk-2.0
${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
${INSTALL_DATA} ${WRKSRC}/pygobject-2.0.pc \
${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
.include "../../lang/python/application.mk"
BUILDLINK_DEPMETHOD.pycairo= build
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_DEPMETHOD.gobject-introspection= build
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"