pkgsrc/devel/py-gobject3-common/Makefile
drochner c3ab4f3a66 py-gobject3-common is thought to be Python version independent, so it
should not keep a runtime dependency on a specific Python version.
Make Python a build-time dependency for py-gobject3-common (not really
needed, just to satisfy the "configure" script) and move some
dependencies into py-gobject3/Makefile
2014-02-12 18:06:05 +00:00

23 lines
606 B
Makefile

# $NetBSD: Makefile,v 1.2 2014/02/12 18:06:05 drochner Exp $
PYTHON_FOR_BUILD_ONLY= yes
.include "../../devel/py-gobject3/Makefile.common"
PKGNAME= py-gobject3-common-${VER}
COMMENT= Python version independent files for glib2 gobject bindings
CONFIGURE_ARGS+= --disable-cairo
do-build:
INSTALLATION_DIRS+= include/pygobject-3.0 lib/pkgconfig
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gi/_gobject/pygobject.h \
${DESTDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
${INSTALL_SCRIPT} ${WRKSRC}/pygobject-3.0.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
.include "../../mk/bsd.pkg.mk"