summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gtksourceview/Makefile
blob: ad658bc013fc022048197ff8464bdaabe1ac07d3 (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.8 2008/01/22 04:39:28 marcus Exp $
#

PORTNAME=   gtksourceview
PORTVERSION=    2.1.1
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   ${MASTER_SITE_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 gnometarget 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>