diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-18 12:49:58 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-18 12:49:58 +0800 |
commit | b34b66d8cb1ce226731d1a8ac57fbbded06cc939 (patch) | |
tree | e24dcbfcb2738c26149b4c211f6d1143be862024 | |
parent | 10083da938899edd1b17c3ccf88b2d632082340a (diff) | |
download | marcuscom-ports-b34b66d8cb1ce226731d1a8ac57fbbded06cc939.tar marcuscom-ports-b34b66d8cb1ce226731d1a8ac57fbbded06cc939.tar.gz marcuscom-ports-b34b66d8cb1ce226731d1a8ac57fbbded06cc939.tar.bz2 marcuscom-ports-b34b66d8cb1ce226731d1a8ac57fbbded06cc939.tar.lz marcuscom-ports-b34b66d8cb1ce226731d1a8ac57fbbded06cc939.tar.xz marcuscom-ports-b34b66d8cb1ce226731d1a8ac57fbbded06cc939.tar.zst marcuscom-ports-b34b66d8cb1ce226731d1a8ac57fbbded06cc939.zip |
Update to 2.11.2. This port joins the ranks of those that could really
benefit from a unified ports PREFIX.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3981 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-toolkits/py-gnome2/Makefile | 51 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/files/patch-gnomevfs_Makefile.in | 11 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/pkg-descr | 9 | ||||
-rw-r--r-- | x11-toolkits/py-gnome2/pkg-plist | 65 |
5 files changed, 138 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome2/Makefile b/x11-toolkits/py-gnome2/Makefile new file mode 100644 index 000000000..b253b9499 --- /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: ports/x11-toolkits/py-gnome2/Makefile,v 1.80 2005/03/12 11:15:36 marcus Exp $ +# + +PORTNAME= gnome +PORTVERSION= 2.11.2 +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 libgnomeui pygtk2 +USE_LIBTOOL_VER=15 +USE_REINPLACE= yes +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* + +post-patch: + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \ + ${WRKSRC}/gnomevfs/Makefile.in + +.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..753259898 --- /dev/null +++ b/x11-toolkits/py-gnome2/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gnome-python-2.11.2.tar.bz2) = 3db86d8b0df4bb36e274f3a3aa8b5f0d +SIZE (gnome2/gnome-python-2.11.2.tar.bz2) = 372548 diff --git a/x11-toolkits/py-gnome2/files/patch-gnomevfs_Makefile.in b/x11-toolkits/py-gnome2/files/patch-gnomevfs_Makefile.in new file mode 100644 index 000000000..aee52c957 --- /dev/null +++ b/x11-toolkits/py-gnome2/files/patch-gnomevfs_Makefile.in @@ -0,0 +1,11 @@ +--- gnomevfs/Makefile.in.orig Wed May 18 00:36:24 2005 ++++ gnomevfs/Makefile.in Wed May 18 00:41:38 2005 +@@ -272,7 +272,7 @@ + vfs-handle.c pygnomevfs.h pygnomevfs-private.h vfs-xfer-progress-info.c \ + vfs-context.c vfs-async-handle.c vfs-volume.c vfs-drive.c vfs-volume-monitor.c + +-vfsmethoddir = $(libdir)/gnome-vfs-2.0/modules ++vfsmethoddir = %%X11BASE%%/lib/gnome-vfs-2.0/modules + @BUILD_PYVFSMODULE_FALSE@vfsmethod_LTLIBRARIES = + @BUILD_PYVFSMODULE_TRUE@vfsmethod_LTLIBRARIES = libpythonmethod.la + libpythonmethod_la_CFLAGS = $(GNOME_VFS_MODULE_CFLAGS) -DGNOME_VFS_PYTHON_DIR="\"$(vfsmethoddir)\"" 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..9934b8a76 --- /dev/null +++ b/x11-toolkits/py-gnome2/pkg-plist @@ -0,0 +1,65 @@ +%%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/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-xfer.py +%%PORTDOCS%%share/examples/py-gnome/vfs/async.py +%%PORTDOCS%%share/examples/py-gnome/vfs/cancellation.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 +%%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 +@cwd %%X11BASE%% +lib/gnome-vfs-2.0/modules/libpythonmethod.so |