diff options
-rw-r--r-- | x11-toolkits/py-gnome2/Makefile | 51 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/files/patch-configure | 11 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/pkg-descr | 10 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/pkg-plist | 88 |
5 files changed, 163 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome2/Makefile b/x11-toolkits/py-gnome2/Makefile new file mode 100644 index 000000000..25e491714 --- /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: ports/x11-toolkits/py-gnome2/Makefile,v 1.36 2006/09/04 22:22:09 ahze Exp $ +# + +PORTNAME= gnome +PORTVERSION= 2.17.1 +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..cdaeb192a --- /dev/null +++ b/x11-toolkits/py-gnome2/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-python-2.17.1.tar.bz2) = a11fa983a7d6d2b6adc5efec7ba3aaa8 +SHA256 (gnome2/gnome-python-2.17.1.tar.bz2) = b6b4f2f45f06d1af313efac1082ac905e95008f0d463558f83e9c7c466154e99 +SIZE (gnome2/gnome-python-2.17.1.tar.bz2) = 414580 diff --git a/x11-toolkits/py-gnome2/files/patch-configure b/x11-toolkits/py-gnome2/files/patch-configure new file mode 100644 index 000000000..21db26c6c --- /dev/null +++ b/x11-toolkits/py-gnome2/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Nov 6 02:40:04 2006 ++++ configure Mon Nov 6 02:40:26 2006 +@@ -19038,7 +19038,7 @@ + + 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}" + + LIBS="$LIBS $PYTHON_EMBED_LIBS" + cat >conftest.$ac_ext <<_ACEOF 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..69b886286 --- /dev/null +++ b/x11-toolkits/py-gnome2/pkg-plist @@ -0,0 +1,88 @@ +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/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 +@dirrm share/pygtk/2.0/argtypes +%%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 |