summaryrefslogtreecommitdiff
path: root/devel/py-gobject/Makefile
blob: 4cd508d484eef866c90ea8d8023cdbd9162d5998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: Makefile,v 1.24 2010/04/12 14:00:17 taca Exp $
#

PKGNAME=		${PYPKGPREFIX}-gobject-2.18.0
PKGREVISION=		1

PKG_DESTDIR_SUPPORT=	user-destdir

.include "Makefile.common"

PYTHON_VERSIONS_ACCEPTED=	26 25

post-patch:
	${SED} "s|@PYGTKCODEGEN@|${PREFIX}/share/pygobject/2.0|" \
	<${WRKSRC}/dsextras.py >${WRKSRC}/dsextras.py.tmp \
	&& ${MV} ${WRKSRC}/dsextras.py.tmp ${WRKSRC}/dsextras.py

BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=${PKGVERSION_NOREV}

.include "../../lang/python/extension.mk"
.include "../../devel/py-gobject-shared/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"