summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview3/Makefile
blob: 237ccb51089c0426cd85af7bc2276eedc2eafa3e (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   gtksourceview
PORTVERSION=    3.12.2
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   GNOME
PKGNAMESUFFIX=  3
DIST_SUBDIR=    gnome3

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

.if !defined(REFERENCE_PORT)

USES+=      gettext gmake libtool:keepla pathfix pkgconfig tar:xz
USE_GNOME=  gnomeprefix gtk30 intlhack introspection:build \
        libxml2 referencehack
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
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