2004-07-27 02:18:49 +02:00
|
|
|
# New ports collection makefile for: py-dbus
|
|
|
|
# Date Created: 25 July 2004
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-06-14 07:03:44 +02:00
|
|
|
PORTREVISION= 0
|
2004-07-27 02:18:49 +02:00
|
|
|
CATEGORIES= devel gnome python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= Python interface to the D-BUS messaging system
|
|
|
|
|
2004-08-05 05:34:51 +02:00
|
|
|
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
|
2005-12-31 19:43:11 +01:00
|
|
|
LIB_DEPENDS= dbus-1.2:${PORTSDIR}/devel/dbus
|
2006-05-20 19:44:55 +02:00
|
|
|
RUN_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex \
|
|
|
|
${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
|
2004-07-27 02:18:49 +02:00
|
|
|
|
|
|
|
MASTERDIR= ${.CURDIR}/../dbus
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/python
|
|
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
|
2005-08-20 02:46:19 +02:00
|
|
|
NOT_FOR_ARCHS= ia64
|
|
|
|
|
2004-07-27 02:18:49 +02:00
|
|
|
DBUS_SLAVE= yes
|
|
|
|
|
|
|
|
USE_GNOME= gnomehack gnometarget
|
|
|
|
USE_PYTHON= yes
|
|
|
|
CONFIGURE_ARGS= --enable-python \
|
|
|
|
--disable-gcj \
|
|
|
|
--disable-mono \
|
2004-08-14 06:48:26 +02:00
|
|
|
--disable-mono-docs \
|
2004-07-27 02:18:49 +02:00
|
|
|
--disable-gtk \
|
2005-12-31 19:43:11 +01:00
|
|
|
--disable-qt3 \
|
2006-02-14 18:51:17 +01:00
|
|
|
--localstatedir=/var \
|
2006-04-28 03:37:06 +02:00
|
|
|
--with-system-pid-file=/var/run/dbus/dbus.pid \
|
|
|
|
--with-system-socket=/var/run/dbus/dbus.pipe \
|
2004-07-27 02:18:49 +02:00
|
|
|
--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"
|