1 # Created by: Koop Mast <kwm@FreeBSD.org>
7 CATEGORIES= devel gnome
11 MAINTAINER= gnome@FreeBSD.org
12 COMMENT?= Next evolution of the Gedit plugins engine
14 BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
18 .if ${LIBPEAS_SLAVE} == no
19 PORTSCOUT= limitw:1,even
21 LIB_DEPENDS+= libpeas-1.0.so:${PORTSDIR}/devel/libpeas
25 USES= gettext gmake libtool pathfix pkgconfig tar:xz
26 USE_GNOME= gtk30 intlhack introspection:build
30 CPPFLAGS+= -I${LOCALBASE}/include
31 LIBS+= -L${LOCALBASE}/lib
32 INSTALL_TARGET= install-strip
33 CONFIGURE_ARGS+=--disable-glade-catalog
34 PLIST= ${.CURDIR}/pkg-plist
36 .if ${LIBPEAS_SLAVE} == python2
38 USE_GNOME+= pygobject3
40 CONFIGURE_ARGS+= --disable-python2
43 .if ${LIBPEAS_SLAVE} == python3
45 USE_GNOME+= py3gobject3
47 CONFIGURE_ARGS+= --disable-python3
50 # lua needs lua 5.1 and devel/lua-lgi. The latter is build for lua 5.2 however..
51 CONFIGURE_ARGS+= --disable-lua5.1 --disable-luajit
53 .include <bsd.port.mk>