summaryrefslogtreecommitdiffstats
path: root/devel/py-dbus/Makefile
blob: 0da622f0a4403b44c4cd4d1455a750008363d349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:   py-dbus
# Date Created:         25 July 2004
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD: ports/devel/dbus/Makefile,v 1.52 2006/06/14 05:03:44 marcus Exp $
#

PORTNAME=   dbus
PORTVERSION=    0.71
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

BUILD_DEPENDS=  pyrexc:${PORTSDIR}/devel/pyrex
LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=    pyrexc:${PORTSDIR}/devel/pyrex \
            ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2

USE_PYTHON= yes
USE_GMAKE=  yes
USE_PYDISTUTILS=yes

post-install:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHONPREFIX_SITELIBDIR}/dbus
    @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHONPREFIX_SITELIBDIR}/dbus

.include <bsd.port.mk>