aboutsummaryrefslogblamecommitdiff
path: root/x11-toolkits/vte3/Makefile
blob: 4160d9bb235552c6079ced5135542726e4d438a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                    
 

                      
                                  

                     

                      
                                 
                                                                            
 

                                               
                                                        
 



                                                                          

                   
                                                                
                                      
                                  
                                        
                                  
                                   
                             
 
                            


                              

                                                                          

      


                                                                  
                                                
                                                                          


                                                                   





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

PORTNAME=	vte
PORTVERSION=	0.42.3
CATEGORIES=	x11-toolkits gnome
MASTER_SITES=	GNOME
PKGNAMESUFFIX=	3
DIST_SUBDIR=	gnome3

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Terminal widget with improved accessibility and I18N support

BUILD_DEPENDS+= vapigen:${PORTSDIR}/lang/vala \
		bash:${PORTSDIR}/shells/bash
LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls

PORTSCOUT=	limitw:1,even

USES=		bison compiler:c++0x gettext gmake gnome libtool pathfix \
		pkgconfig tar:xz
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
USE_GNOME?=	gtk30 intltool referencehack introspection:build
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib
CONFIGURE_ARGS=	--enable-introspection \
		--disable-static \
		--disable-Bsymbolic
INSTALL_TARGET=	install-strip

PLIST_SUB=	VERSION=2.91

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 || ${OPSYS} == DragonFly
LIBS+=	-lz
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
		${WRKSRC}/src/Makefile.in
# zlib.pc only is available on 10.1-R and newer.
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 || ${OPSYS} == DragonFly
	@${REINPLACE_CMD} -e 's|gio-unix-2.0 zlib|gio-unix-2.0|g' \
		${WRKSRC}/configure
.endif
# borrowed osversion from bsd.ssp.mk
.if ${OSVERSION} < 1000036 && ${ARCH} == i386
	@${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \
		s|-fstack-protector||g' \
		${WRKSRC}/configure
.endif

.include <bsd.port.mk>