summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gtksourceview/Makefile
blob: c439eea82e7a08b745069ac1cb14bae935cc6b1a (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
# New ports collection makefile for:    py-gtksourceview
# Date created:             25 June 2007
# Whom:                 Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-toolkits/py-gtksourceview/Makefile,v 1.19 2009/08/18 03:43:07 ahze Exp $
#

PORTNAME=   gtksourceview
PORTVERSION=    2.8.0
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   GNOME
MASTER_SITE_SUBDIR= sources/pygtksourceview/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pygtksourceview-${PORTVERSION}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A python bindings for the version 2 of the GtkSourceView library

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gnomeprefix gtksourceview2 pygtk2
USE_PYTHON= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-docs

post-patch:
    @${REINPLACE_CMD} -e 's| == x| = x|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>