summaryrefslogblamecommitdiffstats
path: root/x11-toolkits/gtksourceview3/Makefile
blob: 9743889994c18ef33a16ffcfa45dabd87ec4c0c1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                    
           


                             
                      





                                  
                                                                                   
 

                      

                            
                                                       
                                                                
                                     
                   
                   


                                                                        
                                  
                             







                                                   
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   gtksourceview
PORTVERSION=    3.14.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

USES=       tar:xz

.if !defined(REFERENCE_PORT)

USES+=      gettext gmake libtool pathfix pkgconfig
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
LIBS+=      -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