34 lines
871 B
Makefile
34 lines
871 B
Makefile
# $NetBSD: Makefile,v 1.51 2023/01/03 17:36:39 wiz Exp $
|
|
|
|
.include "../../x11/vte/Makefile.common"
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 35
|
|
CATEGORIES= x11 python
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.gnome.org/
|
|
COMMENT= Python bindings for the Vte terminal widget
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake intltool msgfmt pkg-config
|
|
|
|
CONFIGURE_ARGS+= --enable-python
|
|
CONFIGURE_ARGS+= --enable-Bsymbolic=auto
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
|
|
|
|
BUILD_DIRS= python
|
|
|
|
pre-build:
|
|
${LN} -s ${BUILDLINK_DIR}/lib/libvte.la ${WRKSRC}/src/libvte.la
|
|
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.vte+= vte>=${PKGVERSION_NOREV}<0.32
|
|
.include "../../x11/vte/buildlink3.mk"
|
|
PY_PATCHPLIST= yes
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|