# Created by: Joe Marcus Clarke # $FreeBSD: head/x11-toolkits/vte3/Makefile 412351 2016-04-01 14:33:55Z mat $ PORTNAME= vte PORTVERSION= 0.42.4 PORTREVISION= 1 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:lang/vala \ bash:shells/bash LIB_DEPENDS= libgnutls.so: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 .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