summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-05-09 14:50:12 +0000
committerdrochner <drochner@pkgsrc.org>2003-05-09 14:50:12 +0000
commitf1d512a07659380d4aed3556e43c29eb59282f8c (patch)
treeb070a1085670c3b84f653acab14010f58622bd11 /x11
parent37c8e3d10b541842f141d2ab0e4974bd26139872 (diff)
downloadpkgsrc-f1d512a07659380d4aed3556e43c29eb59282f8c.tar.gz
pull in py-gtk2 from pkgsrc-wip, provided by Marc Recht
Diffstat (limited to 'x11')
-rw-r--r--x11/py-gtk2/DESCR6
-rw-r--r--x11/py-gtk2/Makefile38
-rw-r--r--x11/py-gtk2/PLIST91
-rw-r--r--x11/py-gtk2/buildlink2.mk28
-rw-r--r--x11/py-gtk2/distinfo4
5 files changed, 167 insertions, 0 deletions
diff --git a/x11/py-gtk2/DESCR b/x11/py-gtk2/DESCR
new file mode 100644
index 00000000000..aca380a5e54
--- /dev/null
+++ b/x11/py-gtk2/DESCR
@@ -0,0 +1,6 @@
+This archive contains modules that allow you to use gtk in Python
+programs. At present, it is a fairly complete set of bindings.
+Despite the low version number, this piece of software is quite
+useful, and is usable to write moderately complex programs. (see the
+examples directory for some examples of the simpler programs you could
+write).
diff --git a/x11/py-gtk2/Makefile b/x11/py-gtk2/Makefile
new file mode 100644
index 00000000000..f6d7ca7f846
--- /dev/null
+++ b/x11/py-gtk2/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/09 14:50:12 drochner Exp $
+#
+
+DISTNAME= pygtk-1.99.16
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/1.99/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= marc@informatik.uni-bremen.de
+HOMEPAGE= http://www.gnome.org/
+COMMENT= Python bindings for GTK+2
+
+CONFLICTS= ${PYPKGPREFIX}-gtk<0.6.10
+
+PY_PATCHPLIST= YES
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/pygtk-2.0.pc.in
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
+
+PYTHON_VERSION_REQD= 22pth
+
+.include "../../mk/pthread.buildlink2.mk"
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "native")
+CONFIGURE_ARGS+= --enable-thread
+.endif
+
+.include "../../devel/libglade2/buildlink2.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../math/py-Numeric/buildlink2.mk"
+.include "../../x11/gtk2/buildlink2.mk"
+.include "../../x11/gtkglarea2/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/py-gtk2/PLIST b/x11/py-gtk2/PLIST
new file mode 100644
index 00000000000..2f91e1a7cc9
--- /dev/null
+++ b/x11/py-gtk2/PLIST
@@ -0,0 +1,91 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/09 14:50:12 drochner Exp $
+bin/pygtk-codegen-2.0
+include/pygtk-2.0/pygobject.h
+include/pygtk-2.0/pygtk/pygtk.h
+lib/pkgconfig/pygtk-2.0.pc
+${PYSITELIB}/gtk-2.0/atkmodule.a
+${PYSITELIB}/gtk-2.0/atkmodule.la
+${PYSITELIB}/gtk-2.0/atkmodule.so
+${PYSITELIB}/gtk-2.0/gobjectmodule.a
+${PYSITELIB}/gtk-2.0/gobjectmodule.la
+${PYSITELIB}/gtk-2.0/gobjectmodule.so
+${PYSITELIB}/gtk-2.0/gtk/__init__.py
+${PYSITELIB}/gtk-2.0/gtk/__init__.pyc
+${PYSITELIB}/gtk-2.0/gtk/__init__.pyo
+${PYSITELIB}/gtk-2.0/gtk/_gtkmodule.a
+${PYSITELIB}/gtk-2.0/gtk/_gtkmodule.la
+${PYSITELIB}/gtk-2.0/gtk/_gtkmodule.so
+${PYSITELIB}/gtk-2.0/gtk/compat.py
+${PYSITELIB}/gtk-2.0/gtk/compat.pyc
+${PYSITELIB}/gtk-2.0/gtk/compat.pyo
+${PYSITELIB}/gtk-2.0/gtk/glademodule.a
+${PYSITELIB}/gtk-2.0/gtk/glademodule.la
+${PYSITELIB}/gtk-2.0/gtk/glademodule.so
+${PYSITELIB}/gtk-2.0/gtk/glmodule.a
+${PYSITELIB}/gtk-2.0/gtk/glmodule.la
+${PYSITELIB}/gtk-2.0/gtk/glmodule.so
+${PYSITELIB}/gtk-2.0/gtk/keysyms.py
+${PYSITELIB}/gtk-2.0/gtk/keysyms.pyc
+${PYSITELIB}/gtk-2.0/gtk/keysyms.pyo
+${PYSITELIB}/gtk-2.0/pangomodule.a
+${PYSITELIB}/gtk-2.0/pangomodule.la
+${PYSITELIB}/gtk-2.0/pangomodule.so
+${PYSITELIB}/pygtk.pth
+${PYSITELIB}/pygtk.py
+${PYSITELIB}/pygtk.pyc
+${PYSITELIB}/pygtk.pyo
+share/pygtk/2.0/codegen/__init__.py
+share/pygtk/2.0/codegen/__init__.pyc
+share/pygtk/2.0/codegen/__init__.pyo
+share/pygtk/2.0/codegen/argtypes.py
+share/pygtk/2.0/codegen/argtypes.pyc
+share/pygtk/2.0/codegen/argtypes.pyo
+share/pygtk/2.0/codegen/codegen.py
+share/pygtk/2.0/codegen/codegen.pyc
+share/pygtk/2.0/codegen/codegen.pyo
+share/pygtk/2.0/codegen/definitions.py
+share/pygtk/2.0/codegen/definitions.pyc
+share/pygtk/2.0/codegen/definitions.pyo
+share/pygtk/2.0/codegen/defsparser.py
+share/pygtk/2.0/codegen/defsparser.pyc
+share/pygtk/2.0/codegen/defsparser.pyo
+share/pygtk/2.0/codegen/docextract.py
+share/pygtk/2.0/codegen/docextract.pyc
+share/pygtk/2.0/codegen/docextract.pyo
+share/pygtk/2.0/codegen/docgen.py
+share/pygtk/2.0/codegen/docgen.pyc
+share/pygtk/2.0/codegen/docgen.pyo
+share/pygtk/2.0/codegen/h2def.py
+share/pygtk/2.0/codegen/h2def.pyc
+share/pygtk/2.0/codegen/h2def.pyo
+share/pygtk/2.0/codegen/mergedefs.py
+share/pygtk/2.0/codegen/mergedefs.pyc
+share/pygtk/2.0/codegen/mergedefs.pyo
+share/pygtk/2.0/codegen/mkskel.py
+share/pygtk/2.0/codegen/mkskel.pyc
+share/pygtk/2.0/codegen/mkskel.pyo
+share/pygtk/2.0/codegen/override.py
+share/pygtk/2.0/codegen/override.pyc
+share/pygtk/2.0/codegen/override.pyo
+share/pygtk/2.0/codegen/scmexpr.py
+share/pygtk/2.0/codegen/scmexpr.pyc
+share/pygtk/2.0/codegen/scmexpr.pyo
+share/pygtk/2.0/defs/atk-types.defs
+share/pygtk/2.0/defs/atk.defs
+share/pygtk/2.0/defs/gdk-types.defs
+share/pygtk/2.0/defs/gdk.defs
+share/pygtk/2.0/defs/gtk-extrafuncs.defs
+share/pygtk/2.0/defs/gtk-types.defs
+share/pygtk/2.0/defs/gtk.defs
+share/pygtk/2.0/defs/gtkgl.defs
+share/pygtk/2.0/defs/libglade.defs
+share/pygtk/2.0/defs/pango-types.defs
+share/pygtk/2.0/defs/pango.defs
+@dirrm share/pygtk/2.0/defs
+@dirrm share/pygtk/2.0/codegen
+@dirrm share/pygtk/2.0
+@unexec ${RMDIR} %D/share/pygtk 2>/dev/null || ${TRUE}
+@dirrm ${PYSITELIB}/gtk-2.0/gtk
+@dirrm ${PYSITELIB}/gtk-2.0
+@dirrm include/pygtk-2.0/pygtk
+@dirrm include/pygtk-2.0
diff --git a/x11/py-gtk2/buildlink2.mk b/x11/py-gtk2/buildlink2.mk
new file mode 100644
index 00000000000..045643bb2ea
--- /dev/null
+++ b/x11/py-gtk2/buildlink2.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/09 14:50:12 drochner Exp $
+
+.if !defined(PYGTK2_BUILDLINK2_MK)
+PYGTK2_BUILDLINK2_MK= # defined
+
+PYTHON_VERSION_REQD= 22pth
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_PACKAGES+= pygtk2
+BUILDLINK_DEPENDS.pygtk2?= ${PYPKGPREFIX}-gtk2>=1.99.16
+BUILDLINK_PKGSRCDIR.pygtk2?= ../../wip/py-gtk2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.pygtk2=${PYPKGPREFIX}-gtk2
+BUILDLINK_PREFIX.pygtk2_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.pygtk2+= include/pygtk-2.0/pygtk/pygtk.h
+BUILDLINK_FILES.pygtk2+= include/pygtk-2.0/pygobject.h
+BUILDLINK_FILES.pygtk2+= lib/pkgconfig/pygtk-2.0.pc
+
+.include "../../devel/libglade2/buildlink2.mk"
+.include "../../math/py-Numeric/buildlink2.mk"
+.include "../../x11/gtk2/buildlink2.mk"
+.include "../../wip/gtkglarea2/buildlink2.mk"
+
+BUILDLINK_TARGETS+= pygtk2-buildlink
+
+pygtk2-buildlink: _BUILDLINK_USE
+
+.endif # PYGTK2_BUILDLINK2_MK
diff --git a/x11/py-gtk2/distinfo b/x11/py-gtk2/distinfo
new file mode 100644
index 00000000000..12030f55590
--- /dev/null
+++ b/x11/py-gtk2/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/09 14:50:12 drochner Exp $
+
+SHA1 (pygtk-1.99.16.tar.bz2) = b9291e2a7fc0fbd7c874cafc69d51cec69b2cba6
+Size (pygtk-1.99.16.tar.bz2) = 470299 bytes