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

PORTNAME=   gtksourceview
PORTVERSION=    3.12.2
PORTREVISION=   1
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 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
INSTALL_TARGET= install-strip

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

.include <bsd.port.mk>

.endif