summaryrefslogtreecommitdiffstats
path: root/devel/py-gobject/Makefile
blob: bbffcc99842e3153c233f78ec611f2e0009d8bd0 (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
# New ports collection makefile for:    py-gobject
# Date created:             10 January 2006
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/py-gobject/Makefile,v 1.33 2009/08/15 05:33:00 marcus Exp $
#

PORTNAME=   gobject
PORTVERSION=    2.19.0
PORTREVISION=   2
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=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Python bindings for GObject

LIB_DEPENDS=    girepository-1.0.0:${PORTSDIR}/devel/gobject-introspection

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack glib20
USE_PYTHON= yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --disable-docs

CONFLICTS=  py*-gtk-0*
PLIST_SUB=  PYTHON_VER="${PYTHON_VER}"

post-install:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
        ${PREFIX}/share/pygobject/2.0/codegen

.include <bsd.port.mk>