aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-dbus/Makefile
blob: 217a611b4af81c827884c3dcc1f8f7900ce43fab (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
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:   py-dbus
# Date Created:         25 July 2004
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTREVISION=   3
CATEGORIES= devel gnome python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Python interface to the D-BUS messaging system

BUILD_DEPENDS=  pyrexc:${PORTSDIR}/devel/pyrex
LIB_DEPENDS=    dbus-1.0:${PORTSDIR}/devel/dbus
RUN_DEPENDS=    pyrexc:${PORTSDIR}/devel/pyrex

MASTERDIR=  ${.CURDIR}/../dbus
BUILD_WRKSRC=   ${WRKSRC}/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

DBUS_SLAVE= yes

USE_GNOME=  gnomehack gnometarget
USE_PYTHON= yes
CONFIGURE_ARGS= --enable-python \
        --disable-gcj \
        --disable-mono \
        --disable-gtk \
        --with-system-pid-file=/var/run/dbus.pid \
        --with-system-socket=/var/run/dbus \
        --with-session-socket-dir=/var/tmp \
        --disable-doxygen-docs \
        --disable-xml-docs

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

.include "${MASTERDIR}/Makefile"