blob: 2811a648366c199ab86a62c1e2e1c041e282af3d (
plain) (
tree)
|
|
# New ports collection makefile for: py-gobject
# Date created: 10 January 2006
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/devel/py-gobject3/Makefile,v 1.2 2011/09/17 11:48:17 kwm Exp $
#
PORTNAME= gobject
PORTVERSION= 3.0.0
CATEGORIES= devel python
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygobject-${PORTVERSION}
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Python bindings for GObject
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
USE_XZ= yes
USE_GMAKE= yes
USE_GNOME= gnomehack glib20
USE_PYTHON= 2.5+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFLICTS= py*-gtk-0* py*-gobject-2.*.[0-6]
PLIST_SUB= PYTHON_VER="${PYTHON_VER}"
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libffi.so)
LIB_DEPENDS+= ffi.5:${PORTSDIR}/devel/libffi
CONFIGURE_ARGS+=--with-ffi
.else
CONFIGURE_ARGS+=--without-ffi
.endif
.include <bsd.port.post.mk>
|