summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview3/Makefile
blob: 3bad74d1fae2f5cc8c2707ca07442b80039dea6f (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: head/x11-toolkits/gtksourceview3/Makefile 316407 2013-04-24 07:35:40Z ak $
#   $MCom$

PORTNAME=   gtksourceview
PORTVERSION=    3.6.3
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
NO_STAGE=   yes

.if !defined(REFERENCE_PORT)

USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
USES=       gettext gmake pathfix
USE_GNOME=  gnomeprefix gtk30 intlhack libxml2 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