aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview3/Makefile
blob: 5abc63887a26590aea788b0933172ac5844d6750 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/x11-toolkits/gtksourceview3/Makefile,v 1.21 2012/05/31 11:57:38 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_GMAKE=  yes
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
USES=       pathfix gettext
USE_GNOME=  gnomeprefix 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