1 # Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
3 # $MCom: ports/trunk/x11-toolkits/vte3/Makefile 19957 2014-10-15 11:07:14Z gusi $
8 CATEGORIES= x11-toolkits gnome
10 MASTER_SITE_SUBDIR= sources/${PORTNAME:S/gnome-pty-helper/vte/}/${PORTVERSION:R}
11 DISTNAME= vte-${PORTVERSION}
15 MAINTAINER= gnome@FreeBSD.org
16 COMMENT?= Terminal widget with improved accessibility and I18N support
20 .if !defined(REFERENCE_PORT)
23 .if ${VTE3_SLAVE} != yes
24 BUILD_DEPENDS+= vapigen:${PORTSDIR}/lang/vala \
25 bash:${PORTSDIR}/shells/bash
26 RUN_DEPENDS+= ${LOCALBASE}/libexec/gnome-pty-helper:${PORTSDIR}/x11-toolkits/gnome-pty-helper
29 USES+= bison gettext gmake libtool pathfix pkgconfig
32 USE_GNOME?= gnomeprefix gtk30 referencehack introspection:build
33 CPPFLAGS+= -I${LOCALBASE}/include
34 LIBS+= -L${LOCALBASE}/lib
35 CONFIGURE_ARGS?=--disable-python \
37 --enable-introspection \
40 --disable-gnome-pty-helper \
41 --disable-freetypetest
42 INSTALL_TARGET= install-strip
44 PLIST_SUB= VERSION=2.91
46 .include <bsd.port.options.mk>
48 .if ${OSVERSION} < 900007
49 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnome-pty-helper_gnome-utmp.c
53 .if ${VTE3_SLAVE} != yes
54 @${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
55 ${WRKSRC}/src/Makefile.in
57 # borrowed osversion from bsd.ssp.mk
58 .if ${OSVERSION} < 1000036 && ${ARCH} == i386
59 @${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \
60 s|-fstack-protector||g' \
64 .include <bsd.port.mk>