summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-gtk2/Makefile59
-rw-r--r--x11-toolkits/py-gtk2/distinfo2
-rw-r--r--x11-toolkits/py-gtk2/files/patch-configure10
-rw-r--r--x11-toolkits/py-gtk2/files/patch-ltmain.sh19
-rw-r--r--x11-toolkits/py-gtk2/pkg-descr10
-rw-r--r--x11-toolkits/py-gtk2/pkg-plist152
6 files changed, 252 insertions, 0 deletions
diff --git a/x11-toolkits/py-gtk2/Makefile b/x11-toolkits/py-gtk2/Makefile
new file mode 100644
index 000000000..97e70307e
--- /dev/null
+++ b/x11-toolkits/py-gtk2/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: py-gtk2
+# Date created: 08/13/2002
+# Whom: marc@informatik.uni-bremen.de
+#
+# $FreeBSD$
+
+PORTNAME= gtk
+PORTVERSION= 2.3.90
+CATEGORIES= x11-toolkits python
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/pygtk/2.3
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pygtk-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A set of Python bindings for GTK
+
+RUN_DEPENDS= ${PYNUMERIC}
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnometarget libglade2
+USE_PYTHON= yes
+USE_LIBTOOL_VER=13
+
+EG_SRC_DIR= ${WRKSRC}/examples
+EG_DST_DIR= ${PREFIX}/share/examples/py-gtk
+
+CONFLICTS= py*-gtk-0*
+
+#
+# Use the same way as the Python port to determine if we want
+# threading support.
+#
+.if !defined(WITHOUT_THREADS)
+CONFIGURE_ARGS+= --enable-thread
+CFLAGS+= ${PTHREAD_CFLAGS}
+CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
+.else
+CONFIGURE_ARGS+= --disable-thread
+.if defined(LDFLAGS)
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+.endif
+.endif
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${EG_DST_DIR}
+ ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
+ ${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0555
+ ${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
+ ${MKDIR} ${PREFIX}/share/doc/py-gtk
+ ${INSTALL_DATA} ${WRKSRC}/MAPPING ${PREFIX}/share/doc/py-gtk
+ ${INSTALL_DATA} ${WRKSRC}/THREADS ${PREFIX}/share/doc/py-gtk
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/py-gtk2/distinfo b/x11-toolkits/py-gtk2/distinfo
new file mode 100644
index 000000000..b8e395336
--- /dev/null
+++ b/x11-toolkits/py-gtk2/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/pygtk-2.3.90.tar.bz2) = fc2dc2be3bcaa7c00c87dfcc2176ef26
+SIZE (gnome2/pygtk-2.3.90.tar.bz2) = 561781
diff --git a/x11-toolkits/py-gtk2/files/patch-configure b/x11-toolkits/py-gtk2/files/patch-configure
new file mode 100644
index 000000000..db094d10b
--- /dev/null
+++ b/x11-toolkits/py-gtk2/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Sun Mar 23 21:43:20 2003
++++ configure Sun Mar 23 21:43:42 2003
+@@ -7958,6 +7958,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/x11-toolkits/py-gtk2/files/patch-ltmain.sh b/x11-toolkits/py-gtk2/files/patch-ltmain.sh
new file mode 100644
index 000000000..7cefa767e
--- /dev/null
+++ b/x11-toolkits/py-gtk2/files/patch-ltmain.sh
@@ -0,0 +1,19 @@
+--- ltmain.sh.orig Sun Mar 23 21:36:18 2003
++++ ltmain.sh Sun Mar 23 21:38:57 2003
+@@ -1085,8 +1085,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
diff --git a/x11-toolkits/py-gtk2/pkg-descr b/x11-toolkits/py-gtk2/pkg-descr
new file mode 100644
index 000000000..20d9d60c6
--- /dev/null
+++ b/x11-toolkits/py-gtk2/pkg-descr
@@ -0,0 +1,10 @@
+Excerpt from the README:
+
+ PyGTK
+ =====
+ Author: James Henstridge <james@daa.com.au>
+
+ This archive contains modules that allow you to use gtk in Python
+ programs. At present, it is a fairly complete set of bindings.
+
+-- Jacques Vidrine <nectar@FreeBSD.ORG>
diff --git a/x11-toolkits/py-gtk2/pkg-plist b/x11-toolkits/py-gtk2/pkg-plist
new file mode 100644
index 000000000..3aa45c319
--- /dev/null
+++ b/x11-toolkits/py-gtk2/pkg-plist
@@ -0,0 +1,152 @@
+bin/pygtk-codegen-2.0
+include/pygtk-2.0/pygobject.h
+include/pygtk-2.0/pygtk/pygtk.h
+%%PYTHON_SITELIBDIR%%/gtk-2.0/atk.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/_gtk.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/compat.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/compat.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/compat.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/glade.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/keysyms.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/keysyms.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/keysyms.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/pango.so
+%%PYTHON_SITELIBDIR%%/pygtk.pth
+%%PYTHON_SITELIBDIR%%/pygtk.py
+%%PYTHON_SITELIBDIR%%/pygtk.pyc
+%%PYTHON_SITELIBDIR%%/pygtk.pyo
+libdata/pkgconfig/pygtk-2.0.pc
+%%PORTDOCS%%share/doc/py-gtk/MAPPING
+%%PORTDOCS%%share/doc/py-gtk/THREADS
+%%PORTDOCS%%share/examples/py-gtk/atk/atk-demo.py
+%%PORTDOCS%%share/examples/py-gtk/glade/README
+%%PORTDOCS%%share/examples/py-gtk/glade/glade-demo.py
+%%PORTDOCS%%share/examples/py-gtk/glade/test.glade
+%%PORTDOCS%%share/examples/py-gtk/gobject/properties.py
+%%PORTDOCS%%share/examples/py-gtk/gobject/signal.py
+%%PORTDOCS%%share/examples/py-gtk/gtk/filechooser.py
+%%PORTDOCS%%share/examples/py-gtk/ide/README
+%%PORTDOCS%%share/examples/py-gtk/ide/break.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/browse.py
+%%PORTDOCS%%share/examples/py-gtk/ide/continue.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/edit.py
+%%PORTDOCS%%share/examples/py-gtk/ide/edit.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/gtkcons.py
+%%PORTDOCS%%share/examples/py-gtk/ide/gtkdb.py
+%%PORTDOCS%%share/examples/py-gtk/ide/gtkprof.py
+%%PORTDOCS%%share/examples/py-gtk/ide/minibreak.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/next.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/pyide.py
+%%PORTDOCS%%share/examples/py-gtk/ide/quit.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/return.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/run.xpm
+%%PORTDOCS%%share/examples/py-gtk/ide/step.xpm
+%%PORTDOCS%%share/examples/py-gtk/neil/README
+%%PORTDOCS%%share/examples/py-gtk/neil/TAppli.py
+%%PORTDOCS%%share/examples/py-gtk/neil/TAppli2.py
+%%PORTDOCS%%share/examples/py-gtk/neil/TAppli3.py
+%%PORTDOCS%%share/examples/py-gtk/neil/TAppli4.py
+%%PORTDOCS%%share/examples/py-gtk/neil/TAppli5.py
+%%PORTDOCS%%share/examples/py-gtk/neil/bomb.xpm
+%%PORTDOCS%%share/examples/py-gtk/neil/gtk-logo.xpm
+%%PORTDOCS%%share/examples/py-gtk/neil/notebook.py
+%%PORTDOCS%%share/examples/py-gtk/neil/question.xpm
+%%PORTDOCS%%share/examples/py-gtk/pango/utf8-demo.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/__init__.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/appwindow.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/buttonbox.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/colorsel.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/dialogs.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/dnd.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/dndpixmap.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/editable_cells.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/itemfactory.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/list_store.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/menu.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/panes.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/sizegroup.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/stock_browser.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/toolbar.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/demos/treemodel.py
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/gtk-logo-rgb.gif
+%%PORTDOCS%%share/examples/py-gtk/pygtk-demo/pygtk-demo.py
+%%PORTDOCS%%share/examples/py-gtk/simple/README
+%%PORTDOCS%%share/examples/py-gtk/simple/dnd.py
+%%PORTDOCS%%share/examples/py-gtk/simple/dndpixmap.py
+%%PORTDOCS%%share/examples/py-gtk/simple/hello.py
+%%PORTDOCS%%share/examples/py-gtk/simple/scribble.py
+%%PORTDOCS%%share/examples/py-gtk/simple/simple.py
+%%PORTDOCS%%share/examples/py-gtk/simple/tooltip.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/__init__.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/__init__.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/__init__.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/argtypes.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/argtypes.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/argtypes.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/codegen.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/codegen.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/codegen.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/definitions.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/definitions.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/definitions.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/defsparser.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/defsparser.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/defsparser.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/docextract.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/docextract.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/docextract.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/docgen.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/docgen.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/docgen.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/h2def.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/h2def.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/h2def.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/mergedefs.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/mergedefs.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/mergedefs.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/mkskel.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/mkskel.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/mkskel.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/override.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/override.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/override.pyo
+%%PORTDOCS%%share/pygtk/2.0/codegen/scmexpr.py
+%%PORTDOCS%%share/pygtk/2.0/codegen/scmexpr.pyc
+%%PORTDOCS%%share/pygtk/2.0/codegen/scmexpr.pyo
+%%PORTDOCS%%share/pygtk/2.0/defs/atk-types.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/atk.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/gdk-types.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/gdk.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/gtk-extrafuncs.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/gtk-types.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/gtk.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/libglade.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/pango-types.defs
+%%PORTDOCS%%share/pygtk/2.0/defs/pango.defs
+%%PORTDOCS%%@dirrm share/pygtk/2.0/defs
+%%PORTDOCS%%@dirrm share/pygtk/2.0/codegen
+%%PORTDOCS%%@dirrm share/pygtk/2.0
+%%PORTDOCS%%@dirrm share/pygtk
+%%PORTDOCS%%@dirrm share/examples/py-gtk/simple
+%%PORTDOCS%%@dirrm share/examples/py-gtk/pygtk-demo/demos
+%%PORTDOCS%%@dirrm share/examples/py-gtk/pygtk-demo
+%%PORTDOCS%%@dirrm share/examples/py-gtk/pango
+%%PORTDOCS%%@dirrm share/examples/py-gtk/neil
+%%PORTDOCS%%@dirrm share/examples/py-gtk/ide
+%%PORTDOCS%%@dirrm share/examples/py-gtk/gtk
+%%PORTDOCS%%@dirrm share/examples/py-gtk/gobject
+%%PORTDOCS%%@dirrm share/examples/py-gtk/glade
+%%PORTDOCS%%@dirrm share/examples/py-gtk/atk
+%%PORTDOCS%%@dirrm share/examples/py-gtk
+%%PORTDOCS%%@dirrm share/doc/py-gtk
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gtk
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0
+@dirrm include/pygtk-2.0/pygtk
+@dirrm include/pygtk-2.0