blob: 236242237ec51112ebe19014c360b11ed24959d1 (
plain) (
tree)
|
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/devel/py-gobject3/Makefile 18610 2013-06-30 16:33:05Z marcus $
PORTNAME= gobject
PORTVERSION= 3.8.1
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= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
NO_STAGE= yes
LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}3
USE_XZ= yes
USES= gmake pathfix pkgconfig
USE_GNOME= glib20 introspection
USE_PYTHON= 2.6+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
# this port doesn't work with py-gobject < 2.28.6_2, clungle below
CONFLICTS= py*-gtk-0* py*-gobject-2.*.[0-6] py*-gobject-2.*.[7-9] \
py*-gobject-2.*.6_1
PLIST_SUB= PYTHON_VER="${PYTHON_VER}" ARCH=${ARCH} UNAME_R=${UNAME_R} \
VERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
UNAME_R!= ${UNAME} -r
post-patch:
@${REINPLACE_CMD} -e 's|SUBDIRS = examples gi tests|SUBDIRS = examples gi|g' \
${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
|