diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-06-04 02:46:18 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-06-04 02:46:18 +0800 |
commit | a6b12a111ff9f5f0cbb758adf842fab26c92987d (patch) | |
tree | 9cad744e262426f4104fe01987a4abd2e0fe42f3 /devel/py-dbus/Makefile | |
parent | 64271989d0808e017bf6d18d7fc2152b3508c4d6 (diff) | |
download | marcuscom-ports-a6b12a111ff9f5f0cbb758adf842fab26c92987d.tar marcuscom-ports-a6b12a111ff9f5f0cbb758adf842fab26c92987d.tar.gz marcuscom-ports-a6b12a111ff9f5f0cbb758adf842fab26c92987d.tar.bz2 marcuscom-ports-a6b12a111ff9f5f0cbb758adf842fab26c92987d.tar.lz marcuscom-ports-a6b12a111ff9f5f0cbb758adf842fab26c92987d.tar.xz marcuscom-ports-a6b12a111ff9f5f0cbb758adf842fab26c92987d.tar.zst marcuscom-ports-a6b12a111ff9f5f0cbb758adf842fab26c92987d.zip |
Add 0.84.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16025 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/py-dbus/Makefile')
-rw-r--r-- | devel/py-dbus/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile new file mode 100644 index 000000000..a2f840878 --- /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$ +# $MCom: ports/devel/py-dbus/Makefile,v 1.10 2010/03/14 12:28:57 kwm Exp $ +# + +PORTNAME= dbus +PORTVERSION= 0.84.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 gnometarget +USE_PYTHON= yes +USE_GMAKE= yes +USE_AUTOTOOLS= libtool +CONFIGURE_ENV= 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> |