summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/py-gnome2/Makefile47
-rw-r--r--x11-toolkits/py-gnome2/distinfo2
-rw-r--r--x11-toolkits/py-gnome2/pkg-descr9
-rw-r--r--x11-toolkits/py-gnome2/pkg-plist59
4 files changed, 117 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome2/Makefile b/x11-toolkits/py-gnome2/Makefile
new file mode 100644
index 000000000..874c869e6
--- /dev/null
+++ b/x11-toolkits/py-gnome2/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: py-gnome
+# Date created: 09 February 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome
+PORTVERSION= 2.9.0
+CATEGORIES= x11-toolkits python gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-python/${PORTVERSION:C/..$//}
+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-orbit2
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit2
+
+LATEST_LINK= py-gnome2
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_PYTHON= yes
+USE_GNOME= gnomehack libgnomeprintui libgtkhtml gnomepanel \
+ nautilus2 pygtk2
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+EG_SRC_DIR= ${WRKSRC}/examples
+EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
+
+CONFLICTS= py*-gnome-1*
+
+.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.mk>
diff --git a/x11-toolkits/py-gnome2/distinfo b/x11-toolkits/py-gnome2/distinfo
new file mode 100644
index 000000000..a11f65312
--- /dev/null
+++ b/x11-toolkits/py-gnome2/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/gnome-python-2.9.0.tar.bz2) = f4bf6f20684b3a99a23285b4eb7c65b1
+SIZE (gnome2/gnome-python-2.9.0.tar.bz2) = 347430
diff --git a/x11-toolkits/py-gnome2/pkg-descr b/x11-toolkits/py-gnome2/pkg-descr
new file mode 100644
index 000000000..5b7963de2
--- /dev/null
+++ b/x11-toolkits/py-gnome2/pkg-descr
@@ -0,0 +1,9 @@
+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.
+
+-- 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..e608962f7
--- /dev/null
+++ b/x11-toolkits/py-gnome2/pkg-plist
@@ -0,0 +1,59 @@
+%%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.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/activation.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo/ui.so
+%%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.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/applet.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/applet.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/applet.pyo
+%%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.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.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs.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/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.py
+%%PORTDOCS%%share/examples/py-gnome/vfs/shell.py
+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/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
+%%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/gnome
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo