summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gnome2
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-22 04:48:34 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-22 04:48:34 +0800
commitc04bb3b86c59ec4c0d89fe1ed809a692b25a3217 (patch)
tree35058aad92b31f9f1829a08cd1fdb24f511ff971 /x11-toolkits/py-gnome2
parent8f987690c2c22088ef0b6f83923f07695ffd05ac (diff)
downloadmarcuscom-ports-c04bb3b86c59ec4c0d89fe1ed809a692b25a3217.tar
marcuscom-ports-c04bb3b86c59ec4c0d89fe1ed809a692b25a3217.tar.gz
marcuscom-ports-c04bb3b86c59ec4c0d89fe1ed809a692b25a3217.tar.bz2
marcuscom-ports-c04bb3b86c59ec4c0d89fe1ed809a692b25a3217.tar.lz
marcuscom-ports-c04bb3b86c59ec4c0d89fe1ed809a692b25a3217.tar.xz
marcuscom-ports-c04bb3b86c59ec4c0d89fe1ed809a692b25a3217.tar.zst
marcuscom-ports-c04bb3b86c59ec4c0d89fe1ed809a692b25a3217.zip
Update to 2.22.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11548 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/py-gnome2')
-rw-r--r--x11-toolkits/py-gnome2/Makefile51
-rw-r--r--x11-toolkits/py-gnome2/distinfo3
-rw-r--r--x11-toolkits/py-gnome2/files/patch-configure11
-rw-r--r--x11-toolkits/py-gnome2/pkg-descr10
-rw-r--r--x11-toolkits/py-gnome2/pkg-plist104
5 files changed, 179 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome2/Makefile b/x11-toolkits/py-gnome2/Makefile
new file mode 100644
index 000000000..228fcc833
--- /dev/null
+++ b/x11-toolkits/py-gnome2/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: py-gnome
+# Date created: 09 February 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= gnome
+PORTVERSION= 2.22.2
+CATEGORIES= x11-toolkits python gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-python/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= gnome-python-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A set of Python bindings for GNOME 2
+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
+
+LATEST_LINK= py-gnome2
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_PYTHON= yes
+USE_LDCONFIG= yes
+USE_GNOME= gnomehack libgnomeui pygtk2
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+EG_SRC_DIR= ${WRKSRC}/examples
+EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
+
+CONFLICTS= py*-gnome-1*
+
+.include <bsd.port.pre.mk>
+
+.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
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/py-gnome2/distinfo b/x11-toolkits/py-gnome2/distinfo
new file mode 100644
index 000000000..0ecf00a4d
--- /dev/null
+++ b/x11-toolkits/py-gnome2/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-python-2.22.2.tar.bz2) = e3237c337352e23bbee68b6e0b471dcc
+SHA256 (gnome2/gnome-python-2.22.2.tar.bz2) = 745ed93718408a5077279c32ac25887365bc607ada864ee886db31198f0a3508
+SIZE (gnome2/gnome-python-2.22.2.tar.bz2) = 588943
diff --git a/x11-toolkits/py-gnome2/files/patch-configure b/x11-toolkits/py-gnome2/files/patch-configure
new file mode 100644
index 000000000..0f477bfef
--- /dev/null
+++ b/x11-toolkits/py-gnome2/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2007-12-26 11:53:20.000000000 +0100
++++ configure 2007-12-26 11:56:25.000000000 +0100
+@@ -19694,7 +19694,7 @@
+ save_CC="$CC"
+ save_LIBS="$LIBS"
+
+-PYTHON_EMBED_LIBS="-L${PYTHON_LIBDIR} ${PYTHON_LIB_DEPS} -lpython${PYTHON_VERSION}"
++PYTHON_EMBED_LIBS="-L${py_prefix}/lib/ ${PYTHON_LIB_DEPS} -lpython${PYTHON_VERSION} ${PTHREAD_LIBS}"
+
+ CC="$PYTHON_CC"
+ LIBS="$LIBS $PYTHON_EMBED_LIBS"
diff --git a/x11-toolkits/py-gnome2/pkg-descr b/x11-toolkits/py-gnome2/pkg-descr
new file mode 100644
index 000000000..422d464c6
--- /dev/null
+++ b/x11-toolkits/py-gnome2/pkg-descr
@@ -0,0 +1,10 @@
+Excerpt from the README:
+
+ PyGNOME -- Python bindings for GNOME 2
+ ======================================
+ Author: James Henstridge <james@daa.com.au>
+
+ This is a set of bindings for the GNOME 2 libraries for use with python.
+
+WWW: http://www.pygtk.org/
+-- Jacques Vidrine <nectar@FreeBSD.ORG>
diff --git a/x11-toolkits/py-gnome2/pkg-plist b/x11-toolkits/py-gnome2/pkg-plist
new file mode 100644
index 000000000..54bab3102
--- /dev/null
+++ b/x11-toolkits/py-gnome2/pkg-plist
@@ -0,0 +1,104 @@
+include/gnome-python-2.0/pygnomevfs.h
+include/gnome-python-2.0/pygnomevfsbonobo.h
+lib/gnome-vfs-2.0/modules/libpythonmethod.la
+lib/gnome-vfs-2.0/modules/libpythonmethod.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/_bonobo.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/_bonobo.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/activation.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/activation.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/ui.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/ui.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gconf.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gconf.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/_gnome.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/_gnome.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/canvas.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/canvas.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/canvas.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/ui.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/ui.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/vfs.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/vfs.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/vfs.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomecanvas.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomecanvas.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/_gnomevfs.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/_gnomevfs.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/gnomevfsbonobo.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/gnomevfsbonobo.so
+libdata/pkgconfig/gnome-python-2.0.pc
+%%PORTDOCS%%share/examples/py-gnome/bonobo/bonobo-application.py
+%%PORTDOCS%%share/examples/py-gnome/bonobo/bonoboui/Bonobo_Sample_Hello.xml
+%%PORTDOCS%%share/examples/py-gnome/bonobo/bonoboui/hello.py
+%%PORTDOCS%%share/examples/py-gnome/bonobo/echo/README
+%%PORTDOCS%%share/examples/py-gnome/bonobo/echo/echo-client.py
+%%PORTDOCS%%share/examples/py-gnome/bonobo/unknown.py
+%%PORTDOCS%%share/examples/py-gnome/bug-buddy-integration.py
+%%PORTDOCS%%share/examples/py-gnome/canvas/canvas-curve.py
+%%PORTDOCS%%share/examples/py-gnome/canvas/canvas-example.py
+%%PORTDOCS%%share/examples/py-gnome/gconf/basic-gconf-app.py
+%%PORTDOCS%%share/examples/py-gnome/gconf/simple-controller.py
+%%PORTDOCS%%share/examples/py-gnome/gconf/simple-view.py
+%%PORTDOCS%%share/examples/py-gnome/popt/popt.py
+%%PORTDOCS%%share/examples/py-gnome/vfs/async-xfer.py
+%%PORTDOCS%%share/examples/py-gnome/vfs/async.py
+%%PORTDOCS%%share/examples/py-gnome/vfs/cancellation.py
+%%PORTDOCS%%share/examples/py-gnome/vfs/pygvfsmethod/README
+%%PORTDOCS%%share/examples/py-gnome/vfs/pygvfsmethod/pyfs.conf
+%%PORTDOCS%%share/examples/py-gnome/vfs/pygvfsmethod/pyfs.py
+%%PORTDOCS%%share/examples/py-gnome/vfs/shell.py
+%%PORTDOCS%%share/examples/py-gnome/vfs/sync-xfer.py
+share/gtk-doc/html/pygnomevfs/class-gnomevfs-context.html
+share/gtk-doc/html/pygnomevfs/class-gnomevfs-directoryhandle.html
+share/gtk-doc/html/pygnomevfs/class-gnomevfs-drive.html
+share/gtk-doc/html/pygnomevfs/class-gnomevfs-fileinfo.html
+share/gtk-doc/html/pygnomevfs/class-gnomevfs-handle.html
+share/gtk-doc/html/pygnomevfs/class-gnomevfs-uri.html
+share/gtk-doc/html/pygnomevfs/class-gnomevfs-volume.html
+share/gtk-doc/html/pygnomevfs/gnomevfs-class-reference.html
+share/gtk-doc/html/pygnomevfs/gnomevfs-constants.html
+share/gtk-doc/html/pygnomevfs/gnomevfs-functions.html
+share/gtk-doc/html/pygnomevfs/index.html
+share/gtk-doc/html/pygnomevfs/index.sgml
+share/gtk-doc/html/pygnomevfs/pygnomevfs.devhelp
+share/pygtk/2.0/argtypes/bonobo-arg-types.py
+share/pygtk/2.0/argtypes/bonobo-arg-types.pyc
+share/pygtk/2.0/argtypes/bonobo-arg-types.pyo
+share/pygtk/2.0/argtypes/gconf-arg-types.py
+share/pygtk/2.0/argtypes/gconf-arg-types.pyc
+share/pygtk/2.0/argtypes/gconf-arg-types.pyo
+share/pygtk/2.0/defs/bonobo-types.defs
+share/pygtk/2.0/defs/bonobo.defs
+share/pygtk/2.0/defs/bonoboui-types.defs
+share/pygtk/2.0/defs/bonoboui.defs
+share/pygtk/2.0/defs/canvas.defs
+share/pygtk/2.0/defs/gconf.defs
+share/pygtk/2.0/defs/gnome-types.defs
+share/pygtk/2.0/defs/gnome.defs
+share/pygtk/2.0/defs/ui.defs
+@dirrmtry share/pygtk/2.0/argtypes
+@dirrm share/gtk-doc/html/pygnomevfs
+@dirrmtry share/gtk-doc/html
+@dirrmtry share/gtk-doc
+%%PORTDOCS%%@dirrm share/examples/py-gnome/vfs/pygvfsmethod
+%%PORTDOCS%%@dirrm share/examples/py-gnome/vfs
+%%PORTDOCS%%@dirrm share/examples/py-gnome/popt
+%%PORTDOCS%%@dirrm share/examples/py-gnome/gconf
+%%PORTDOCS%%@dirrm share/examples/py-gnome/canvas
+%%PORTDOCS%%@dirrm share/examples/py-gnome/bonobo/echo
+%%PORTDOCS%%@dirrm share/examples/py-gnome/bonobo/bonoboui
+%%PORTDOCS%%@dirrm share/examples/py-gnome/bonobo
+%%PORTDOCS%%@dirrm share/examples/py-gnome
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gnome
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo
+@dirrm include/gnome-python-2.0