1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/py-dbus/Makefile
2007-03-20 22:11:54 +00:00

39 lines
1.0 KiB
Makefile

# 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.8 2007/03/01 05:52:46 marcus Exp $
PORTNAME= dbus
PORTVERSION= 0.80.2
PORTREVISION= 2
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_GNOME= gnomehack gnometarget
USE_PYTHON= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
.if defined(NOPORTDOCS)
@${RM} -rf ${PREFIX}/share/doc/dbus-python
.else
@${MV} ${PREFIX}/share/doc/dbus-python ${DOCSDIR} && \
${MKDIR} ${EXAMPLESDIR} && \
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>