summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview3/Makefile
blob: 40d4088a5a46a06dac6e50e7ea848190b39df626 (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
40
41
# New ports collection makefile for:    gtksourceview
# Date created:             07 May 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-toolkits/gtksourceview3/Makefile,v 1.20 2011/11/03 21:31:52 kwm Exp $
#

PORTNAME=   gtksourceview
PORTVERSION=    3.4.2
PORTREVISION?=  0
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   GNOME
PKGNAMESUFFIX=  3
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A text widget that adds syntax highlighting to the GtkTextView widget

USE_XZ=     yes

.if !defined(REFERENCE_PORT)

USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
USE_GNOME=  gnomeprefix gnomehack gtk30 libxml2 intlhack \
        ltverhack referencehack
CONFIGURE_ARGS= --enable-compile-warnings=no --enable-glade-catalog=no \
        --enable-introspection
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|--warn-all||g' \
        ${WRKSRC}/gtksourceview/Makefile.in

.include <bsd.port.mk>

.endif