diff options
-rw-r--r-- | devel/py-dbus/Makefile | 55 | ||||
-rw-r--r-- | devel/py-dbus/distinfo | 2 | ||||
-rw-r--r-- | devel/py-dbus/pkg-descr | 3 | ||||
-rw-r--r-- | devel/py-dbus/pkg-plist | 94 |
4 files changed, 154 insertions, 0 deletions
diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile new file mode 100644 index 000000000..d425e8cc1 --- /dev/null +++ b/devel/py-dbus/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: py-dbus +# Date Created: 25 July 2004 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/devel/py-dbus/Makefile,v 1.42 2011/09/13 16:11:22 kwm Exp $ +# $MCom: ports/devel/py-dbus/Makefile,v 1.14 2011/08/11 19:48:46 kwm Exp $ +# + +PORTNAME= dbus +PORTVERSION= 1.1.0 +CATEGORIES= devel gnome python +MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-python-${PORTVERSION} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Python bindings for the D-BUS messaging system + +LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib + +USE_GETTEXT= yes +USE_GNOME= gnomehack +USE_PYTHON= yes +USE_GMAKE= yes +USE_AUTOTOOLS= libtool +CPPFLAGS+= -I${PYTHON_INCLUDEDIR} +CONFIGURE_ARGS= --docdir=${DOCSDIR} \ + --disable-api-docs + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/rst2html) && !defined(NOPORTDOCS) +PLIST_SUB+= HTML="" +.else +CONFIGURE_ARGS+=--disable-html-docs +PLIST_SUB+= HTML="@comment " +.endif + +post-patch: +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e 's|HEADERS install-dist_docDATA|HEADERS|g ; \ + s|PYTHON install-nodist_docDATA|PYTHON|g' \ + ${WRKSRC}/Makefile.in +.endif + +post-install: +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} && \ + ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-dbus/distinfo b/devel/py-dbus/distinfo new file mode 100644 index 000000000..21fb40628 --- /dev/null +++ b/devel/py-dbus/distinfo @@ -0,0 +1,2 @@ +SHA256 (dbus-python-1.1.0.tar.gz) = 2dc30b53cdb2e20f8d0265af3be878e9da68745cf9ccc72f75de869094c4fc60 +SIZE (dbus-python-1.1.0.tar.gz) = 588706 diff --git a/devel/py-dbus/pkg-descr b/devel/py-dbus/pkg-descr new file mode 100644 index 000000000..39ce5c24e --- /dev/null +++ b/devel/py-dbus/pkg-descr @@ -0,0 +1,3 @@ +Python bindings for the D-BUS interprocess messaging system. + +WWW: http://dbus.freedesktop.org/doc/dbus-python/ diff --git a/devel/py-dbus/pkg-plist b/devel/py-dbus/pkg-plist new file mode 100644 index 000000000..c5745b6a7 --- /dev/null +++ b/devel/py-dbus/pkg-plist @@ -0,0 +1,94 @@ +include/dbus-1.0/dbus/dbus-python.h +%%PYTHON_SITELIBDIR%%/_dbus_bindings.a +%%PYTHON_SITELIBDIR%%/_dbus_bindings.la +%%PYTHON_SITELIBDIR%%/_dbus_bindings.so +%%PYTHON_SITELIBDIR%%/_dbus_glib_bindings.a +%%PYTHON_SITELIBDIR%%/_dbus_glib_bindings.la +%%PYTHON_SITELIBDIR%%/_dbus_glib_bindings.so +%%PYTHON_SITELIBDIR%%/dbus/__init__.py +%%PYTHON_SITELIBDIR%%/dbus/__init__.pyc +%%PYTHON_SITELIBDIR%%/dbus/__init__.pyo +%%PYTHON_SITELIBDIR%%/dbus/_compat.py +%%PYTHON_SITELIBDIR%%/dbus/_compat.pyc +%%PYTHON_SITELIBDIR%%/dbus/_compat.pyo +%%PYTHON_SITELIBDIR%%/dbus/_dbus.py +%%PYTHON_SITELIBDIR%%/dbus/_dbus.pyc +%%PYTHON_SITELIBDIR%%/dbus/_dbus.pyo +%%PYTHON_SITELIBDIR%%/dbus/_expat_introspect_parser.py +%%PYTHON_SITELIBDIR%%/dbus/_expat_introspect_parser.pyc +%%PYTHON_SITELIBDIR%%/dbus/_expat_introspect_parser.pyo +%%PYTHON_SITELIBDIR%%/dbus/_version.py +%%PYTHON_SITELIBDIR%%/dbus/_version.pyc +%%PYTHON_SITELIBDIR%%/dbus/_version.pyo +%%PYTHON_SITELIBDIR%%/dbus/bus.py +%%PYTHON_SITELIBDIR%%/dbus/bus.pyc +%%PYTHON_SITELIBDIR%%/dbus/bus.pyo +%%PYTHON_SITELIBDIR%%/dbus/connection.py +%%PYTHON_SITELIBDIR%%/dbus/connection.pyc +%%PYTHON_SITELIBDIR%%/dbus/connection.pyo +%%PYTHON_SITELIBDIR%%/dbus/dbus_bindings.py +%%PYTHON_SITELIBDIR%%/dbus/dbus_bindings.pyc +%%PYTHON_SITELIBDIR%%/dbus/dbus_bindings.pyo +%%PYTHON_SITELIBDIR%%/dbus/decorators.py +%%PYTHON_SITELIBDIR%%/dbus/decorators.pyc +%%PYTHON_SITELIBDIR%%/dbus/decorators.pyo +%%PYTHON_SITELIBDIR%%/dbus/exceptions.py +%%PYTHON_SITELIBDIR%%/dbus/exceptions.pyc +%%PYTHON_SITELIBDIR%%/dbus/exceptions.pyo +%%PYTHON_SITELIBDIR%%/dbus/gi_service.py +%%PYTHON_SITELIBDIR%%/dbus/gi_service.pyc +%%PYTHON_SITELIBDIR%%/dbus/gi_service.pyo +%%PYTHON_SITELIBDIR%%/dbus/glib.py +%%PYTHON_SITELIBDIR%%/dbus/glib.pyc +%%PYTHON_SITELIBDIR%%/dbus/glib.pyo +%%PYTHON_SITELIBDIR%%/dbus/gobject_service.py +%%PYTHON_SITELIBDIR%%/dbus/gobject_service.pyc +%%PYTHON_SITELIBDIR%%/dbus/gobject_service.pyo +%%PYTHON_SITELIBDIR%%/dbus/lowlevel.py +%%PYTHON_SITELIBDIR%%/dbus/lowlevel.pyc +%%PYTHON_SITELIBDIR%%/dbus/lowlevel.pyo +%%PYTHON_SITELIBDIR%%/dbus/mainloop/__init__.py +%%PYTHON_SITELIBDIR%%/dbus/mainloop/__init__.pyc +%%PYTHON_SITELIBDIR%%/dbus/mainloop/__init__.pyo +%%PYTHON_SITELIBDIR%%/dbus/mainloop/glib.py +%%PYTHON_SITELIBDIR%%/dbus/mainloop/glib.pyc +%%PYTHON_SITELIBDIR%%/dbus/mainloop/glib.pyo +%%PYTHON_SITELIBDIR%%/dbus/proxies.py +%%PYTHON_SITELIBDIR%%/dbus/proxies.pyc +%%PYTHON_SITELIBDIR%%/dbus/proxies.pyo +%%PYTHON_SITELIBDIR%%/dbus/server.py +%%PYTHON_SITELIBDIR%%/dbus/server.pyc +%%PYTHON_SITELIBDIR%%/dbus/server.pyo +%%PYTHON_SITELIBDIR%%/dbus/service.py +%%PYTHON_SITELIBDIR%%/dbus/service.pyc +%%PYTHON_SITELIBDIR%%/dbus/service.pyo +%%PYTHON_SITELIBDIR%%/dbus/types.py +%%PYTHON_SITELIBDIR%%/dbus/types.pyc +%%PYTHON_SITELIBDIR%%/dbus/types.pyo +%%PYTHON_SITELIBDIR%%/dbus_bindings.py +%%PYTHON_SITELIBDIR%%/dbus_bindings.pyc +%%PYTHON_SITELIBDIR%%/dbus_bindings.pyo +libdata/pkgconfig/dbus-python.pc +%%PORTDOCS%%%%DOCSDIR%%/API_CHANGES.txt +%%HTML%%%%PORTDOCS%%%%DOCSDIR%%/API_CHANGES.html +%%PORTDOCS%%%%DOCSDIR%%/HACKING.txt +%%HTML%%%%PORTDOCS%%%%DOCSDIR%%/HACKING.html +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%HTML%%%%PORTDOCS%%%%DOCSDIR%%/NEWS.html +%%PORTDOCS%%%%DOCSDIR%%/PY3PORT.txt +%%PORTDOCS%%%%DOCSDIR%%/README +%%HTML%%%%PORTDOCS%%%%DOCSDIR%%/README.html +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%HTML%%%%PORTDOCS%%%%DOCSDIR%%/TODO.html +%%PORTDOCS%%%%DOCSDIR%%/tutorial.txt +%%HTML%%%%PORTDOCS%%%%DOCSDIR%%/tutorial.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-async-client.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-client.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-service.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-signal-emitter.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-signal-recipient.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/list-system-services.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/dbus/mainloop +@dirrm %%PYTHON_SITELIBDIR%%/dbus |