summaryrefslogtreecommitdiff
path: root/x11/py-vte
diff options
context:
space:
mode:
authorobache <obache>2011-03-03 12:07:40 +0000
committerobache <obache>2011-03-03 12:07:40 +0000
commit8fc2aeb4a085dfedaeeb56c8004c970a1944b829 (patch)
tree76315edd8d32595694d53c99687edfd956350e13 /x11/py-vte
parentd95c7e87e087e824d2213a6e1b76b56d731e611b (diff)
downloadpkgsrc-8fc2aeb4a085dfedaeeb56c8004c970a1944b829.tar.gz
Import py-vte-0.26.2 as x11/py-vte.
Terminal widget with improved font, internationalisation and accessibility support for the GNOME 2 desktop. This pakcage provide python bindings for the Vte terminal widget.
Diffstat (limited to 'x11/py-vte')
-rw-r--r--x11/py-vte/DESCR4
-rw-r--r--x11/py-vte/Makefile35
-rw-r--r--x11/py-vte/PLIST4
-rw-r--r--x11/py-vte/buildlink3.mk16
4 files changed, 59 insertions, 0 deletions
diff --git a/x11/py-vte/DESCR b/x11/py-vte/DESCR
new file mode 100644
index 00000000000..f17bf54b9e7
--- /dev/null
+++ b/x11/py-vte/DESCR
@@ -0,0 +1,4 @@
+Terminal widget with improved font, internationalisation and
+accessibility support for the GNOME 2 desktop.
+
+This pakcage provide python bindings for the Vte terminal widget.
diff --git a/x11/py-vte/Makefile b/x11/py-vte/Makefile
new file mode 100644
index 00000000000..cc91f07cd02
--- /dev/null
+++ b/x11/py-vte/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/03/03 12:07:40 obache Exp $
+#
+
+.include "../../x11/vte/Makefile.common"
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= x11 python
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= Python bindings for the Vte terminal widget
+LICENSE= gnu-lgpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake intltool msgfmt pkg-config
+
+CONFIGURE_ARGS+= --enable-python
+CONFIGURE_ARGS+= --disable-freetype-test
+CONFIGURE_ARGS+= --enable-Bsymbolic=auto
+
+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}
+.include "../../x11/vte/buildlink3.mk"
+PY_PATCHPLIST= yes
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/py-vte/PLIST b/x11/py-vte/PLIST
new file mode 100644
index 00000000000..94f95999975
--- /dev/null
+++ b/x11/py-vte/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/03/03 12:07:40 obache Exp $
+lib/pkgconfig/pyvte.pc
+${PYSITELIB}/gtk-2.0/vtemodule.la
+share/pygtk/2.0/defs/vte.defs
diff --git a/x11/py-vte/buildlink3.mk b/x11/py-vte/buildlink3.mk
new file mode 100644
index 00000000000..7130c806213
--- /dev/null
+++ b/x11/py-vte/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/03/03 12:07:40 obache Exp $
+
+BUILDLINK_TREE+= py-vte
+
+.if !defined(PY_VTE_BUILDLINK3_MK)
+PY_VTE_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.py-vte+= ${PYPKGPREFIX}-vte>=0.26.0
+BUILDLINK_PKGSRCDIR.py-vte?= ../../x11/vte
+
+.include "../../x11/vte/buildlink3.mk"
+.endif # PY_VTE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-vte